[MS4W-Users] URL with X and Y position and level

TC Haddad tchaddad at gmail.com
Sat Aug 8 14:39:00 EDT 2020


Hi Markus,

Yes in order to download tiles, you first have to make them with MapCache.
The general order of operations would be:

- enable the map layers you want to be called via WMS using a single GROUP
name in Mapserver
- register the map WMS in MapCache configuration and set up the tile scheme
- enable MapCache in the Apache config file and then restart Apache
- test the MapCache URL to confirm that tiles are being generated

That's the simplified list of steps. Relevant files in MS4W:

- your map files containing your layers (wherever you keep them)
- MapCache configuration : C:\ms4w\apps\mapcache\mapcache.xml
- Apache configuration: C:\ms4w\Apache\conf\httpd.conf

For the docs check out:
https://mapserver.org/ogc/wms_server.html
https://mapserver.org/mapfile/layer.html
https://mapserver.org/mapcache/config.html
https://ms4w.com/README_INSTALL.html#mapcache-apache-module

hope this is a good start!





On Sat, Aug 8, 2020 at 4:49 AM Markus via MS4W-Users <
ms4w-users at lists.ms4w.com> wrote:

>
>
>
> ---------- Forwarded message ----------
> From: <m at zeiteisen.net>
> To: "'Discussions for MS4W (MapServer for Windows)'" <
> ms4w-users at lists.ms4w.com>
> Cc:
> Bcc:
> Date: Sat, 8 Aug 2020 13:48:06 +0200
> Subject: URL with X and Y position and level
>
> Hello!
>
>
>
> I want to use a gps tracker mobile app to download png tiles from my MS4W
> server and I would need to use URL in a style like
>
>
>
> http://myserver/something/[Z]/[X]/[Y]
>
>
>
> so X and Y position and level.
>
>
>
> With MS4W is that possible at all and if so what direction do I need look
> into?
>
> Is that the MapCache Tile server?
>
>
>
> Thank you
>
> Markus
>
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Markus via MS4W-Users <ms4w-users at lists.ms4w.com>
> To: "'Discussions for MS4W (MapServer for Windows)'" <
> ms4w-users at lists.ms4w.com>
> Cc: m at zeiteisen.net
> Bcc:
> Date: Sat, 8 Aug 2020 13:48:06 +0200
> Subject: [MS4W-Users] URL with X and Y position and level
> _______________________________________________
> MS4W-Users mailing list
> MS4W-Users at lists.ms4w.com
> https://lists.ms4w.com/mailman/listinfo/ms4w-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ms4w.com/pipermail/ms4w-users/attachments/20200808/6f649f59/attachment.htm>


More information about the MS4W-Users mailing list