Tag Info

New answers tagged

0

You can use the transform set up in proj4leaflet. I expect that you have already crated a CRS in your map.options. var my_crs = map.options.crs; // get the CRS var my_proj = my_crs.projection; // get the projection // transform the lat lon Point to a utm point var my_utm_point = my_proj.project(point_in_latlng); If you want to set the internal coordinate ...


1

I can tell you the answer for the second question: How to show UTM-coordinates in the lower right corner. In leaflet the internal coordinate system is always longitude/latitude as far as I know, and you have to transform every time you need to work with your data. First make sure you have installed proj4.js and proj4leaflet.js. To show your coordinates you ...


0

A common approach is to re-project either your coordinates or datasets so that they are in the a common UTM zone. That way there is no need to know when you have crossed bounds. Then you can measure points. Alternatively, it is possible to calculate a zone based on coordinates. You can do this with PROJ.4 or you can find a C# algorithm or lib for UTM if you ...


1

+vunits=m is for vertical datums. Since QGIS is still two-dimensional, it has no impact on the projection. For more details, see http://trac.osgeo.org/proj/wiki/VerticalDatums and http://osgeo-org.1560.x6.nabble.com/Vertical-and-geocentric-coordinate-support-in-OGR-PROJ4-td3841151.html



Top 50 recent answers are included