0

How can I calculate the tiles numbers/names in EPSG:4362 based on lat, lon and zoom ?

Note that I was able to do it for EPSG:3857 Pseudo-Mercator, but the formula in wikipedia and the one in here doesn't work for EPSG:4362

Paul Norman
  • 1,586
  • 8
  • 11
Philip St
  • 21
  • 3
  • Convert to EPSG 3857 and then use whatever method you used that worked for that? In what context are you doing this - a programming language or command line? What coordinate transform library do you have available (because coding a transform from scratch in maths is probably a bad idea). – Spacedman Jan 31 '23 at 12:26
  • 1
    Perhaps start with the OGC WMTS specification ~ https://portal.ogc.org/files/?artifact_id=35326 – nmtoken Jan 31 '23 at 12:29
  • I am trying to generate .geojson tiles from Geoserver and then find the correct tile based on Lat,Lon and Zoom , but geojson is available only in EPSG 4326 (at least in Geoserver) .. – Philip St Jan 31 '23 at 12:29
  • GeoJSON isn't EPSG:4326 (lat/lon) its CRS:84 (lon/lat). That is the official GeoJSON standard not just GeoServer – nmtoken Feb 21 '23 at 13:29
  • 4326 can be lon/lat when it wants to be, that's what makes it fun to use. :-) – Ian Turton Feb 21 '23 at 16:18

0 Answers0