WMS GetFeatureInfo with GML output without WFS

François Prunayre fx.prunayre at OIEAU.FR
Fri Feb 16 09:49:38 EST 2007


Could be useful but I need to update to 4.9. 
        #wfs_maxfeatures "0"
If I use gml_geometries "none" 
Return only BBOX of object and a
<!--
 Warning: Cannot write geometry- no point/multipoint geometry defined. 
-->
Instead of geometry when asking for WFS query. Maybe I'll block at the
webserver level. 

Thanks. Francois

-----Message d'origine-----
De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la
part de Bart van den Eijnden (OSGIS)
Envoyé : vendredi 16 février 2007 15:26
À : MAPSERVER-USERS at LISTS.UMN.EDU
Objet : Re: [UMN_MAPSERVER-USERS] WMS GetFeatureInfo with GML output without
WFS

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 ?&nbsp; &nbsp; 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. 
> 
> &nbsp;
> Any ideas ? Maybe we
> can't do that ?
> &nbsp;
> Thanks for your
> help. 
> &nbsp;
> 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.
> 

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.



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