A library for performing conversions between cartographic projections.

learn more… | top users | synonyms (1)

3
votes
1answer
31 views

Lookup Projection Name from EPSG with pyproj

Is it possible to programmatically lookup a projection's name (e.g. Albers Equal-Area) from its EPSG using pyproj? I see pyproj.pj_list, but it does not contain a mapping to the EPSG. Thanks.
1
vote
0answers
19 views

How to define proj4 string for grass

I'm asking here because the grass mailing list suggested the proj mailing list, but with a bit more progress it seems to be a grass question. I'm not sure and I thought both communities might see it ...
3
votes
2answers
36 views

What is the SRID of LCC projection?

I have a raster file with LCC projection and a point dataset with SRID 4326. I want to extract raster value to point. When I use the query SELECT ST_Value(rast, geom) val FROM testraster5, ...
0
votes
0answers
16 views

Display leaflet tile layer correct using custom CRS with proj4leaflet

I use a custom CRS to show the map of the north pole. There is a framework called PolarMap.js (http://webmap.arcticconnect.org/) which does this correct. My custom CRS however does not show it the ...
2
votes
1answer
29 views

proj4js: converting EPSG:3857 to SWEREF99 TM [closed]

I'm trying to convert a EPSG:3857(Google/OSM) coordinate to a SWEREF99 TM coordinate using proj4js but the following code produces a invalid result: sweref99 = "+proj=utm +zone=33 +ellps=GRS80 ...
2
votes
2answers
105 views

are these two proj4 utm projection strings equivalent?

I have a list of proj4 calls. Some of them have one format and some have another, I've been told they are equivalent. Is that so? If so, which one should I use? for example, for ETRS89 / UTM zone ...
1
vote
0answers
33 views

Dotspatial.Projections with custom Proj.4 string

I have lat,long values that I need to convert to x,y in a custom Lambert Conformal Conic projection defined as +units=m +a=6371229 +b=6371229 +x_0=0 +y_0=0 +proj=lcc +lon_0=0 +lat_2=25.0 +lat_1=25.0 ...
2
votes
1answer
69 views

Using Proj.4/GDAL to convert lat,lon to i,j

I'm working with a data set in GRIB2 format and need to determine the grid cell index (i, j) corresponding to a given lat,lon. I have the projection definition in the form of projparams as follows: ...
3
votes
0answers
55 views

Creating custom CRS based on local project parameters in QGIS?

I'm having trouble creating custom proj4 CRS files to work with existing .shp files on local project coordinates. (Local in that the coordinates are relative only to themselves and not the 'real ...
2
votes
3answers
47 views

Converting GeoTIFF projection definition to proj4

I'm working with las/laz files which often have GeoTIFF information attached to them. However, for further processing I need proj4 definitions. http://spatialreference.org/ has helped me so far to ...
2
votes
1answer
36 views

gdalwarp leaves big hole at 180° longitude when warping from 4326 to custom AEqD

I'm trying to reproject the Natural Earth I 1:50m raster into an Azimuthal Equidistant projection centered on my hometown. As you may know, the source raster covers from -180° to 180° latitude, and ...
1
vote
1answer
83 views

Openlayers3 using custom EPSG:25832

I want to use EPSG:25832 as the default projection for all my layers. The projection is not working correctly because the Position (center point) should be in Germany but I end up in France. When I ...
1
vote
0answers
20 views

Proj4 string for Hobo–Dyer projection?

I was fortunate to find an SVG of this projection at http://bl.ocks.org/mbostock/raw/4476487/ However, there appears to be little reference to this projection outside of wikipedia. Does anybody know ...
0
votes
0answers
21 views

Transform itrf96 to web mercator 900913 proj4s

I am using cached basemap tiles with itrf96. proj4 version is like this: Spatial Reference Page +proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs I want to ...
0
votes
0answers
36 views

How to create raster with origin in degrees and dx dy in metres

I need to create a raster from array. In gdal if i understand correctly i need to specify the top left lat lon for the SetGeoTransform((originX, pixelWidth, 0, originY, 0, pixelHeight)) however the ...
1
vote
0answers
24 views

Projected Coordinate System issue using GDAL and qgis when defining x and y

I have a numpy array which I would like to save as GeoTiff using GDAL in python. The array was created using the following PCS in mind: +proj=lcc +lat_1=48 +lat_2=48 +lat_0=48 +lon_0=0 +x_0=0 ...
2
votes
0answers
106 views

Problem reprojecting LiDAR data using liblas

I have multiple lidar data sets and I am trying to reproject them using liblas. They are missing the coordinate system in the header information so I assign them an SRS using las2las --a_srs: las2las ...
0
votes
0answers
20 views

Geographic projection for ASCAT metop-a product

I have an ascat bufr over souther south America and I need to project raster data over a map. What is the right projection for this product? I'm lost with this options: ortho, mercator and ...
2
votes
1answer
50 views

Reproject “unknown” coordinate system to LCC 2SP across lon 180

Starting with a grib file with limited projection information, I am trying to import it as a GeoTiff in Geoserver 2.7.x. The original gdalinfo is: Size is 218, 81 Coordinate System is: ...
0
votes
0answers
31 views

Old MIller projections Bipolar Oblique Conic Conformal/Oblated Stereographic definitions?

I'm attempting to georeference and warp some old toposheets that are various old projections including the following: Miller Oblated Stereographic Projection Bipolar Oblique Conic Conformal What's ...
2
votes
1answer
58 views

What Proj.4 parameters have to be modified if the Y coordinates are shifted?

I would like to transform Barcelona map coordinates to Latitude, Longitude with Proj.4. I'm using EPSG number 23031 and the parameters are: +proj=utm +zone=31 +ellps=intl +towgs84=-87,-98,-121,0,0,0,0 ...
0
votes
1answer
48 views

Getting wrong values trying to convert to a latitude longitude system

By using listgeo I got the following information: PCS = 31468 (name unknown) If I am not mistaken this translates to DHDN / 3-degree Gauss-Kruger zone 4, and by using this site I got a proj4 ...
0
votes
0answers
10 views

Sequencing addresses found in search

My dealership search is powered by a java listing and functions script. When the dealers are found for a chosen town they come up in a random order. My client wishes the biggest dealership to appear ...
2
votes
1answer
90 views

Proj4 for EPSG3857

I am using leaflet and the R library sp. The CRS from my leaflet map is EPSG3857 - WGS84 Web Mercator. I am retrieving the coordinates of my current map view with getBounds(). For further calculations ...
2
votes
0answers
78 views

Converting from flat earth to WGS84 with python

I'm looking to move from basic 2d Cartesian coordinate system into WGS84. I know my starting coordinates, however all intermediate points are x/y/z points. of an origin 0,0,0 . Mathlab has a ...
2
votes
2answers
122 views

How can I convert points in EPSG:2956 to EPSG:4326 with pyproj?

I have some points in EPSG:4326 -110.28879750 64.46310187 405.49938863 -110.28879359 64.46310086 405.45967110 -110.28880175 64.46310446 405.93823604 -110.28880245 64.46310258 405.48060850 ...
1
vote
1answer
41 views

Wrong parameters for ESPG:42304?

I need to use the Lambert Conformal Conic for Natural Resources Canada EPSG:42304, which I could not find in QGIS 2.10.1 CRS list. I located the proj4 parameters on-line from three locations, all of ...
0
votes
1answer
53 views

How to project from Greek Grid to ETRS LAEA

How to make a project transformation between Greek Grid (EPSG:2100) to ETRS LAEA L52_M10? I'm using ArcGis 9.3.1, but when I use the project tool, it don't have anything in "Geographic ...
2
votes
2answers
702 views

How to repair broken GDAL and PROJ.4 on Ubuntu?

EDIT2: I solved the library problem, but others remain, only vaguely related to that of PROJ.4 library not loaded. I asked a follow-up question for these. My GDAL package and PROJ.4 library are ...
1
vote
0answers
52 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
42 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
186 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
111 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
97 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
261 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
209 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
77 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
175 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
96 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
169 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
388 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
92 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
244 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
104 views

What is the proj4 for World Behrmann (54017)?

I have this in an old SDE database: ...
3
votes
1answer
47 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
253 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
737 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 ...
4
votes
1answer
242 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
472 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). ...