I wonder if there is any API I could query OSM data through, for example; Are (lon_1, lat_1) at land or at sea? Or could it be possible to get an island as a well-defined polygon? The only usage I've seen so far has just been tools for rendering OSM data (generating tiles).
相关问题
- Google places autocomplete suggestion without coun
- Karate API Testing - Access variable value across
- How to verify laravel passport api token in node /
- Converting byte array output into Blob corrupts fi
- How to handle “App is temporarily blocked from log
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Getting all listing images from an Etsy shop
- Is there an API to get statictics on Google Play d
- How to search specific user's tracks by tag wi
- Django REST Framework - OAuth2 Consumer API from e
MapQuest has a set of 'Open' web service APIs based on OpenStreetMap data with fairly unrestrictive Terms (i.e. the Terms follow closely to that of OSM):
http://developer.mapquest.com/web/products/open
You can use CloudMade's Geocoding API to search for an island in the OpenStreetMap data. The API will return the geometry of the result by default, and this sounds to me what you are looking for. For example, Arran off the coast of Scotland can be found by the following http request:
http://geocoding.cloudmade.com/BC9A493B41014CAABB98F0471D759707/geocoding/find/Arran,UK.js?results=1
(and as a neat little hack, changing the .js to .html previews the result.
More docs and examples on the API are at developers.cloudmade.com/projects/show/geocoding-http-api If you don't want to use the http api, then abstraction APIs are available in multiple languages - ruby, python, perl and others.