[Geomoose-users] Parcel Popup... slight issue if the .map file has several open layers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Geomoose-users] Parcel Popup... slight issue if the .map file has several open layers

Mark  Volz

Hello,

 

I have a slight problem with the floating popups for my parcel layer.  It appears that geoMOOSE attempts to create a popup for ALL of the active layers that are in the same .map file as the parcel layer.  I would have otherwise expected it to only create popups for only the parcel layer.

 

This is not an issue with the geoMOOSE demo because the parcels are contained within their own map file.  However, I have my layers all combined in a single map file (for label collision avoidance), and that is causing issues for my parcel popups.

 

Question:  Is there a way to configure the parcel popups to only query the parcel layer instead of all of the active layers in my AllLayers.map file?

 

In the snipped below you might notice that Mapserver is querying against 7 layers when I turn the parcel popup functionaly on.  I only need it to query the parcel layer:

 

http://localhost/cgi-bin/mapserv.exe?

LAYERS=Parcels%2Croads%2CSections%2Crivers%2Cstreams%2Clakes%2CCityLimits&

QUERY_LAYERS=Parcels%2Croads%2CSections%2Crivers%2Cstreams%2Clakes%2CCityLimits&

…..

REQUEST=GetFeatureInfo&

…..

MAP=%2Fms4w%2Fapps%2Fgeomoose2%2Fmaps%2F%2FAllLayers.map&

TRANSPARENT=TRUE

 

Thank You!

Sincerely,

Mark Volz, GISP

Lyon County GIS Coordinator


_______________________________________________
Geomoose-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Geomoose-users] Parcel Popup... slight issue if the .map file has several open layers

blammo
We solved this in the past by setting up a separate mapfile for each layer for Query purposes only, then you can leave the single mapfile for the display of layers.  You can also filter by WFS to some degree depending on how you set up your mapfile.

You should be able to asjust the layer list in the query as well, but that’s some programming stuff.

On Mar 17, 2017, at 1:21 PM, Mark Volz <[hidden email]> wrote:

Hello,
 
I have a slight problem with the floating popups for my parcel layer.  It appears that geoMOOSE attempts to create a popup for ALL of the active layers that are in the same .map file as the parcel layer.  I would have otherwise expected it to only create popups for only the parcel layer.
 
This is not an issue with the geoMOOSE demo because the parcels are contained within their own map file.  However, I have my layers all combined in a single map file (for label collision avoidance), and that is causing issues for my parcel popups.
 
Question:  Is there a way to configure the parcel popups to only query the parcel layer instead of all of the active layers in my AllLayers.map file?
 
In the snipped below you might notice that Mapserver is querying against 7 layers when I turn the parcel popup functionaly on.  I only need it to query the parcel layer:
 
LAYERS=Parcels%2Croads%2CSections%2Crivers%2Cstreams%2Clakes%2CCityLimits&
QUERY_LAYERS=Parcels%2Croads%2CSections%2Crivers%2Cstreams%2Clakes%2CCityLimits&
…..
REQUEST=GetFeatureInfo&
…..
MAP=%2Fms4w%2Fapps%2Fgeomoose2%2Fmaps%2F%2FAllLayers.map&
TRANSPARENT=TRUE
 
Thank You!
Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator
_______________________________________________
Geomoose-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users



"Glory is fleeting, but obscurity is forever." 
- Napoleon Bonaparte




_______________________________________________
Geomoose-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geomoose-users
Loading...