Our server is using UTM internally. We then send a large number of UTM Coordinates to display them in a custom made leaflet layer.
First we transform (unproject) them into "normal" geographical coordinates using Proj4Leaflet . Then we use leaflets latLngToLayerPoint() function in order to project them for our custom layer.
The latLngToLayerPoint() function is projecting the geographic coordinates back into point coordinates.
Is there a way to transform our UTM coordinates directly into points without making the detour by geographical coordinates? I see that there is a transform() function which is used by Leaflet internally to project "normal" latlng coordinates.
How can I get the necessary parameters to perform a transformation from EPSG 32633 to the internal 3857 projection?
أكثر...
First we transform (unproject) them into "normal" geographical coordinates using Proj4Leaflet . Then we use leaflets latLngToLayerPoint() function in order to project them for our custom layer.
The latLngToLayerPoint() function is projecting the geographic coordinates back into point coordinates.
Is there a way to transform our UTM coordinates directly into points without making the detour by geographical coordinates? I see that there is a transform() function which is used by Leaflet internally to project "normal" latlng coordinates.
How can I get the necessary parameters to perform a transformation from EPSG 32633 to the internal 3857 projection?
أكثر...