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

{
    "id": 44388,
    "ID": "W05000584",
    "name": "Resolven",
    "m_type": "ward",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -3.7321303289,
                    51.6758563631
                ],
                [
                    -3.74415289606,
                    51.6847726518
                ],
                [
                    -3.74297996268,
                    51.6882542502
                ],
                [
                    -3.73476942901,
                    51.6954721982
                ],
                [
                    -3.73755514579,
                    51.7082097534
                ],
                [
                    -3.73476942901,
                    51.7121159369
                ],
                [
                    -3.71453632817,
                    51.726976418
                ],
                [
                    -3.70046112759,
                    51.7267216669
                ],
                [
                    -3.68447991027,
                    51.7148332821
                ],
                [
                    -3.6756829099,
                    51.72205123
                ],
                [
                    -3.66483327612,
                    51.7251082433
                ],
                [
                    -3.64606634202,
                    51.7110969325
                ],
                [
                    -3.63638964162,
                    51.7152578672
                ],
                [
                    -3.6182091742,
                    51.7110969325
                ],
                [
                    -3.65295732563,
                    51.6865559095
                ],
                [
                    -3.66395357609,
                    51.6818005556
                ],
                [
                    -3.6665926762,
                    51.6807815512
                ],
                [
                    -3.69928819421,
                    51.6826497259
                ],
                [
                    -3.71365662814,
                    51.6771301187
                ],
                [
                    -3.7321303289,
                    51.6758563631
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -3.6895584963814363,
            51.70119643129464
        ]
    },
    "created_at": "2017-02-08T15:28:40.424756Z",
    "modified_at": "2017-03-30T16:02:14.725754Z",
    "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 Ward"
}