Questions tagged [proj]

PROJ is a cartographic projections and coordinate transformations library

PROJ is an open-source coordinate transformation software that transforms geospatial coordinates from one coordinate reference system (CRS) to another. This includes cartographic projections as well as geodetic transformations.

Resources

256 questions
0
votes
1 answer

Converting "Lambert 1 Nord" data into "Spacial Reference"

I have a CSV files with "Lambert 1 Nord" data and have to translate them into "Spacial Reference" to use them. For informations, here are a couple of informations given by the file : Est : "997776,67" Nord : "112121,30" I use this script to do the…
Xavier W.
  • 1,270
  • 3
  • 21
  • 47
0
votes
1 answer

proj4 javascript include/import from epsg.io

I have spent hours trying to include the code returned (see below) by http://epsg.io/2193.js in to my application. proj4.defs("EPSG:2193","+proj=tmerc +lat_0=0 +lon_0=173 +k=0.9996 +x_0=1600000 +y_0=10000000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0…
tr3v
  • 431
  • 1
  • 9
  • 19
0
votes
2 answers

R: Lat-Lon to UTM for zoo time series

Given a zoo time series with columns "lat", "lon" and "value": z <- zoo(...) # anyone knows how to create a simple example series here? I need to convert the lat and lon degrees to UTM in order to perform further operations like distance…
Martin
  • 1,395
  • 1
  • 11
  • 33
0
votes
1 answer

Why is PROJ4/cs2cs reprojection latlon to lcc NAD83 generating sys errno:2

I am trying to use PROJ4/cs2cs to change the projection of latlon coordinates from latlon to lcc. I have the NAD83/NAD27 in the proj/nad directory and have rebuilt and installed PROJ. Can someone tell me why I'm getting this sys errno message when…
MapleMatrix
  • 99
  • 1
  • 2
  • 5
0
votes
1 answer

PROJ4 command for printing to output file

I am working with Regional Climate data that were provided in a rotated pole grid format. Using PROJ4 I can convert these coordinates to lat/lon using this command line $ proj -m 57.295779506 +proj=ob_tran +o_proj=latlon +o_lon_p=83 +o_lat_p=42.5…
MapleMatrix
  • 99
  • 1
  • 2
  • 5
0
votes
1 answer

Compare variogram and variog function

I assumed (probably wrongly) that in the easiest cases the output of variog in the geoR package and variogram in the sp package would have been the same. I have this dataset: head(final) lat lon elev seadist tradist samples rssi 1 60.1577…
Irene
  • 744
  • 1
  • 12
  • 36
0
votes
1 answer

Only one command line in PROJ.4

I would like to know if there are a way to write only one command line to obtain the expected results. I explain: When you write this : $ proj +proj=utm +zone=13 +ellps=WGS84 -f %12.6f If you want to recieved the output data: 500000.000000…
Acicate
  • 63
  • 2
  • 10
0
votes
2 answers

How to convert WGS84 to ETRS89 UTM with php?

I need to find a way to convert a pair of WGS84 geographic coordinates to ETRS89 projected coordinates (UTM) using php. Example: (lat)37.255205, (long)-5.549390, (height)141.562284 Anybody know how can I to do that? Thank you!!
Acicate
  • 63
  • 2
  • 10
0
votes
1 answer

Getting a parameter from class object with no '__getitem__' attribute?

I am using pyproj.Geod to calculate geographic distances, and I would like to use the diameter of the earth defined by the object for another calculation. When there is no __getitem__ attribute and the object is not indexable, is there a way of…
ryanjdillon
  • 17,658
  • 9
  • 85
  • 110
0
votes
1 answer

interpreting map-projection details

Not an expert in reading or interpreting map-projections. I have data set with the following description. The coordinates are in Albers Equal Area Conic projection, with the following projection settings: Scale = 1; False Easting(m) =…
Nav
  • 135
  • 2
  • 7
0
votes
1 answer

PROJ.4: Supported datums in TOWGS84

TOWGS84 in PROJ.4 support datums transformation from another datum to WGS84 datum. Could anyone please give me the list of datums which supported in this method.
Hoang Doanh
  • 99
  • 2
  • 11
0
votes
0 answers

Convert cartesian coordinates to geography coordinate

i have a Canvas where i get the position of the pixel when i draw. Example, X=1, Y=5. So, i have to project that on a real wall. I know the geography coordinate of each lower corner of the wall and the width and height as well. How can i convert…
0
votes
2 answers

PHP Map projections

I have Googled myself to death.. I am attempting to write 2 php functions that will return X and Y from Lat and Long, in both Mercator and flat non-projected (grid) maps. Problem being every calculation I have ran across assumes your map(s) has the…
-1
votes
1 answer

The extent in UTM and the projection in lat lon

I have a raster with 4 layers and I want to convert the extent into lon/lat, in order to make the extract, but the points and the raster projection or extent doesn't match. Can you please help me ? pp.an class : RasterBrick dimensions :…
Alex.V
  • 45
  • 8
-1
votes
1 answer

Is latitude/longitutude linear?

I'm trying to create a grid system three variables: upper-left.lat, upper-left.long and lower-right.lat, lower-right.long and grid-size = 100 meters. Just to be clear, the grid-size represents the width and height of each cell within the grid. I'm…
mrEmpanada
  • 25
  • 4
1 2 3
17
18