A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

0
votes
0answers
15 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
30 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
296 views

What parameters are useful for an Albers equal area projection map of the world

I have a data set which contains global points. I would like to convert from long/lat to Albers equal area. However, the http://spatialreference.org proj4 world parameter values are actually for the ...
2
votes
1answer
454 views

OpenLayers and custom Proj4 Projection

ok so I'm a newbee in using OpenLayers. I try to map some planetary data on my webMap server using OpenLayers. I defined a proj4 projection as follow: Proj4js.defs["MYDATUM"] = "+proj=longlat ...
2
votes
1answer
144 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 ...
1
vote
1answer
52 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 ...
5
votes
2answers
1k views

Does anyone know the proj4 Coordinte Reference System command line for Rectangular Polyconic Gores?

I am a GIS beginner using QGIS 1.8.0 I am trying to transform a world map from the standard WGS84 Coordinate Projection System to a set of rectangular polyconic gores, with a gore count of 12. ...
0
votes
0answers
33 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 ...
1
vote
1answer
182 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
137 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 ...
0
votes
0answers
116 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 : ...
0
votes
1answer
330 views

How to transform/convert Coordinate Reference System with Proj4 and php

Basically my question is: Can I combine the functions of proj4 with php in my server? For example, I would like to know if it is possible get data in WGS84 and transform in ETRS89. I need to get ...
1
vote
1answer
32 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 ...
1
vote
2answers
713 views

GDAL/proj4 equirectangular projection coordinate system units assumed by OGRSpatialReference and GDALDataset::GetGeoTransform()?

How do I configure my OGRSpatialReference object to specify an equirectangular projection system http://en.wikipedia.org/wiki/Equirectangular_projection where the affine geo-transform matrix (provided ...
0
votes
1answer
29 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
42 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
29 views
3
votes
1answer
23 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
62 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
78 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 ...
1
vote
2answers
91 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
1k views

Generating Map Tiles for MGRS Grid Graticule?

I'm possibly a bit out of my league here, but ready to get my hands dirty. I want to generate map tiles for a MGRS grid graticule similar to http://tiles.mapbox.com/mapbox/map/afghanistan-mgrs. I ...
0
votes
0answers
175 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
109 views

How do I determine programmatically what values to add to the proj4js constructor for a CRS or SRS such that I can iteratively render proper overlays

I think this is primarily a GIS based question as far as for example: var crs = L.CRS.proj4js('EPSG:2154', '+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 ...
1
vote
1answer
292 views

Error when using proj4 in visual C++ (cannot compile project using proj4 lib)

I am using Proj4 version 4.8.0, after compiled by vc i had proj.dll and proj.lib But when i used proj.lib in my project vc++, i cannot compile that project. Here is my code : #include ...
0
votes
0answers
67 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
62 views

Convert SRText To PROJ4TEXT

I'd like to convert the following for updating my spatial_ref_sys table. ...
4
votes
1answer
47 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
419 views

LSA-SAF data reprojection with GDAL and R

The Land Surface Analysis Satellite Applications Facility (LSA SAF) distributes several products derived from the EUMETSAT satellites data. I am working with R to read and process the data (the file ...
0
votes
1answer
153 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 ...
1
vote
2answers
291 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 ...
2
votes
1answer
140 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 ...
3
votes
3answers
2k views

How to define ITRF 92 and ITRF 2008 using Proj4 parameters in QGIS?

I know how to define a CRS, but this particular one is giving me a headache. I was unable to find the EPSG code at spatial reference. The main reason for asking this is that raster and vector data ...
4
votes
3answers
246 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 ...
11
votes
0answers
823 views

How to define Winkel Tripel in proj 4.8.0?

I have QGIS with proj 4.8.0 installed. I'd like to add Winkel Tripel projection which seems to be defined as +proj=wintri But that definition string does not work. Is this a bug in my proj version, ...
3
votes
1answer
81 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
411 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
125 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
168 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
62 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
68 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 ...
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
171 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 ...
6
votes
3answers
8k views

Converting X,Y coordinates to lat/long using pyproj and Proj.4 returns the wrong coordinates

I'm writing a python script that reads multiple XML files containing x and y coordinates and combines them all into a single csv file. Latitude and Longitude are required fields in the csv, but I am ...
2
votes
2answers
74 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
84 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: ...
1
vote
3answers
2k views

How to convert Lat/Long to UTM using Proj(4j) similar to JScience UTM.latLongToUTM?

I'd like to use Proj(4j) to convert between UTM and Lat/Long coordinates. I used to use JScience for UTM <-> LatLong conversions like this: UTM.latLongToUtm(latlong, ReferenceEllipsoid.WGS84); ...
2
votes
1answer
266 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 ...