A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

1
vote
1answer
445 views

PROJ4 C++ API: Amersfoort RD New to WGS84

I try to convert between dutch RD New (EPSG:28992) and WGS84 (EPSG:4326) via PROJ4 C++ API. On the console this works with: cs2cs +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 ...
4
votes
1answer
640 views

Openlayers/Proj4js not transforming coordinates the first time

Something seems to be going wrong with my transformations. Before I added proj4js, transforming a coordinate went fine: new OpenLayers.LonLat(-1.0, 52.0).transform(new ...
1
vote
3answers
2k views

How can I get the proj4 string or EPSG code from a shapefile .prj file? [duplicate]

I have to work with a shapefile defined in an unusual projection, which my GIS software does not know about. How can I get the proj4 definition or the EPSG code for the projection?
1
vote
2answers
155 views

Lambert projection with one or two standard parallels and proj4

I'm sure there is a gap in my understanding, but I haven't been able to identify where it is, nor how to fill it. My issue is this: I'm transforming lon lat coordinates into a lambert conformal ...
0
votes
1answer
170 views

constant deviation projecting lat lon to itm(israel tranverse mercator

i use two different ways to project lat lon data taken from google earth to ITM (Israel Transverse Mercator) and export the data to arcmap same ways i try to unproject ITM data and export the data to ...
1
vote
0answers
141 views

How can I fix badly specified geographic coordinate system with units in arc-seconds?

Check out this depth-to-rock soil data. It is linked from here. The spatial reference system is a latlon, but the units are arcseconds. I could not reason out how to override the SRS even after ...
2
votes
0answers
108 views

Proj4 inconsistent longitude after projection

All coordinates expressed in this question are (longitude, latitude), the default for proj4. London is at (-0.1460838, 51.5170986), and San Francisco is at (-122.419302, 37.775549). According to the ...
5
votes
1answer
550 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. ...
5
votes
1answer
130 views

Having trouble finding out what coordinate system a map is using, and how to convert it

I'm using Small Area shapefiles in Ireland from the Central Statistics Office (CSO) website. The link to these is here http://census.cso.ie/censusasp/saps/boundaries/ED_SA%20Disclaimer1.htm (Look for ...
0
votes
1answer
161 views

Geostationary satellite projection to be introduced in GDAL

I'm working on raster files and their spatial reference system is: PROJCS["Geostationary_Satellite", GEOGCS["GCS_Unknown datum based upon the custom ellipsoid", DATUM["D_Not specified ...
2
votes
0answers
599 views

Projecting point in Leaflet from EPSG 900913 (same as 3857) to EPSG 2232 with proj4js returning unexpected results

I have a leaflet map from which I want to be able to query an api that accepts x y values in EPSG 2232 as inputs. Leaflet doesn't handle point transformations like Open Layers does so I am trying to ...
1
vote
1answer
179 views

PROJ.4 custom projection that is Transverse Mercator with Affine post-process

I am trying to define some of my local TMAF grids in PROJ.4 so I can reproject points between the local grid and MGA95 and/or WGS84. For these grids I have the MapInfo CoordSys clause which defines a ...
4
votes
1answer
123 views

Problem with custom projection definition in Qgis

I want to define a custom crs valid for Mexico. The context is that older cartography in Mexico is based on the NAD27 datum. I wanted to test the following proj4 string +proj=longlat +ellps=clrk66 ...
5
votes
1answer
258 views

pyproj, proj4 doesn't return same coordinates after inverse conversion

I'm trying to interpolate between coordinates, as a step in that process I convert latlong to UTM so I can work in metric. I don't get the expected latlong when converting back, reproduced below: ...
4
votes
1answer
588 views

How do I solve a “No PROJ.4 translation” error with gdal?

I've installed gdal using the brew utility on OS X so the proj and geos dependencies were also installed. I'm now trying to warp a GeoTIFF so that I can import it into Google Earth. I am getting a ...
0
votes
1answer
383 views

How to reproject layers (using GeoServer and OpenLayers) in order to overlay on the google maps [duplicate]

Possible Duplicate: Openlayers and Geoserver: OSM/Google Maps and WMS Overlay I am writing a code using OpenLayers. In this code, I want to display different layers in different zoom ...
1
vote
1answer
315 views

PROJ4 Library error in combination with MapServer 6 and CentOS 6

I have recently compiled MapServer 6.2 on a CentOS 6.3 machine. Since I compiled it --with-proj=/usr, all the PROJ4 related stuff resides in /usr/share/proj. I've also installed proj4 with yum ...
6
votes
1answer
845 views

use proj4 to specify Robinson projection with R ggmap and ggplot2 packages?

I want to project this map in robinson projection: library(ggmap) world <- map_data("world") ggplot() + geom_path(data = world, aes(long, lat, group = group)) ...
4
votes
2answers
175 views

SRS: geographic or cartesian?

Let's have a list of SRS with proj4 definitions (e.g. spatial_ref_sys table). Is there a way to determine whether given SRS is geographic (lon,lat) or cartesian (x,y)?
1
vote
1answer
65 views

How to fix PJ_healpix.c in PROJ.4?

Michael Speth and i are in the process of fixing the PROJ.4 implementation of the HEALPix map projection (see http://trac.osgeo.org/proj/browser/trunk/proj/src/PJ_healpix.c for the current buggy ...
0
votes
0answers
91 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 ...
2
votes
2answers
501 views

Why is Spatialite delivering “Invalid SRID” error message

Qspatialite in QGIS 1.8 (and also Spatialite-gui) delivers an "Invalid SRID" error message when I try to load shapefiles with a SRID value of 3814 (Mississippi Transverse Mercatur). The SRID is ...
3
votes
1answer
559 views

how to add a custom SRID to Spatialite

I'd like to create a spatialite database and load it with shapefiles using the Mississippi Transverse Mercator (MSTM) projection, but it doesn't have an EPSG definition in the spatialite library of ...
1
vote
1answer
174 views

Problem reprojecting KML in EPSG:2039 Map - OpenLayers 2.12 + proj4js

I have KML files (EPSG:4326) and a background map I made using EPSG:2039 projection (mandatory). When I try reprojecting the KMLs to show in EPSG:2039 I don't succeed and still they don't appear on ...
1
vote
2answers
360 views

What is the SRS code for Lambert Conformal Conic projection and GCS Everest Definition 1962?

I have a shapefile with Geographic Coordinate System is "GCS_Everest Definition 1962" and the Projected Coordinate System is "Lambert_Conformal_Conic". I want to add this shapefile in Geoserver. But I ...
3
votes
1answer
316 views

Get the geotransform in Mercator given a pixel size away from the origin

I have a radar image with the following information: The projection is Mercator (Mercator_1SP in GDAL) The projection origin is 0º lat 0º lon At a given geographic coordinates (e.g. lon=10º ...
2
votes
0answers
88 views

Proj4s.js Library Transformation Accuracy Documentation

I am using proj4s.js for transforming between coordinate systems for a GIS web application. Is there any documentation out there on transformations accuracy provided by the library?
11
votes
2answers
632 views

How to reproject raster from 0 360 to -180 180 with cutting 180 meridian

I have a geotiff raster image that has a coordinate system with longtitudes from 0 to 360. The horizontal center of the image is 180 longtitude. See image below: I want to transform it to EPSG:4326 ...
2
votes
1answer
982 views

How to setup leaflet map to display a WMS layer in ESRI:102012 projection?

I have a WMS server that serves layers in ESRI:102012 projection. http://spatialreference.org/ref/esri/102012/ It accepts GetMap requests with srs=EPSG:102012 parameter. My goal is to display a map ...
2
votes
1answer
1k views

Mapping x, y pixel coordinates to latitude and longitudes on the WGS84 datum

Apologies in advance for the long question, I am fairly confused at this point and I figure if I show my thought process any flaws early on in the piece can be more easily pointed out. I have a grid ...
1
vote
2answers
1k 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
3answers
211 views

How would you use change the projection within KML file?

I have created some KML files by converting the projection with both ARC and MapWindow. I'm looking for ways to automate exporting the data from our application with coordinates in State Plane ...
1
vote
0answers
146 views

proj4's omerc projection (cs2cs) broken?

When I project longitude -60, latitude 0 to mercator, I get the expected answer: > echo "-60 0" | cs2cs +proj=lonlat +to +proj=merc -6679169.45 0.00 0.00 However, when I project it to ...
3
votes
0answers
61 views

How can I specify a spatial reference system which has a north pole different than the standard north pole?

I have a geographic spatial reference system (i.e., latitude and longitude) which has a north pole that is not the usual north pole: it's the magnetic north pole at approximately 70.30 degrees north, ...
3
votes
1answer
151 views

proj4 cookbook?

Is there a proj4 "cookbook"? I discovered proj4 from @MerseyViking excellent answer to: Create Mercator map with arbitrary center/orientation? but most of the documentation appears to be fairly high ...
3
votes
3answers
1k 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 ...
1
vote
2answers
304 views

Geodjango - using projected coordinates with olwidget

I have a database in GeoDjango containing data based on the Australian MGA54 coordinate system (SRID 28354). I have the srid set in the model definintions and when using the standard GeoModelAdmin ...
1
vote
1answer
166 views

Looking for CRS for NAD 83 UTM Zone 30N

I'm curious as to why the UTM zones are incomplete for NAD 83 in QGIS? I have a WGS84 shapefile that I would like to project to NAD83 UTM Zone 30N but can't find it in the QGIS CRS list. I see how ...
0
votes
1answer
1k views

Conversion from N,E to Lat/Long And Lat/Long to N,E will always be same? [closed]

I have an excel tool for the conversion of following lat/long: Lat: 23° 11’ 24.67503’’ S Long: 118° 46’ 6.15742’’ E , which gives me following N,E: Northing: 7,434,317.43 Easting: 680,991.69 But I ...
1
vote
0answers
164 views

On the usage of Proj4Js->tmerc.js

I am using "proj4js & open layers" for my mapping. I got projection & datum (which is based on "Transverse Mercator") of a local plane and this plane is part of a grid which returns ...
0
votes
2answers
163 views

How do you pass parameters for Proj4js implementation with OpenLayers

I am using Proj4js along with OpenLayers for the transformation of x,y (projection type is Transverse Mercator) to long, lat. While executing "inverse()" method what I noticed that in tmerc.js some ...
1
vote
1answer
125 views

Tool For Generating Formula for Projection

I am using Proj4Js for northing,easting to lat,long transformation. My Datum is "AGD84" and projection is "Transverse Mercator". While doing so I found that if I don't specify "+proj" parameter in ...
1
vote
1answer
841 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 ...
2
votes
1answer
232 views

Proj4 Task not working - Northing Easting to Lat Lng

I usually post in StackOverFlow - if this is the incorrect area to post - I apologise. I have trying to convert a lot of northings / eastings to lat lng I have code below working: In ruby using ...
2
votes
1answer
733 views

Projection ETRS89 (Ellipsoid: GRS80) 6-Degree Zone 33 to UTM33N - WGS84

Hi I'm having trouble to reproject a shape file in Qgis. The projection is supposed to be "ETRS89 (Ellipsoid: GRS80) 6-Degree Zone 33" and I would like to project it to UTM33N - WGS84 (EPSG 32633). ...
3
votes
1answer
298 views

What's wrong with my Proj4 transformation?

I am having trouble converting a projected coordinate EPSG:28355 to WGS84 EPSG:4326 using Proj4js. I know by default Proj4 will not convert to EPSG:28355 so I went to spatialreference.org and got the ...
1
vote
0answers
300 views

Conversion From Transverse Mercator To Longitude & Lattitude

I have to transform (7-parameters datum transformation) coordinates from northings & eastings to lattitude & longitude. Following are details of source coordinate system(i.e. northings & ...
1
vote
1answer
94 views

Which SRS is computational more effective to store continental scale data? (given some conditions)

For a Precision Agriculture application I need to make calculations in UTM projection. The data will be stored in Postgis and is made of soil samples results (point data) and field boundaries of many ...
1
vote
0answers
282 views

How do I use Proj4js or other technique to make custom map projections with google.maps.Projection?

I'm using Google's Projection class to try to convert my map projection from the default spherical mercator to something like Lambert Conformal Conic. I was previously adapting the code from this ...
4
votes
1answer
411 views

How to define a CRS using a projection rotated about a given point

I have a data set that uses a common projection, but has its own false easting and northing, and is rotated 315 degrees. I need to be able to work in this CRS and easily translate from one CRS to ...