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/127/
https://zh.localwiki.org/api/v4/maps/127/", "page": "https://zh.localwiki.org/api/v4/pages/967/", "region": "https://zh.localwiki.org/api/v4/regions/1/", "points": null, "lines": null, "polys": { "type": "MultiPolygon", "coordinates": [ [ [ [ -92.441253422004, 35.090601023169 ], [ -92.441382168039, 35.090829271807 ], [ -92.440995929935, 35.090952174656 ], [ -92.440845726239, 35.091004847249 ], [ -92.440781353217, 35.090776599101 ], [ -92.439708469608, 35.091039962291 ], [ -92.439665554266, 35.09088194448 ], [ -92.440631149511, 35.090601023169 ], [ -92.440137623053, 35.089494886102 ], [ -92.43921494315, 35.089775811223 ], [ -92.439150570137, 35.089635348784 ], [ -92.44005179237, 35.089389538932 ], [ -92.439794300301, 35.088845243054 ], [ -92.439987419348, 35.088775011063 ], [ -92.440201996066, 35.089319307411 ], [ -92.44112467597, 35.089038380717 ], [ -92.441682575449, 35.09023231248 ], [ -92.44112467597, 35.090390331551 ], [ -92.441253422004, 35.090601023169 ] ] ] ] }, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "coordinates": [ [ [ -92.441253422004, 35.090601023169 ], [ -92.441382168039, 35.090829271807 ], [ -92.440995929935, 35.090952174656 ], [ -92.440845726239, 35.091004847249 ], [ -92.440781353217, 35.090776599101 ], [ -92.439708469608, 35.091039962291 ], [ -92.439665554266, 35.09088194448 ], [ -92.440631149511, 35.090601023169 ], [ -92.440137623053, 35.089494886102 ], [ -92.43921494315, 35.089775811223 ], [ -92.439150570137, 35.089635348784 ], [ -92.44005179237, 35.089389538932 ], [ -92.439794300301, 35.088845243054 ], [ -92.439987419348, 35.088775011063 ], [ -92.440201996066, 35.089319307411 ], [ -92.44112467597, 35.089038380717 ], [ -92.441682575449, 35.09023231248 ], [ -92.44112467597, 35.090390331551 ], [ -92.441253422004, 35.090601023169 ] ] ] } ] }, "length": 0.0111039971254 }{ "url": "