Tag Info

New answers tagged


You need to define the affine transformation for transforming the map with the layer's tile origin (upper left corner) coordinates. context.EPSG27700 = new L.Proj.CRS( 'EPSG:27700', '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000' + '+ellps=airy +datum=OSGB36 +units=m +no_defs', { transformation: new ...


Use the function nowrapSpatialPolygons at the anti-meridian of your central longitude. This doesn't work with wrld_simpl from maptools, but it does work with countriesLow from rworldmap. library(rworldmap) data(countriesLow) library(maptools) prj <- "+proj=robin +lon_0=-198 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" x0 <- ...


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