The Dog Park Locator API provides access to a wealth of data related to 18,096 dog parks and beaches around the world, ensuring a seamless experience for dog owners and enthusiasts seeking suitable outdoor spaces for their furry companions. Each endpoint returns GeoJSON data.
Endpoint: /nearby-basic
This endpoint offers a basic list of dog parks within a radius of up to 5 kilometers from a given reference coordinate. It returns essential information such as geographical coordinates, enabling users to quickly locate nearby dog-friendly areas.
Endpoint: /nearby-extended
The extended endpoint provides a more comprehensive view of dog parks. Users can retrieve detailed information about dog parks within a flexible radius of up to 50 kilometers from a specified reference coordinate. This includes coordinates, park features, distance calculated between specified reference coordinates and each park, and raw address.
Endpoint: /nearby-advanced-bbox
For a deeper understanding of dog parks, the advanced endpoint allows users to define a bounding box (width and height of the rectangle, calculated from length and latitude dimensions in a geographic coordinate system) and access comprehensive data about dog parks within the specified area. This includes geometry object (Point or Polygon), coordinates, park features, distance, current incidents within the park, and raw address.
Endpoint: /nearby-advanced-radius
For a deeper understanding of dog parks, the advanced endpoint allows users to define a radius of up to 200 kilometers and access comprehensive data about dog parks within the specified area. This includes geometry object (Point or Polygon), coordinates, park features, distance, current incidents within the park, and raw address.
All this information is based on user participation through the Pipican application (https://pipican.com) and OpenStreetMap (https://openstreetmap.org). Both the location, dimensions, park features, incidents, or changes in the facilities are collaboratively monitored by the application users.
Using Leaflet.js to get pipican BYBOX:
const width = this.mapObject.distance(bounds.getNorthWest(), bounds.getNorthEast()) / 1000;
const height = this.mapObject.distance(bounds.getNorthWest(), bounds.getSouthWest()) / 1000;