FAQ

What is Bosun’s Water Check?

Bosun’s Water Check is a geospatial service tailored for developers, geographers, and enthusiasts working on projects that leverage OpenStreetMap (OSM) and OpenSeaMap. It primarily helps in identifying the presence of water at any given latitude and longitude coordinates, along with providing essential information regarding the corresponding OSM tile for the specified coordinates.

What features does Bosun’s Water Check offer?

  • Water Detection: Accurately detect the presence of water at specified geographical coordinates.
  • OSM Tile Information: Acquire comprehensive insights on the targeted OSM tile, including its URL, and the range of latitude and longitude it covers.
  • Ease of Use: A straightforward API endpoint which simplifies integration into existing projects or applications.
  • RapidAPI Integration: The service is hosted on RapidAPI for easy access, usage monitoring, and support.

How can I check for water presence at specified coordinates?

Use the /isWater endpoint with the required parameters lat for latitude and lng for longitude. For instance: GET /isWater?lat=52.5200&lng=13.4050. The response will be a JSON object indicating whether water is detected at the specified coordinates or not.

How can I obtain OSM tile URL and coordinates for a specified location?

Utilize the /osmTileUrlByLatLng endpoint with the required parameters lat, lng, and optionally zoom. For example: GET /osmTileUrlByLatLng?lat=52.5200&lng=13.4050&zoom=11. The response will provide the OSM tile URL along with its corresponding tile coordinates.

How do I retrieve the OSM tile URL using OSM coordinate values?

You can use the /osmTileUrlByXYZ endpoint with required parameters x, y, and zoom. For example: GET /osmTileUrlByXYZ?x=1302&y=694&zoom=11. The response will provide the OSM tile URL along with its corresponding tile coordinates.

How do I get detailed information about an OSM tile using its URL?

Utilize the /osmTileDetailsByUrl endpoint with the required parameter url. For example: GET /osmTileDetailsByUrl?url=https://tile.openstreetmap.org/11/1302/694.png. The response will provide extensive information about the specified OSM tile.