[OSM-talk-fr] posgresql > geojson > umap
osm.sanspourriel at spamgourmet.com
osm.sanspourriel at spamgourmet.com
Mer 13 Nov 11:48:25 UTC 2019
A priori tu utilises MapServer.
Je ne sais quelle version, voici ce que je lis sur la doc
<https://mapserver.org/ogc/wms_server.html> de la version courante :
/And support for the following types is optional:/
//
1.
/*GetFeatureInfo:*//return info about feature(s) at a query (mouse
click) location. MapServer supports 3 types of responses to this
request:/
//
*
/text/plain output with attribute info./
*
/text/html output using MapServer query templates (see
//Templating
<https://mapserver.org/mapfile/template.html#template>//)
specified in the //CLASS
<https://mapserver.org/mapfile/class.html#class>//TEMPLATE
parameter (the filename has to have an .html extension). The
MIME type returned by the Class templates defaults to text/html
and can be controlled using the metadata
“wms_feature_info_mime_type”./
*
/application/vnd.ogc.gml, GML.1 or GML for GML features./
Je n'utilise pas MapServer, mais ça doit être comme dans GeoServer, tu
dis pour chaque couche si elle est interrogeable (de mémoire
queryable=yes) et si en plus des paramètres classiques d'une requête WMS
tu mets les coordonnées de la souris (x, y), il te rend non une image
mais des infos sur que ce tu as cette position à la WFS.
Je ne sais si "optional" vuet dire ici que ça dépend uniquement de la
configuration des couches ou aussi des options de compilation de MapServer.
Jean-Yvon
Le 13/11/2019 à 11:52, Tony Emery via Talk-fr -
talk-fr at openstreetmap.org a écrit :
> un wms interrogeable, ça, ça m'intéresse.
> Du coup, le paramétrage se fait sur le serveur de notre webSIG ?
>
> Actuellement, j'ai ça :
> <GetFeatureInfo>
> <Format>text/html</Format>
> <Format>application/vnd.ogc.gml</Format>
> <Format>text/plain</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="https://vmap.ccpro.fr/wms/public/FluxPublic?"/></Get>
> <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="https://vmap.ccpro.fr/wms/public/FluxPublic?"/></Post>
> </HTTP>
> </DCPType>
> </GetFeatureInfo>
>
> Que dois-je modifier ?
>
>
>
> -----
> Tony EMERY
> OpenStreetMap.fr
> Ingénieur SIG
> --
> Sent from: http://gis.19327.n8.nabble.com/France-f5380434.html
>
> _______________________________________________
> Talk-fr mailing list
> Talk-fr at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-fr
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20191113/21b59b4c/attachment.htm>
Plus d'informations sur la liste de diffusion Talk-fr