A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

0
votes
1answer
403 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
252 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 ...
0
votes
1answer
208 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 ...
2
votes
1answer
495 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 ...
11
votes
1answer
964 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, ...
2
votes
1answer
221 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
0answers
26 views

C++ Convert Lat Long to BNG with Proj.4

Im creating a plugin for VBS2. In the program I can output a grid in either LAT LONG,UTM or MGRS. I need to be able to convert to BNG. I have managed to create a TKinter application in python that ...
1
vote
1answer
32 views

How to display the map within two longitude lines

I am new to GIS and I try to use the following code to display a pacific-centered world map. +proj=robin +lon_0=-198 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs However the map ...
2
votes
1answer
192 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
2answers
898 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 ...
2
votes
1answer
60 views

WGS84 conversion to EPSG:3067

I'm trying to convert coordinates from WGS84 to EPSG:3067 with proj4js and Openlayers, but can't get the conversion right. When I run proj4('EPSG:3067',[-24.9993393, -60.184716]); it gives ...
1
vote
1answer
45 views

Using proj to convert EPSG:2263 to WGS84

I have input data in EPSG:2263 with X and Y coordinates such as: X,Y 987043,206407 982441,212359 990907,209020 (these locations are within NYC). I need to convert these to WGS84. Using QGIS if I ...
1
vote
1answer
355 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 ...
1
vote
0answers
66 views

Differences beetween proj4 string and WKT

What are the differences between proj4 strings and well-known text in terms of the ability to represent a projection, other than for WKT being more human readable?
1
vote
1answer
260 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 ...
3
votes
1answer
75 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
2answers
102 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 ...
6
votes
3answers
663 views

Using PROJ.4 library to transform from local coordinate system coordinates to global coordinate system using ground control points?

I have a point cloud whose coordinates are with respect to a local coordinate system. I also have ground control points with GPS values. Can I convert these local coordinates to a global coordinate ...
1
vote
0answers
112 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
2answers
812 views

Using proj4js and Leaflet to transform coordinates?

I'm trying to use proj4js with Leaflet to convert a mouse click event from WGS84 coordinates into British National Grid but when I do this I get NaN for the converted coordinates. Here's the code: ...
0
votes
0answers
47 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" ...
1
vote
1answer
76 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
101 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
254 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
49 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
107 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

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
61 views
3
votes
1answer
31 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
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
135 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
115 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 ...
2
votes
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
319 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
118 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
329 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
119 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
104 views

Convert SRText To PROJ4TEXT

I'd like to convert the following for updating my spatial_ref_sys table. ...
4
votes
1answer
69 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
489 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
202 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
530 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 ...
3
votes
1answer
184 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
397 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 ...
3
votes
1answer
159 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
525 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
230 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
43 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: ...