As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [cs2cs]

Cs2cs performs transformation between the source and destination cartographic coordinate system on a set of input points.

Filter by
Sorted by
Tagged with
2 votes
1 answer
58 views

PROJ Helmert temporal ETRF2000 to ITRF2014

Just installed PROJ (Rel. 8.2.1) and GDAL (3.4.3), so apologies for my newbie questions as not found many examples of time based transformations. I have a FILE with the following coordinates in ...
marky9074's user avatar
0 votes
0 answers
36 views

CS2CS NAD27 / Louisiana South to WGS84

My current projection software when using NAD27 / Louisiana South (epsg:26782) Datum the software "adds" the transform NAD 27 to WGS84 (81) (epsg:15853). I haven't been able to figure out ...
jasmine_evil's user avatar
1 vote
0 answers
32 views

How to get CS2CS to recognize a 7-parameter Helmert shift (the +towgs parameter)

I have defined a transformation from WGS84 to ETRS89 Poland CS92 (Epoch 2019.5) in CS2CS. I can do the basic map projection, but the datum shift is being ignored. It doesn't matter what numbers I type ...
David's user avatar
  • 111
2 votes
2 answers
111 views

cs2cs outputs inverted X,Y for EPSG 2451

I am trying to convert some coordinates from EPSG 4326 to EPSG 2451 The inputs are: Lat 35.33465507 Long 139.68581968 According to https://epsg.io/transform#s_srs=4326&t_srs=2451&x=139....
Henry22's user avatar
  • 21
0 votes
1 answer
123 views

ERROR 1: Too many points (441 out of 441) failed to transform when using gdalwarp to convert raster with compound projection

If I use gdalwarp to convert a simple ArcInfo ASCII grid with a compound projection (Geographic horizontal/meters vertical) to a GeoTIFF, I get an error message. Here's the input raster (asc_h84deg_vm....
Burrow's user avatar
  • 441
2 votes
1 answer
194 views

Running proj/cs2cs command in Powershell

I'm reading a book where it says to run the following in the commandline, I think he used Linux. Therefore the command doesn't run in Windows Powershell cs2cs +proj=latlong +datum=NAD83 +to +proj=utm +...
BallpenMan's user avatar
  • 1,209
0 votes
0 answers
229 views

Warping radar maps for overlay into Google Maps

For a small project I'm looking to add various weather maps to overlay on Google Maps. I've can pull several maps from various sources, however I also know that they are not in the right projection ...
James M's user avatar
0 votes
0 answers
242 views

Performing cs2cs datum transformation using GDAL?

I'm using GDAL 3 to perform datum transformations. I'm trying to transform coordinates from a local datum to WGS84 using the following command: cs2cs +proj=latlong +ellps=clrk80 +towgs84=-166,-15,204 ...
Kat 's user avatar
  • 21
2 votes
1 answer
1k views

Transforming Lambert Conformal Conic to EPSG:3857

I have a map file in a tiff format that is not geo-referenced, but I know the following projection information: +proj=lcc +lon_0=10.856 +lat_0=51.322 +lat_1=42 +lat_2=57 +datum=WGS84. I would like to ...
yaronh hnoray's user avatar
1 vote
1 answer
233 views

Using OSGeo4W program on Windows to convert Sweref99 to WGS84 and get the result in a file

I will use cs2cs to convert between Sweref99 and WGS84. It works fine, but I want the result table in a file and not just in a DOS window on the screen. How ?? Hans Johansson
Hans Johansson's user avatar
4 votes
1 answer
620 views

proj4js, proj4.net, proj4 give different result to cs2cs

I'm trying to convert between two arbitrary projected coordinate reference systems, but every proj.4 library variant that I've tried has given a results different from QGIS's cs2cs application (which ...
James Brown's user avatar
4 votes
1 answer
873 views

What are correct options for converting from state plane nad83 zone NNNN to lat lon in proj4/cs2cs?

I need to build a command line batch converter to read in data from a file that includes coordinates in state plane x,y in feet, the coordinate system used and the zone. For example: cs: nad83 ...
Streamline's user avatar
1 vote
0 answers
230 views

Converting coordinate obtained from google maps to be used with gdal_translate in java or cs2cs?

this is a follow on question from Geo-Referencing an image from google maps with gdal_translate I am trying to get cs2cs to work but I am getting the following error. My command is as follows: ...
Ando's user avatar
  • 103
1 vote
1 answer
165 views

OSGeo4W shell does not accept cs2cs command if typed, only if coppied from a website [closed]

I tried to type in a cs2cs command and OSGeo4W shell did not accept it. When I pasted it from the text on the web it did accept it (see screenshot - command executed is the one pasted and command ...
Yuval B's user avatar
  • 29
1 vote
1 answer
818 views

Using proj to convert EPSG:2263 to WGS84

I have input data in EPSG:2263 with X and Y coordinates such as: X,Y 987043,206407 982441,212359 990907,209020 (these locations are within NYC). I need to convert these to WGS84. Using QGIS if I ...
denishaskin's user avatar
2 votes
1 answer
2k views

Reprojecting from Lambert Conformal Conic into EPSG:3857?

I'm trying to reproject a plain png image file into EPSG:3857 for use in an OpenLayers application. I'm pulling the image from the NWS site at: http://rapidrefresh.noaa.gov/HRRR/for_web/hrrr_ncep_jet/...
Stoss's user avatar
  • 21
6 votes
1 answer
1k views

PROJ.4 cs2cs is too slow. Alternative?

I use PROJ.4 cs2cs to convert data from a Lambert Conformal Conic to a geodetic coordinate (NAD83) or vice versa. In my application, sometimes I need to convert a lot of data. Because I call cs2cs ...
user28857's user avatar
0 votes
0 answers
614 views

Missing grid shift files for cs2cs.exe?

I'm trying to convert a coordinate to WGS84 degrees to NAD27 UTM on windows (vista 32 home basic), from python. I tried installing pyproj with no luck even after researching for a while; so decided ...
Tom Grundy's user avatar
0 votes
0 answers
277 views

cs2cs works one way but not the other

I am trying to build a short program using cs2cs that will work on any windows pc I copied cs2cs.exe and proj.dll to a seperate folder When i run this to convert israel tranverse mercator to decimal ...
eliavs's user avatar
  • 267
1 vote
1 answer
1k views

Converting Lambert Conformal (x, y) of spheroid to (lon, lat) of NAD83 with proj/cs2cs?

Revised Trial: Correct? According to Andre Joost advice, I tried with "+towgs84=0,0,0", and the both two ways seem to get the same answer that mkennedy posted below. So, just to make sure, anybody ...
user28857's user avatar
0 votes
0 answers
146 views

How can I tell the accuracy of coordinates conversion by cs2cs? [duplicate]

For example, when I try this: cs2cs +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +to +proj=tmerc +lat_ 0=22.31213333333334 +lon_0=114.1785555555556 +k=1 +x_0=836694.05 +y_0=819069.8 + ellps=intl +...
Harold Chan's user avatar
  • 1,637