A library for performing conversions between cartographic projections.

learn more… | top users | synonyms

0
votes
1answer
194 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 ...
2
votes
0answers
514 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 ...
0
votes
0answers
124 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
2answers
315 views

Calculation for conversion of Lat/Lon to World Geographic Reference System (GEOREF)

Does any one have a reference to, or the actual code, to convert Lat / Lons to Georef code (http://en.wikipedia.org/wiki/Georef)? I am also interested in finding a conversion from lat/lon to MGRS. ...
1
vote
2answers
174 views

Measurements across UTM zones, how to apply spatial parameters to a customize a projection?

I have a survey grid that spans 3 UTM zones. Using http://www.epsg-registry.org/ I can get an indication of what projections are available. Where can I find more info on the patterns of distortion ...
0
votes
1answer
164 views

What's the best way to add a projection to GDAL?

I have a number of files in Maryland State-Plane (US foot) that have the following wkt: "PROJCS["NAD_1983_StatePlane_Maryland_FIPS_1900_Feet", GEOGCS["NAD83", DATUM["North_American_Datum_1983", ...
2
votes
1answer
268 views

LSA-SAF data reprojection with GDAL and R

The Land Surface Analysis Satellite Applications Facility (LSA SAF) distributes several products derived from the EUMETSAT satellites data. I am working with R to read and process the data (the file ...
2
votes
1answer
370 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 ...
6
votes
3answers
314 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 ...
0
votes
0answers
192 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 ...
1
vote
1answer
195 views

How do you make a function for changing projection with proj4js in Openlayers?

I have included Proj4js in OpenLayers. I would like to create a function (so I can use a make a button). To change the projection of my map. I have included in javascript Proj4js.defs["EPSG:54008"] ...
0
votes
1answer
189 views

Drawing on jpg-map image with proj4 (perl)

From the point of view GIS professionals this question will be sure very primitive, but please keep in mind - i'm totally newbie in this area - and this is my 1st question here. Have several GPS ...
3
votes
0answers
364 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
2answers
1k views

Leaflet proj4leaflet with multiple projections

I am looking at having both EPSG4326 tiles and EPSG3857(cloudmade) tiles on a single map (but separate layers). I have been looking at the proj4leaflet plugin, and it "appears" to me that this might ...
3
votes
1answer
89 views

Location for floorplan

Is there an application / service where I can put my floorplan of a building en 'position' it on the right place on the earth? (The buildings location). I found TileMill an application where I can ...
1
vote
1answer
707 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
897 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 ...
4
votes
3answers
4k 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
187 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
201 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
194 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
127 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
727 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
165 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
199 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
741 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
230 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
136 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
395 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
886 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
506 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
517 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 ...
7
votes
1answer
1k 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
214 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
73 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
100 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
578 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 ...
4
votes
1answer
727 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
207 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 ...
2
votes
2answers
494 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
403 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
97 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
822 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
1k 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
3answers
2k 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
230 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
162 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
63 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
160 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 ...