A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

1
vote
2answers
37 views

How to define PROJ.4 string for GDAL projection

I'm doing some zonal computations in GDAL using the code posted in the solution here: Issue Trying to create Zonal Statistics using Gdal and Python. It runs fine for me using the example data posted ...
1
vote
0answers
59 views

How does OpenLayers 3 handle coordinates?

Ol3 always uses the flatCoordinates because obviously it needs 2d-coordinates as the screen is only 2-dimensional. But how does OL3 calculate the flat representation? For example if my view’s ...
0
votes
0answers
29 views

ogr2ogr re-projection produces empty shapefile

I use the following to re-project a shapefile to EPSG 4326 using ogr2ogr: ogr2ogr -s_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" -t_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" ...
3
votes
1answer
50 views

Local Ortho projection to Proj4

We are trying to use proj4 to project a local coordinate system to EPSG4326. We believe we have most of the string created correctly in QGIS and as follows; +proj=ortho +datum=WGS84 ...
1
vote
1answer
65 views

Georeferencing Old Mining Maps (Floetzkarte des Oberschlesische) in QGIS?

I am trying to georeference some old mining maps (Floetzkarte des Oberschlesische) in QGIS 2.9. I have already tried to do that by marking known points on present satelite photos, but the results were ...
0
votes
0answers
55 views

Change mbtiles projection with openlayers and proj4js

I've got mbtiles file whithin tileserver.php (klokantech) This file has got specific projection with in local coordinate system. +proj=tmerc +lat_0=0 +lon_0=49.05 +k=1 +x_0=2300001.7 ...
0
votes
0answers
189 views

Half-SOLVED : compilation of QGIS 2.8 against GRASS 7 from source with centos6.5

Not very clear how to set variables with ccmake in the QGIS project 2.8.1, but now I learn that library paths need to be complete, i.e. : Not : -DSPATIALITE_LIBRARY:string=/usr/local/lib But : ...
1
vote
1answer
37 views

How do I interpret this proj4string and why doesn't changing units change its resuls?

I'm new to GIS - I have a background in statistics. I have the following proj4string: '+proj=lcc +lat_1=40.66666666666666 +lat_2=41.03333333333333 +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000 ...
0
votes
1answer
60 views

Coordinate Transformation in Gdal/Ogr (EPSG:4326 to EPSG:3068)

I think gdal/ogr(/proj4) doesn't recognize epsg:3068 right? Here is what I tried: public static void transformSRS(){ // creating EPSG:4326 SpatialReference sourceSRS = new ...
1
vote
1answer
42 views

What is the proj4 for World Behrmann (54017)?

I have this in an old SDE database: ...
3
votes
1answer
24 views

Do I need to transform wind vectors when changing projection from EPSG4326 to EPSG24373?

I have a set of points and polygons given in "normal" lat/lon coordinates EPSG4326, which I need to transform to EPSG24373. I can do this without problem using PROJ4. However, I also have wind ...
0
votes
1answer
51 views

On load event for Leaflet proj4leaflet projected geoJSON layer

Can't find proper event for vector layer like on "load", to be fired when this layer is fuly rendered. I add vector features to a layer in Leaflet using proj4leaflet from JSON object like this var ...
0
votes
1answer
96 views

How to install proj4rb on Ubuntu 14.04?

I am trying to install proj4rb on Ubuntu 14.04. Three methods are provided in the README file, but they all fail. 1. Using gem $ gem install proj4rb Building native extensions. This could take a ...
0
votes
0answers
14 views

Reprojecting: Different results in OGR and PROJ.4 for EPSG24373 (India) [duplicate]

I need to convert EPSG4326 lon/lat tuples to EPSG24373 (Kalianpur 1880 / India zone III). However, when using the Python bindings of OGR and PROJ.4 (pyproj), I get different results. I wrote the ...
3
votes
1answer
105 views

PROJ.4 cs2cs is too slow. Alternative?

I use PROJ.4 cs2cs to convert data from a Lambert Conformal Conic to a geodetic coordinate (NAD83) or vice versa. In my application, sometimes I need to convert a lot of data. Because I call cs2cs ...
0
votes
0answers
250 views

How to convert between SWEREF99 TM (GRS80) and long-lat (WGS84) coordinate with JMapProjLib (Java version of Proj4)?

I'm making an android app which is reading SWEREF99 TM (GRS80) coordinates from a file, but I need to convert them to long-lat (WGS84) coordinates, and also in the oposite direction (WGS84 -> GRS80). ...
0
votes
0answers
82 views

Missing grid shift files for cs2cs.exe?

I'm trying to convert a coordinate to WGS84 degrees to NAD27 UTM on windows (vista 32 home basic), from python. I tried installing pyproj with no luck even after researching for a while; so decided ...
1
vote
3answers
74 views

Convert SRText To PROJ4TEXT

I'd like to convert the following for updating my spatial_ref_sys table. ...
4
votes
1answer
56 views

proj.4 definition for (obsolete) UK War Office “Italy South” grid

I'm helping a friend convert his late father's war diary coordinates to WGS84. I have a proj.4 definition that appears to work in QGIS, but if I transform a scanned map with gdalwarp, it's not even ...
3
votes
1answer
107 views

PROJ.4 - General Parameters: +no_defs

within a QGIS-course I would like to tell a bit about the proj.4 parameters. However, I´m not sure about the "+no_defs" parameter. The proj.4 website (https://trac.osgeo.org/proj/wiki/GenParms) ...
4
votes
1answer
454 views

Slight translation with coordinate-transformation from Gauss-Kruger to WGS 84. Possible Reasons?

I have a number of points in Gauss-Kruger, Zone 3 that I want to convert to display them within Google-Earth. Assuming WGS84 for Google-Earth the transformed coordinated differ from the original ones ...
2
votes
1answer
157 views

Definitive list of Proj4 supported coordinate systems

I need to determine the minimum set of coordinate systems supported by all tiers of my project's stack. I have a list of EPSG codes supported by Oracle and GeoServer but I'm having trouble finding a ...
1
vote
1answer
39 views

Unable to add features in QGIS 2.4.0

QGIS beginner problem. I can no longer create features with "Add Feature" in QGIS. The info triangle message is "Transform error caught: forward transform of (0.000000, 0.000000) PROJ.4: ...
3
votes
3answers
194 views

Proj4 String for NAD83(2011) / Louisiana South (ftUS)

I am trying to convert NAD83(2011) / Louisiana South (ftUS) coordinates on survey maps to lat/lon using Proj4 in Python. Could someone please point me in the right direction? I have verified the ...
2
votes
1answer
77 views

Proj4js: Is this correct implementation of Azimuthal Equidistant relative to an arbitrary center?

If I wanted to interpolate points along a Great Circle Arc, it makes sense that either endpoint of the Great Circle is a satisfactory starting place. Next, I suppose I'll need a projection to preserve ...
1
vote
1answer
80 views

WFS with EPSG:3301 projection using Leaflet

I am adding WFS points to Leaflet map, but don't see them on the map, however in console I see that all points I wanted is here with all properties and geometries. But the problem here is in ...
1
vote
2answers
369 views

Proj4js Problem in converting coordinates from google mercator

I am a really beginner into web-cartography, so sorry if this subject is rudimentary or basic but I truly search for a long time and I am still stick in it. So the problem is: I don't understand why ...
0
votes
0answers
9 views

Calculating z coordinate for longitude, latitude Google Map [duplicate]

I have a point (lon, lat) values. Is there any service to calculate Z coordinate of this point. Google service, OpenLayers service or others.
1
vote
1answer
198 views

Difference between ETRS89 / ETRS-TM32 and ETRS89 / UTM zone 32N

In QGIS I can choose among other things between "ETRS89 / ETRS-TM32" and "ETRS89 / UTM zone 32N". In my test project both projections displayed the layers at the very same place. So, where is the ...
2
votes
2answers
84 views

Custom projection problem with proj.4

I have some vector files that come without projection. So I have to define my own projection in QGIS. The information that comes with the data reads as following: Projection: Lambert Azimuthal Units: ...
1
vote
1answer
97 views

Why does the commands listgeo and gdalinfo don't show the same Proj4 Strings?

As the title says, why doesn't the unix tools listgeo and gdalinfo show the same proj4 strings? Check this file: ...
2
votes
1answer
148 views

Reprojecting MODIS Ice Sea Temperature products with gdalwarp

I have problems projecting MODIS Ice Sea Temperature (IST) products to EPSG:3031 (Antartic Polar Stereographic) using gdalwarp. The product I'm working with is MOD29E1D, documented here, p33: The ...
2
votes
1answer
170 views

Most efficient way to use UTM in leaflet

Our server is using UTM internally. We then send a large number of UTM Coordinates to display them in a custom made leaflet layer. First we transform (unproject) them into "normal" geographical ...
2
votes
1answer
294 views

Pyproj: converting WGS84 to Robinson

I have a WGS84 coordinate pair (37.7749295, -122.4194155). I have an image that is a Robinson Map Projection of the world. I'm trying to write a python script to locate my WGS84 coordinate on my ...
4
votes
3answers
304 views

Plot a Raster of Weather data in Leaflet JavaScript Map without generating server-side tiles?

I want to show different weather data I have as binary arrays on a server using leaflet. But I do not want to generate tiles on the server. For each point in an a array I have the coordinates in ...
0
votes
2answers
253 views

Dealing with custom projections (from prj file) in PostGIS (also GeoServer and OpenLayers)

Basically I want to perform spatial queries like distance calculations in PostGIS using data from shapefiles with different projections, some of which have no SRID code that I can find and also which ...
1
vote
0answers
195 views

How do I use Proj4Leaflet projections correctly?

I'm loading data layers from a WMS server into a Leaflet map, and I need to give the user a choice of projections. For the WMS server requests, I just need to change the CRS parameter to a different ...
1
vote
2answers
99 views

Can't get SRS from PostGIS using Proj4 text

I'm having a problem transforming a point from the Australian MGA UTM datum (eg MGA Zone 51 http://spatialreference.org/ref/epsg/28351/) to WGS84 using GeoDjango. I've narrowed that down to a problem ...
1
vote
1answer
159 views

Can't project ArcGIS Tiled Service for Esri-Leaflet

I'm following this example from the esri-leaflet docs. I have an ArcGIS Tiled MapService in ESRI:102696. So I'm trying to use Proj4Leaflet to project the service and use it in my application. I ...
1
vote
1answer
113 views

Uncaught TypeError during proj4 transformation

I get: Uncaught TypeError: Cannot read property 'x' of undefined at proj4js-combined.js:2720 While executing this code (transforming polygon from one system to another): Proj4js.defs['EPSG:3765'] = ...
0
votes
3answers
350 views

Transforming polygon using Proj4js

I am reading the Proj4js User Guide but cannot quite grasp it. I import the library <script src="lib/proj4js-combined.js"></script> Then, function init() { (...) // reading from ...
1
vote
1answer
211 views

Creating custom projections with Proj4

I'm reading into how to customise projections with Proj4 - specifically to achieve tilted projections such as the example below (from vis4.net) The Proj4 literature is pretty heavy going and having ...
1
vote
1answer
364 views

Converting Lambert Conformal (x, y) of spheroid to (lon, lat) of NAD83 with proj/cs2cs?

Revised Trial: Correct? According to Andre Joost advice, I tried with "+towgs84=0,0,0", and the both two ways seem to get the same answer that mkennedy posted below. So, just to make sure, anybody ...
0
votes
1answer
308 views

Reprojecting vector layer in OpenLayers

I have a simple OpenLayers map, where I would like to display the OSM map (the base map, in EPSG:900913) with some points on top of it (a vector layer, in EPSG:3763). I use proj4js. I do convert a ...
0
votes
1answer
439 views

converting projections using dotspatial or proj4

how can i convert projections using either dotspatial or proj4? i am making a program using sharpmap and dotspatial in VB.net have to convert a EPSG 4030 into a Lambert conformal conic projection and ...
0
votes
0answers
338 views

Leaflet + proj4js + EPSG:2180

I'm trying to add a WMS layer in EPSG:2180. I get the definition for EPSG:2180 from here and I am using this guide on GitHub to make a new CRS definition, but I think it is corrupted. It is not ...
0
votes
1answer
173 views

Scaling x,y coordinates in proj4

This question was asked before, but without answer. Let's say we have mercator map with given resolution (for simplicity in centimeters). Now let's get coordinates of (lat,lon) = (50, 15): $ proj ...
3
votes
3answers
294 views

How to use PROJ4 to reproject a file

Unfortunately, GDAL does not support a particular projection I am trying to achieve (the ob_tran rotated pole projection), so I am trying to use PROJ4 to convert a geotiff file to the projection I ...
0
votes
1answer
84 views

Is it possible to get all projections form OGR?

I'm working on a project where the user can give my program so GIS data which may or may not have which projection it is using. So is it possible to get a list of all the projections from OGR or ...
0
votes
0answers
120 views

How can I create Albers projection of Russia map?

I need a conic tranformation of map, so this code var map = L.map('map', { crs: new L.CRS.proj4js('EPSG:4326', '+proj=aea +lat_1=52 +lat_2=64 +lat_0=0 +lon_0=105 +x_0=18500000 +y_0=0 +ellps=krass ...