0

What is the best service to use when requesting data for a specific point? For example we have graphical data that we can expose using any of the services. If we want to build a request url that uses a lat/lon point or even an airport ID, which service would be optimal? We want to provide known points within the request.

4
  • All allow requests by lat lon.
    – nmtoken
    Commented Feb 6, 2019 at 14:26
  • @nmtoken can you provide a dummy url request that uses lat lon in WMS?
    – Jotter
    Commented Feb 6, 2019 at 18:47
  • it's done using the BBOX parameter, where the CRS is specified in degrees like EPSG:4326 like: ogc2.bgs.ac.uk/cgi-bin/UGA_ARGI/…
    – nmtoken
    Commented Feb 6, 2019 at 19:24
  • And info on a feature at a pixel location would be: ogc2.bgs.ac.uk/cgi-bin/UGA_ARGI/…
    – nmtoken
    Commented Feb 6, 2019 at 19:29

1 Answer 1

2

If query by airport ID is a requirement then WFS is the only solution. WMS and WCS does not support queries by attributes. WMS GetFeatureInfo supports only query by a point and even then some tweaking would be needed for making it to work with lat/lon coordinates. WCS is all wrong service for your needs because it can only deliver coverages (usually raster data) but not information about features.

I would go with WFS with PropertyIsEqualTo of PropertyIsLike filters for attributes and DWithin filter for searching features nearby.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.