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/125/
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/125/", "page": "https://ja.localwiki.org/api/v4/pages/1247/", "region": "https://ja.localwiki.org/api/v4/regions/1/", "points": null, "lines": null, "polys": { "type": "MultiPolygon", "coordinates": [ [ [ [ -92.454117296632, 35.141317959987 ], [ -92.453773973879, 35.140054588773 ], [ -92.453001497681, 35.139212330403 ], [ -92.454546450077, 35.138019116128 ], [ -92.457808016237, 35.136896074952 ], [ -92.458923815187, 35.135773018283 ], [ -92.459696291385, 35.134298982896 ], [ -92.455018518864, 35.133210987279 ], [ -92.449096201358, 35.132298463615 ], [ -92.447808741031, 35.130192600746 ], [ -92.443774698674, 35.131526320219 ], [ -92.433131693296, 35.130754169503 ], [ -92.419742105897, 35.130683973619 ], [ -92.413476465638, 35.131315734386 ], [ -92.41244649738, 35.130052207951 ], [ -92.408755777776, 35.129771421637 ], [ -92.405751703676, 35.130052207951 ], [ -92.400859354437, 35.129841618306 ], [ -92.400344370308, 35.132228269064 ], [ -92.410815714301, 35.132298463615 ], [ -92.411931513251, 35.134965811734 ], [ -92.418883799015, 35.135667730926 ], [ -92.424720285829, 35.137282122103 ], [ -92.430299280582, 35.138334968667 ], [ -92.43570661395, 35.139177236115 ], [ -92.439483164248, 35.140159870456 ], [ -92.43570661395, 35.142826961019 ], [ -92.440856455267, 35.144230657792 ], [ -92.444461344179, 35.144511394242 ], [ -92.450040338933, 35.144511394242 ], [ -92.454932688172, 35.142826961019 ], [ -92.455533502993, 35.141914545135 ], [ -92.454761026795, 35.141633799727 ], [ -92.454117296632, 35.141317959987 ] ] ] ] }, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "coordinates": [ [ [ -92.454117296632, 35.141317959987 ], [ -92.453773973879, 35.140054588773 ], [ -92.453001497681, 35.139212330403 ], [ -92.454546450077, 35.138019116128 ], [ -92.457808016237, 35.136896074952 ], [ -92.458923815187, 35.135773018283 ], [ -92.459696291385, 35.134298982896 ], [ -92.455018518864, 35.133210987279 ], [ -92.449096201358, 35.132298463615 ], [ -92.447808741031, 35.130192600746 ], [ -92.443774698674, 35.131526320219 ], [ -92.433131693296, 35.130754169503 ], [ -92.419742105897, 35.130683973619 ], [ -92.413476465638, 35.131315734386 ], [ -92.41244649738, 35.130052207951 ], [ -92.408755777776, 35.129771421637 ], [ -92.405751703676, 35.130052207951 ], [ -92.400859354437, 35.129841618306 ], [ -92.400344370308, 35.132228269064 ], [ -92.410815714301, 35.132298463615 ], [ -92.411931513251, 35.134965811734 ], [ -92.418883799015, 35.135667730926 ], [ -92.424720285829, 35.137282122103 ], [ -92.430299280582, 35.138334968667 ], [ -92.43570661395, 35.139177236115 ], [ -92.439483164248, 35.140159870456 ], [ -92.43570661395, 35.142826961019 ], [ -92.440856455267, 35.144230657792 ], [ -92.444461344179, 35.144511394242 ], [ -92.450040338933, 35.144511394242 ], [ -92.454932688172, 35.142826961019 ], [ -92.455533502993, 35.141914545135 ], [ -92.454761026795, 35.141633799727 ], [ -92.454117296632, 35.141317959987 ] ] ] } ] }, "length": 0.143078117084 }