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

{
    "id": 27406,
    "ID": "E05000466",
    "name": "Merton Park",
    "m_type": "ward",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.202480550096,
                    51.4144817305
                ],
                [
                    -0.186939182789,
                    51.4061598611
                ],
                [
                    -0.194270016425,
                    51.4019989264
                ],
                [
                    -0.19998806666,
                    51.3972435724
                ],
                [
                    -0.213916650568,
                    51.4091319573
                ],
                [
                    -0.202480550096,
                    51.4144817305
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.20077536348007233,
            51.406531779133594
        ]
    },
    "created_at": "2017-02-08T14:59:19.980349Z",
    "modified_at": "2019-03-03T23:01:52.447102Z",
    "parent": 59,
    "parent_url": "https://api.represent.me/api/simple_geos/59/?format=api",
    "user": null,
    "user_id": null,
    "popolo_area_id": null,
    "mongo_id": null,
    "type_description": "Westminster Parliamentary Ward"
}