3

So I have worked with OSM in the past and have been really happy with the API of Overpass turbo. Now I want to integrate some other data and that one is provided via WFS.

Why is some geodata offered in WFS and other via API?

Is there any difference for me as a Python developer between the two services?

1
  • 1
    what is a simple API?
    – nmtoken
    Jul 1 '19 at 17:30
6

A WFS is just an API but conveniently one where everyone has agreed a standard way of talking to it beforehand. So rather than having to read a new bunch of documentation and write some new code for every new dataset you would like to add to your client you can pull in a library that has implemented the standard and use that.

As to why you might offer people access to your data that way, probably because using standards allows the most people using the widest variety of software (both open and proprietary) to access it without having to develop (or purchase) a new client. It is also the cheapest way to serve data because there are already well tested standard servers that will convert your existing data into a standard format and API for people to use.

1
  • great answer thanks!
    – Leo
    Jul 1 '19 at 11:14

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