Map Data Instance
API endpoint that allows maps to be viewed and edited.
Filter fields
You can filter the result set by providing the following query parameters:
points
-- Filter by the points, if present. Supports the standard geographic lookup typeslines
-- Filter by the lines, if present. Supports the standard geographic lookup typespolys
-- Filter by the polygons, if present. Supports the standard geographic lookup typespage
-- Filter by page. Allows for chained filtering on all of the filters available on the page resource, e.g.page__slug
.region
-- Filter by region. Allows for chained filtering on all of the filters available on the region resource, e.g.region__slug
.length
-- Filter by length of the geography. Supports the standard lookup types
Ordering
You can order the result set by providing the ordering
query parameter with the value of one of:
length
You can reverse ordering by using the -
sign, e.g. -length
.
GET /api/v4/maps/116/
https://zh.localwiki.org/api/v4/maps/116/", "page": "https://zh.localwiki.org/api/v4/pages/1219/", "region": "https://zh.localwiki.org/api/v4/regions/1/", "points": null, "lines": null, "polys": { "type": "MultiPolygon", "coordinates": [ [ [ [ -92.30175709557, 35.363107490943 ], [ -92.299654243704, 35.362670021133 ], [ -92.296864746331, 35.362442535895 ], [ -92.296950577015, 35.354322643073 ], [ -92.298195122, 35.352992582805 ], [ -92.305619476551, 35.353692617255 ], [ -92.305147407764, 35.354357644363 ], [ -92.303302047967, 35.355582679962 ], [ -92.30313038659, 35.356282691962 ], [ -92.303688286059, 35.357122698351 ], [ -92.303216217273, 35.35820769367 ], [ -92.303688286061, 35.359397671775 ], [ -92.303387878648, 35.36023764576 ], [ -92.302443741075, 35.360307643198 ], [ -92.30175709557, 35.363107490943 ] ] ] ] }, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "coordinates": [ [ [ -92.30175709557, 35.363107490943 ], [ -92.299654243704, 35.362670021133 ], [ -92.296864746331, 35.362442535895 ], [ -92.296950577015, 35.354322643073 ], [ -92.298195122, 35.352992582805 ], [ -92.305619476551, 35.353692617255 ], [ -92.305147407764, 35.354357644363 ], [ -92.303302047967, 35.355582679962 ], [ -92.30313038659, 35.356282691962 ], [ -92.303688286059, 35.357122698351 ], [ -92.303216217273, 35.35820769367 ], [ -92.303688286061, 35.359397671775 ], [ -92.303387878648, 35.36023764576 ], [ -92.302443741075, 35.360307643198 ], [ -92.30175709557, 35.363107490943 ] ] ] } ] }, "length": 0.0342905020846 }{ "url": "