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
3
votes
1 answer

Raster Projection to UTM to Lat-Lon in R

I am a beginner in R. I have a rasterlayer and I want to change its coordinate reference system (from UTM to lan-lot). I have used the following code: r <-projectRaster(from = tiff, crs=crs("+proj=longlat +datum=WGS84 +no_defs +ellps=WGS84…
3
votes
1 answer

How to use proj4lefleat in react-leaflet?

I have a working react leaflet map that I need to re-define to hold a custom projection (ETRS89 / UTM zone 32N, EPSG:25832), since the default EPSG:3857 WMS request sent by Leaflet is producing a shifted map (so the city administration I am using…
JPA
  • 49
  • 1
  • 5
3
votes
0 answers

Proj4j projection results wildly inaccurate

I'm trying to use EquidistantAzimuthalProjection to get the latitude/longitude of a new location based on its relative distance and bearing to a known location. Here is my source code: import org.osgeo.proj4j.ProjCoordinate import…
tribbloid
  • 4,026
  • 14
  • 64
  • 103
3
votes
1 answer

Proj4Leaflet reprojection like in openlayers

I try to display several layers in own projections on base map also in it's own projection Below my working example implemented using OpenLayers + proj4 library var projection_name = 'EPSG:32610'; proj4.defs(projection_name, "+proj=utm +zone=10…
idreamussr
  • 69
  • 6
3
votes
1 answer

Azimuthal Equidistant projection anomalies

When projecting to the Azimuthal Equidistant projection in R's rgdal the results seem strange. Take this example: require(rgdal) require(maptools) data(wrld_simpl) azim_polar = '+proj=aeqd +lat_0=90 +lon_0=0' azim_orign = '+proj=aeqd +lat_0=0…
geotheory
  • 22,624
  • 29
  • 119
  • 196
3
votes
3 answers

How do I guess which geographic projection system is used for a dataset?

I have a bunch of shapefiles to convert to kml. I can open them, but I don't understand the coordinate systems they are in (nor was it provided by the creators). For instance, this should be a point on the border of the city of Amsterdam: 'x':…
silviot
  • 4,615
  • 5
  • 38
  • 51
3
votes
1 answer

WKT Equivalent of Local Projection

I am trying to use gdal to project some basic shapes from a number of local coordinate systems. These coordinate systems are supported by ArcGIS, but ultimately I am just tyring to use gdal(and proj4) to convert these geometries to basic lat/long…
BlairD
  • 31
  • 2
3
votes
0 answers

How setup a leaflet map to show a WMS layer in ESRI:102012 projection?

I have some layers on a wms server that are in ESRI:102012 srs. http://spatialreference.org/ref/esri/102012/ The server accepts getmap requests with EPSG:102012 srs. I'm using a proj4leaflet plugin to set the appropriate projection. But I'm stuck…
nextstopsun
  • 443
  • 7
  • 14
2
votes
1 answer

Library for raster cartographic transformations. 'Unprojected' to ANY

I have many raster (bitmap) images that I'd like to transform from unprojected lat-lon to a projected rendering. (e.g. GIF, PNG). I don't understand how to use PROJ.4 to render the resulting image. I'd like a library or software that can do this all…
unixman83
  • 9,421
  • 10
  • 68
  • 102
2
votes
1 answer

Recreate sumo projection

After converting osm file to sumo network I got this info
benzom
  • 23
  • 3
2
votes
1 answer

Migrating to proj API 6+ without forcing crs input

I'm posting this question here instead of gis.stackexchange.com because I think this is more of a programming question than a GIS question. The proj migration guide explains how to convert code to proj 6 and later by turning code that looked like…
josch
  • 6,716
  • 3
  • 41
  • 49
2
votes
0 answers

Error in sp::CRS(SRS_string = "EPSG:24547") : NA

I am encountering an issue related to assigning CRS in sp package If I run: sp::CRS(SRS_string='EPSG:4326') sp::CRS("+init=epsg:4326") I get respectively those two errors: Error in sp::CRS(SRS_string = "EPSG:4326") : NA Error in…
Mukhtar Abdi
  • 391
  • 1
  • 12
2
votes
0 answers

Mapping Spherical Topography to Geopandas and Cartopy (protein surface cartographic mapping)

I have been working on this problem for sometime and just cant seem to get it right. Essentially I want to map an arbitrary 3D surface to a sphere using cartography software (I am trying to do it with geopandas and cartopy) There is a code example…
Drewaight
  • 75
  • 4
2
votes
1 answer

GeoDjango installation attempt #5....the struggle continues

Using OSGeo4W install, version 2.579. I am installing GeoDjango on windows from GeoDjango Installation page. It hung up in the "Modify Windows environment" section: reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path…
heather
  • 113
  • 1
  • 12
2
votes
1 answer

Can't configure spatialite because it can't detect PROJ (libproj)

I need to install spatialite on my system and i am installing it from source i Got the source code as : wget https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.0.1.tar.gz (I have PROJ installed) then i am inside the…