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

{
    "id": 29087,
    "ID": "E05001541",
    "name": "Newtown",
    "m_type": "ward",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -1.32175222956,
                    54.563969629
                ],
                [
                    -1.32996276323,
                    54.566432223
                ],
                [
                    -1.3381732969,
                    54.5711875769
                ],
                [
                    -1.3365605135,
                    54.5806982848
                ],
                [
                    -1.32585749639,
                    54.5847743025
                ],
                [
                    -1.31691387936,
                    54.5771317693
                ],
                [
                    -1.31530109596,
                    54.5747540924
                ],
                [
                    -1.32175222956,
                    54.563969629
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -1.327049705322154,
            54.57441553639581
        ]
    },
    "created_at": "2017-02-08T15:02:55.103684Z",
    "modified_at": "2018-11-22T19:37:31.878610Z",
    "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"
}