Code Monkey home page Code Monkey logo

Comments (4)

mborne avatar mborne commented on August 21, 2024

Bonjour,

En regardant le GetMap correspondant :

https://wxs-gpu.mongeoportail.ign.fr/externe/vkd1evhid6jdj5h4hkhyzjto/wms/v?REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SERVICE=WMS&FORMAT=image%2Fpng&SRS=EPSG%3A3857&WIDTH=760&HEIGHT=604&X=450&Y=282&LAYERS=zone_secteur%2Cprescription%2Cinfo&BBOX=-214908.101573%2C6145916.111853%2C-200385.066199%2C6157458.103124

...je pense qu'il n'y a pas de données en X=450&Y=282 . En testant en X=200,Y=200, je vois un résultat :

https://wxs-gpu.mongeoportail.ign.fr/externe/vkd1evhid6jdj5h4hkhyzjto/wms/v?REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SERVICE=WMS&INFO_FORMAT=application%2Fjson&SRS=EPSG%3A3857&FEATURE_COUNT=200&WIDTH=760&HEIGHT=604&X=200&Y=200&LAYERS=zone_secteur%2Cprescription%2Cinfo&QUERY_LAYERS=zone_secteur%2Cprescription%2Cinfo&BBOX=-214908.101573%2C6145916.111853%2C-200385.066199%2C6157458.103124

Sinon, pour récupérer les données vectorielles en GeoJSON, il me semble préférable de s'appuyer plutôt sur le WFS du GpU (voir page services), voire sur le module GpU de APICARTO qui simplifie l'accès à celui-ci.

(Cette documentation gagnera à être mise à jour sur ce point, mais nos efforts se concentrent actuellement sur la stabilité des flux)

from geoportail-urbanisme-dev.

axelsrv avatar axelsrv commented on August 21, 2024

D'accord merci, vous savez a quoi corresponde les X et Y sur une MAP ? ou bien si il y a possibilité de récupérer pour toute la France en une fois ?

from geoportail-urbanisme-dev.

mborne avatar mborne commented on August 21, 2024

D'accord merci, vous savez a quoi corresponde les X et Y sur une MAP ?

X et Y de GetFeatureInfo correspondent aux coordonnées dans l'image renvoyée par un GetMap (c.f. https://docs.geoserver.org/stable/en/user/services/wms/reference.html#getfeatureinfo )

ou bien si il y a possibilité de récupère pour tout la France en une fois ?

Pour récupérer les données sur toute la France, il faudra plutôt passer par le WFS en exploitant la pagination.

from geoportail-urbanisme-dev.

axelsrv avatar axelsrv commented on August 21, 2024

Merci beaucoup !

from geoportail-urbanisme-dev.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.