[mapserver-users] Is mode=tile always epsg:3857?
Michael Smith
michael.smith.erdc at gmail.com
Sat Oct 24 10:35:38 PDT 2020
Rich,
Looking at mode=tile, yes, it sets it to spherical Mercator
https://github.com/MapServer/MapServer/blob/master/maptile.c#L259
From: mapserver-users <mapserver-users-bounces at lists.osgeo.org> on behalf of Richard Greenwood <richard.greenwood at gmail.com>
Date: Saturday, October 24, 2020 at 1:22 PM
To: mapserver <mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Is mode=tile always epsg:3857?
I'm trying to generate vector tiles in a non epsg:3857 (web mercator) projection but it looks to me like mapserver is treating it as 3857 despite passing a srs.
My request generated by OpenLayers at the full map extent is:
/cgi-bin/mapserv?map=mvt.map&SRS=EPSG:3738&mode=tile&tile=0+0+0&layers=ownership&map.imagetype=mvt
My extents are: 1622000 639000 2308000 1284700
My mapserver log looks like:
[Sat Oct 24 11:10:58 2020].947687 msTileSetParams(): tile_metatile_level = 0
[Sat Oct 24 11:10:58 2020].947690 msTileSetExtent(): gmaps coords (x: 0, y: 0, z: 0)
[Sat Oct 24 11:10:58 2020].947692 msTileSetExtent(): gmaps metacoords (x: 0, y: 0, z: 0)
[Sat Oct 24 11:10:58 2020].947695 msTileSetExtent(): base image size (256 x 256)
[Sat Oct 24 11:10:58 2020].947697 msTileSetExtent(): buffered image size (256 x 256)
[Sat Oct 24 11:10:58 2020].947700 msTileSetExtent (-19959236.823047, -19959236.823047) (19959236.823047, 19959236.823047)
There's obviously something that I'm not getting...
--
Richard W. Greenwood, PLS
www.greenwoodmap.com
_______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20201024/4b85ac71/attachment.htm>
More information about the MapServer-users
mailing list