A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

2
votes
1answer
740 views

compiling a c++ program using proj.4

I am real new to C++ and am having trouble compiling a C++ program that uses the proj.4 library. I downloaded and compiled and installed the proj.4 library on my machine. So, the '/usr/local/lib' ...
2
votes
4answers
3k views

OpenLayers transform EPSG 27700 coordinate to Google 900913

Community, I'm currelty capturing my mouse click event and trying to transform the coordinates into Long Lat. I need to get at the Long Lat as strings so I can build a url and throw it at Google ...
3
votes
1answer
854 views

What is wrong with this Proj4 transformation?

I'm implementing support for WMS maps in my company's software. Servers return a list of projections their maps are available in, but our software only displays data in WGS84 (lat/lon or UTM), and ...
6
votes
1answer
943 views

projection/pyproj puzzle, and understanding SRS format

I have a shapefile that has a .prj file, with the following wkt contents: ...
1
vote
0answers
154 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 ) ...
6
votes
1answer
222 views

What is the definition for a geographic coordinate system with east/west bounds of 0 to 360

I need the coordinate system reference or a projection definition that uses geographic (i.e. lat/lon) coordinates but instead of east/west bounds being defined as 180 to -180, I need them to be ...
6
votes
4answers
2k views

PostGis ST_Transform: failed to load NAD27-83 correction file (-38)

So I'm getting some user drawn polygons in WKT with OpenLayers. (Web Mercator CRS) and I now need to now convert it to SRID4326 so can do some spatial queries. However, when it fails to do a ...
4
votes
3answers
6k views

How do I include proj4js in openlayers?

in my Openlayers app, since the base map projection is not epsg900913 or 4326, I need to include proj4js in order to use geolocation feature. but i got such a error notice: GET ...
3
votes
1answer
1k views

Proj4js objects not readyToUse

I am using Proj4js to transform between WGS84 and a local Swedish grid RT90 (EPSG:2400). It works in FF, but in IE the Proj objects often is not readyToUse when I need them to. I use this code to ...
1
vote
1answer
493 views

How to resize layer using .prj (WKT) projection? (Geographic Coordinate System)

Briefly: How to parametrize .prj WKT file so that I can perform 7 point tranformation (wiki). I know how false_easting and false_northing params work, but how can I adjust scale? I do not mean ...
7
votes
3answers
8k views

Converting X,Y coordinates to lat/long using pyproj and Proj.4 returns the wrong coordinates

I'm writing a python script that reads multiple XML files containing x and y coordinates and combines them all into a single csv file. Latitude and Longitude are required fields in the csv, but I am ...
7
votes
2answers
3k views

what is the best way to programmatically convert between WKT and Proj4 string?

some shapefiles have a .prj file associated with it. and the .prj file contains the projection info of the shapefile in the format of WKT. Sometimes I need to convert WKT to proj4 string, and ...
3
votes
2answers
2k views

How to integrate Proj4 into an iOS / iPhone project?

This may be overkill, but I need to reproject a point coming from the CLLocationManager, which is in EPSG:4326, to Dutch RD (Double Stereographic, EPSG:28992) in my iOS application and I am using ...
5
votes
1answer
4k views

Converting Lambert Conformal Conic to WGS84 using Proj.4

I am attempting to transform data from Lambert Conformal Conic lat/long and I am having some issues with the results. The shapefile I am attemtping to transform can be found here: ...