New answers tagged epsg
To be honest you should do the reprojection before hand. Try to avoid doing calculation on the client side. Default OL2 uses EPSG:3857
For what you are trying to do you could use the WMS datastore in GeoTools to import the layers you need: see https://gitlab.com/snippets/6355 for a full example.
To be honest EPSG:4326 is not really defined well at all, depending on which version of WMS oe when your CRS was defined you use it can be either way. The definitive statement for GeoTools is at http://docs.geotools.org/latest/userguide/library/referencing/order.html So you may be able to get away with: Hints hints = new ...
If the degree coordinates should be in Helsinki (for which UTM zone 35 is correct), you should enter 24.9993393, 60.184716. Note that proj expects East - North order, with negative singns for Southern and western coodinates. Converted to EPSG:3067, the coordinates are 389042, 6673664.
The correct syntax is: cs2cs +proj=lcc +lat_1=41.03333333333333 +lat_2=40.66666666666666 +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs +to +init=epsg:4326 -f %%.8f<nad.txt >out.txt with 987043 206407 in the input file nad.txt to get this output: -73.98992216 40.73321572 ...
Top 50 recent answers are included