A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

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
31 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
58 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
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
2answers
101 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
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
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" ...
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
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 ...
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
252 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
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
60 views

What is the proj4 for World Behrmann (54017)?

I have this in an old SDE database: ...
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
1answer
104 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
206 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
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 ...
0
votes
0answers
317 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
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
66 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
158 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
523 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
227 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
42 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
234 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
100 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
97 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
527 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
251 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
94 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
114 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: ...
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 ...
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 ...
2
votes
1answer
338 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
396 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
304 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
1answer
250 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
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
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
1answer
129 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
428 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
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 ...
1
vote
1answer
405 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
370 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
569 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 ...