[MapServer-users] zoom-to-extent on vector layers vs. on grouped layers

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Wed Mar 26 04:18:21 PDT 2025


Hi,

By "Both work fine separately", do you mean that you are satisfied with how your client does "zoom to layer" for the vector layer? Does the vector layer contain only one geometry, the footprint of one single raster file? Could you possibly share relevant parts of your mapfile?

-Jukka Rahkonen-

________________________________________
Lähettäjä: MapServer-users käyttäjän Maria Kallbach via MapServer-users puolesta
Lähetetty: Keskiviikko 26. maaliskuuta 2025 12.14
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: [MapServer-users] zoom-to-extent on vector layers vs. on grouped layers

Hi there,I have a vector layer from a PostGIS database and a raster layer from a local file. Both work fine separately. Both cover the same area (one is an aerial image, the other is the corresponding perimeter). But: When they are grouped into one (1) WMS layer the client's zoom-to-extent function are useless. Instead of the particular area it zooms to the full extent of the db's content. How?Cheers,Maria


More information about the MapServer-users mailing list