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/45416/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 45416,
    "ID": "E14000906DISTRICT",
    "name": "Ruislip, Northwood and Pinner",
    "m_type": "district",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.477358479215,
                    51.5596388431
                ],
                [
                    -0.494543165189,
                    51.5845214553
                ],
                [
                    -0.500271393847,
                    51.5994510226
                ],
                [
                    -0.495438200917,
                    51.6184240145
                ],
                [
                    -0.487919900803,
                    51.6268218961
                ],
                [
                    -0.469124150519,
                    51.6167651736
                ],
                [
                    -0.455161593164,
                    51.6126180716
                ],
                [
                    -0.440662014373,
                    51.6202902104
                ],
                [
                    -0.399669378038,
                    51.6131364594
                ],
                [
                    -0.378367527716,
                    51.6179056267
                ],
                [
                    -0.368522134709,
                    51.6208085981
                ],
                [
                    -0.355633620228,
                    51.6095077451
                ],
                [
                    -0.350621420153,
                    51.6000730879
                ],
                [
                    -0.365300006089,
                    51.6071231614
                ],
                [
                    -0.375145399095,
                    51.6000730879
                ],
                [
                    -0.370133199019,
                    51.5934377247
                ],
                [
                    -0.385706820684,
                    51.5709396961
                ],
                [
                    -0.388212920722,
                    51.5774713818
                ],
                [
                    -0.399669378038,
                    51.5786118349
                ],
                [
                    -0.440662014373,
                    51.5637859451
                ],
                [
                    -0.432427685677,
                    51.5560101288
                ],
                [
                    -0.438155914335,
                    51.5507225737
                ],
                [
                    -0.477358479215,
                    51.5596388431
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.437324000748103,
            51.592433821960846
        ]
    },
    "created_at": "2017-02-23T09:58:49.471009Z",
    "modified_at": "2019-07-15T09:12:13.825322Z",
    "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"
}