Questions tagged [proj]

PROJ is a cartographic projections and coordinate transformations library

PROJ is an open-source coordinate transformation software that transforms geospatial coordinates from one coordinate reference system (CRS) to another. This includes cartographic projections as well as geodetic transformations.

Resources

256 questions
4
votes
1 answer

Proj.4 Java - convert coordinates from WGS84 to EPSG4141?

I am using the Proj.4 java library that can be found here And I am pretty much unsure on how can I implement a code that looks like this in Proj.4JS: // include the library //adjust the path for your…
Artemkller545
  • 979
  • 3
  • 21
  • 55
4
votes
2 answers

postgis / proj 900913 to 4326 projection issues with Y coordinate

this is an oldie, but i cannot seem to find a solution. When i want to do an st_transform on a 900913 coordinate to a 4326 system, the y coordinate shifts. example: SELECT AsText( Transform( Transform( GeomFromText( 'POINT( 449760.25168159…
EJatAND
  • 41
  • 1
  • 3
4
votes
1 answer

Error when running rails app incompatible library version rgeo proj4

When I run foreman start, I get this error: ~/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require': incompatible library version -…
Voska
  • 321
  • 1
  • 3
  • 12
4
votes
0 answers

'Cannot find proj_api.h header' when deploying proj4rb on heroku using custom buildpacks

Problem I'm trying to install the ruby gem proj4rb on heroku, which requires the proj_api header files of the PROJ.4 C library. Pushing to heroku, I get the following error (only relevant lines shown): Gem::Ext::BuildError: ERROR: Failed to…
Nicola
  • 41
  • 3
4
votes
2 answers

Convert ESRI projection coordinates to lat-lng

I have a large dataset of x,y coordinates in "NAD 1983 StatePlane Michigan South FIPS 2113 Feet" (aka ESRI 102690). I'd like to convert them to lat-lng points. In theory, this is something proj is built to handle, but the documentation hasn't given…
Matt Hampel
  • 5,088
  • 12
  • 52
  • 78
3
votes
1 answer

How Can I Use (Ruby) RGeo to Transform (Unproject) Coordinates

I started with How can I transform the coordinates of a Shapefile? . The response there started me on [what I think is] the right track, but I still haven't been able to solve my problem. One issue is that I haven't found the correct projection…
Larry
  • 664
  • 6
  • 9
3
votes
2 answers

(lat, lon) WKT coordinates do not reproject well with st_transform

I am having some issues importing a file with wkt multipoint features with SRID 4326, for which the coordinates are in order (lat, lon): >st_crs(4326) Coordinate Reference System: User input: EPSG:4326 wkt: GEOGCRS["WGS 84", DATUM["World…
3
votes
1 answer

Compile sqlite3-devel 3.35.4 on CentOS 7

I am trying to upgrade my sqlite3-devel to 3.35.4. I can download and install the sqlite binary for the standard sqlite3 program but I cannot find a way to get the development version of sqlite3 version 3.35.4. I need to update Proj to Proj8 which…
fvlasie
  • 73
  • 10
3
votes
2 answers

Regrid geostationary GOES satellite data to a cartesian grid

I am working with GOES satellite data, which is gridded in radians and has the standard projection of geostationary. I am aware of several methods that can reproject the data such that it can be plotted in a cartesian sense. However, I have not been…
Eli Turasky
  • 981
  • 2
  • 11
  • 28
3
votes
2 answers

How to solve `sf` installation error: proj_api.h not found in standard or given locations

I need to install sf package for R in CentOS 7. The repo versions of gdal and proj are less than the required for the package, so I installed them from source. Even linking those libraries I always get the same error: configure: GDAL: 3.2.0 checking…
Memochipan
  • 3,405
  • 5
  • 35
  • 60
3
votes
0 answers

How upgrade proj to 6.1 in OSGeo4W?

I wish to use the python library keplergl. This library use the library proj How to reported on proj site home, to install proj on Windows i must use OSGeo4W. but there is a problem, keplergl requirs proj 6.1: ERROR: Minimum supported proj version…
3
votes
1 answer

Construct cartopy CRS from proj4 parameters

I downloaded a MODIS .hdf file. Loading it with xarray, it gives me an attribute ds.Proj4String == ' +a=6378137.0 +b=6356752.3142451793 +no_defs +proj=latlong\n'. How can I use that string to convert the raw coordinates to e.g. lat/lon? This is…
doppler
  • 997
  • 5
  • 17
3
votes
0 answers

How to calculate tile coordinates based on location and crs for arcgis maps

I am working on a solution to download map tiles based on given location:(latitude, longitude) and zoom level Followed https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames The key concept is to convert (latitude, longitude) to tile reference,…
3
votes
3 answers

proj_api.h not found in standard or given locations

I am trying to install the sf package in a CentOS machine but I keep getting this error proj_api.h not found in standard or given locations Even though when I run locate proj_api.h it is found in /usr/local/include/proj_api.h
André Oviedo
  • 51
  • 1
  • 5
3
votes
1 answer

Problem with R package installation: sf; system library not found

I am trying to install the R package sf. It mentions the system dependencies GDAL, GEOS and PROJ.4. I have installed all of these using $sudo apt-get install libgdal-dev libgeos-dev libproj-dev proj-bin However sf still complains that it is missing…
Peter Lyko
  • 61
  • 1
  • 6
1 2
3
17 18