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

{
    "id": 45230,
    "ID": "E14000720DISTRICT",
    "name": "Hackney North and Stoke Newington",
    "m_type": "district",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.104307587851,
                    51.5649263982
                ],
                [
                    -0.0944621948446,
                    51.5733242798
                ],
                [
                    -0.0609878586233,
                    51.5779897696
                ],
                [
                    -0.0452352298133,
                    51.5620234267
                ],
                [
                    -0.0436241655032,
                    51.5524850921
                ],
                [
                    -0.0683271515916,
                    51.5512409614
                ],
                [
                    -0.0765614802878,
                    51.5459534063
                ],
                [
                    -0.0912400662243,
                    51.5601572308
                ],
                [
                    -0.104307587851,
                    51.5649263982
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.07145363876330141,
            51.56322264385092
        ]
    },
    "created_at": "2017-02-23T09:58:20.907490Z",
    "modified_at": "2018-11-16T05:36:08.797134Z",
    "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"
}