A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

2
votes
3answers
63 views

How to use PROJ4 to reproject a file

Unfortunately, GDAL does not support a particular projection I am trying to achieve (the ob_tran rotated pole projection), so I am trying to use PROJ4 to convert a geotiff file to the projection I ...
6
votes
2answers
183 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
2answers
245 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
272 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 ...
0
votes
1answer
33 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 ...
0
votes
1answer
38 views

Is it possible to get all projections form OGR?

I'm working on a project where the user can give my program so GIS data which may or may not have which projection it is using. So is it possible to get a list of all the projections from OGR or ...
0
votes
1answer
186 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 ...
0
votes
1answer
133 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 ...
8
votes
0answers
447 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
0answers
236 views

How to set GDAL/cs2cs/proj to use NTv2 grid shift file when using EPSG codes?

I am using the GDAL API for Python for a script that takes only EPSG codes for inputs to specify source and target coordinate systems. While the cs2cs command seems to handle quite well ...
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, ...
2
votes
0answers
132 views

PyProj/Proj4 convert geographic to projected coordinates for Geostationary Data

I am trying to convert geographic coordinates (in degrees east/north lon lat) to projected coordinates in meters for geostationary full disc data (GVAR Goes East data from CLASS). To do this, I tried ...
2
votes
0answers
314 views

How do I solve Gdalwarp error 'too many points failed to transform' for remapping Geostationary to Lambert conformal?

I am trying to remap from Geostationary to Lambert conformal using gdalwarp. My input data is in netcdf, and is in geographic coordinates (degrees) and I would like to output the remapped data to ...
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 ...
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 ...
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?
1
vote
0answers
35 views

Problem with custom projection in OpenLayers

I'm using OpenLayers 2 with Proj4JS 1.10. When trying to change the map's projection using Proj4js.defs['STEREOGRAPHIC:180,90'] = "+proj=stere +lat_0=90 +lon_0=180 +a=3396190.0 +b=3396190.0 +over=F ...
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 ...
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 ...
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 ...
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
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 ...
1
vote
0answers
139 views

Proj4js can't handle 90/180degree transformations from 4326

So if you try to do a transform like this Proj4js.transform( new Proj4js.Proj( 'EPSG:4326' ), new Proj4js.Proj( 'EPSG:3857' ), new Proj4js.Point( -180, -90 ) ...
0
votes
0answers
31 views

Leaflet + proj4js + EPSG:2180

I'm trying to add a WMS layer in EPSG:2180. I get the definition for EPSG:2180 from here and I am using this guide on GitHub to make a new CRS definition, but I think it is corrupted. It is not ...
0
votes
0answers
41 views

How can I create Albers projection of Russia map?

I need a conic tranformation of map, so this code var map = L.map('map', { crs: new L.CRS.proj4js('EPSG:4326', '+proj=aea +lat_1=52 +lat_2=64 +lat_0=0 +lon_0=105 +x_0=18500000 +y_0=0 +ellps=krass ...
0
votes
0answers
28 views

How can I obtain the unit of a projection SRID?

Given a projection SRID, is there a way I can obtain the coordinates unit string (meter, degree, ...) ? In PostGIS for example, it looks like it is present in the srtext column of spatial_ref_sys. ...
0
votes
0answers
33 views

Ob_tran in proj4js

I am trying to implement an OpenLayers/proj4js-based application based on this projection: +proj=ob_tran +o_proj=eqc +o_lat_p=90.0 +o_lon_p=0.0 +lon_0=180.0 +R=57.2957795131 The aim is to allow the ...
0
votes
0answers
114 views

proj/pyproj converted coordinates offset

I'm using pyproj to convert some coordinates from WGS84 to OSGB36. When mapped out the converted and unconverted don't map to the same places on a map. The OSGB36 coordinates are mapped about 100 ...
0
votes
0answers
91 views

Map doesn't show anything in img file (WMS-Mapserver)

Actually in a practical Project we wanted to use OpenLayer and MapServer to display our data using WMS, but We can't find a proper srs or EPSG code. One of the ITC students said, we have to change our ...
0
votes
0answers
117 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 ...
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 ...