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:

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/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, DELETE, HEAD, OPTIONS, PATCH
{ "url": "https://ja.localwiki.org/api/v4/maps/127/", "page": "https://ja.localwiki.org/api/v4/pages/967/", "region": "https://ja.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 }