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

{
    "id": 39847,
    "ID": "E05007294",
    "name": "Holy Trinity",
    "m_type": "ward",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.525623696747,
                    51.2330989444
                ],
                [
                    -0.537206413891,
                    51.2218049788
                ],
                [
                    -0.537939497255,
                    51.2170496249
                ],
                [
                    -0.560078614834,
                    51.2158607864
                ],
                [
                    -0.577232765541,
                    51.224777075
                ],
                [
                    -0.571514715305,
                    51.2432889886
                ],
                [
                    -0.560078614834,
                    51.2414208138
                ],
                [
                    -0.554360564598,
                    51.2361559577
                ],
                [
                    -0.54527033089,
                    51.2378542984
                ],
                [
                    -0.524890613384,
                    51.2367503769
                ],
                [
                    -0.525623696747,
                    51.2330989444
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.5533857931374921,
            51.228873024793145
        ]
    },
    "created_at": "2017-02-08T15:20:06.032690Z",
    "modified_at": "2017-06-06T23:22:12.795621Z",
    "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"
}