Use to view Geographic area - including GEOJSON

to find by name:

http://localhost:8000/api/simple_geos/?search=united+kingdom

or

http://localhost:8000/api/simple_geos/?name__icontains=united+kingdom

to find by geoid:

http://localhost:8000/api/simple_geos/?ID=GBR

or filter by type, and order by name

http://localhost:8000/api/simple_geos/?m_type=country&ordering=name

or find geoms contained by a box

http://localhost:8000/api/simple_geos/?contains_geom={ "type": "Point", "coordinates": [ -123.26436996459961, 44.564178042345375 ] }

POST:

{
"ID": "",
"name": "Name",
"m_type": "district",
"user": 1,
"parent": 1,
"location":"",
"geom":"",
"type_description": "any decription"
}
GET /api/geos/45255/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 45255,
    "ID": "E14000745DISTRICT",
    "name": "Hertsmere",
    "m_type": "district",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.254852597274,
                    51.7296700266
                ],
                [
                    -0.240890039919,
                    51.7159845899
                ],
                [
                    -0.240890039919,
                    51.7106970348
                ],
                [
                    -0.217977125287,
                    51.7136000062
                ],
                [
                    -0.172151296021,
                    51.7029212185
                ],
                [
                    -0.163200938743,
                    51.700018247
                ],
                [
                    -0.163200938743,
                    51.6880953287
                ],
                [
                    -0.163200938743,
                    51.685710745
                ],
                [
                    -0.172151296021,
                    51.6732694389
                ],
                [
                    -0.181996689027,
                    51.6685002716
                ],
                [
                    -0.191126053451,
                    51.6637311042
                ],
                [
                    -0.20329853935,
                    51.6702627899
                ],
                [
                    -0.20813173228,
                    51.6631090389
                ],
                [
                    -0.250019404343,
                    51.6548148348
                ],
                [
                    -0.257358697312,
                    51.6417514634
                ],
                [
                    -0.2679201189,
                    51.6422698512
                ],
                [
                    -0.295666226463,
                    51.6352197777
                ],
                [
                    -0.304795590887,
                    51.6363602308
                ],
                [
                    -0.316968076786,
                    51.6405073328
                ],
                [
                    -0.349010355842,
                    51.6268218961
                ],
                [
                    -0.362793906051,
                    51.6231931818
                ],
                [
                    -0.383200720646,
                    51.6482831491
                ],
                [
                    -0.385706820684,
                    51.6648715573
                ],
                [
                    -0.368522134709,
                    51.678556994
                ],
                [
                    -0.378367527716,
                    51.6880953287
                ],
                [
                    -0.375145399095,
                    51.6922424307
                ],
                [
                    -0.358855748849,
                    51.6904799124
                ],
                [
                    -0.353843548773,
                    51.6987741164
                ],
                [
                    -0.336658862798,
                    51.6976336634
                ],
                [
                    -0.322696305444,
                    51.6933828838
                ],
                [
                    -0.309628783817,
                    51.6981520511
                ],
                [
                    -0.302289490849,
                    51.7083124511
                ],
                [
                    -0.280271611944,
                    51.7172287205
                ],
                [
                    -0.289042962077,
                    51.7279075082
                ],
                [
                    -0.284209769147,
                    51.7332987409
                ],
                [
                    -0.262191890242,
                    51.7368237776
                ],
                [
                    -0.254852597274,
                    51.7296700266
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.2809220990222296,
            51.677464291428706
        ]
    },
    "created_at": "2017-02-23T09:58:24.810782Z",
    "modified_at": "2018-12-17T19:12:51.433140Z",
    "parent": 59,
    "parent_url": "https://api.represent.me/api/simple_geos/59/",
    "user": null,
    "user_id": null,
    "popolo_area_id": null,
    "mongo_id": null,
    "type_description": "Westminster Parliamentary Constituency"
}