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@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
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to