WMS GetFeatureInfo with GML output without WFS

Bart van den Eijnden (OSGIS) bartvde at OSGIS.NL
Fri Feb 16 06:26:29 PST 2007


I don't know of a way to do this.

You can however limit the number of features (server-side) that your WFS
will return, by using wfs_maxfeatures LAYER METADATA. You can try to set it
to 1 (or see if setting it to 0 works).

Would that be an option for you?

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl


--------- Oorspronkelijk bericht --------
Van: François Prunayre <fx.prunayre at OIEAU.FR>
Naar: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
Onderwerp: [UMN_MAPSERVER-USERS] WMS GetFeatureInfo with GML output without
WFS
Datum: 16/02/07 12:00

> 
> 
> 
> 
> 
> Hi list, what's the 
> configuration to be able to do a WMS GetFeatureInfo with output in GML
without 
> giving access to the layer in WFS ? 
>  
> If I follow the how 
> to :
> "For GetFeatureInfo requests of GML you must set 
> the layer to DUMP TRUE in the mapfile. As of MapServer 4.6 you must also
set the gml_* metadata for the layer attributes to be served (see the Layer 
> Object metadata in the Reference Section later in this document)."
> but then I'll be 
> able to do the GetFeatureInfo but also I'll activate the WFS. 
> 
>  
> Any ideas ? Maybe we 
> can't do that ?
>  
> Thanks for your 
> help. 
>  
> Francois
> 
> 
> This message has been scanned by the Trend Micro IGSA and found to be free
of known security risks.
> 
> 
> This message has been scanned by the Trend Micro IGSA and found to be free
of known security risks.
> 



More information about the MapServer-users mailing list