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

{
    "id": 45392,
    "ID": "E14000882DISTRICT",
    "name": "Poplar and Limehouse",
    "m_type": "district",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.0135509650478,
                    51.529883386
                ],
                [
                    -0.0078227363896,
                    51.5227296349
                ],
                [
                    -0.00281053631369,
                    51.5179604676
                ],
                [
                    0.00291769234449,
                    51.5085258105
                ],
                [
                    -0.00531663635165,
                    51.5048970962
                ],
                [
                    -0.00442160062381,
                    51.488308688
                ],
                [
                    -0.0217852937439,
                    51.4876866227
                ],
                [
                    -0.0282295509844,
                    51.4948403737
                ],
                [
                    -0.0282295509844,
                    51.5055191615
                ],
                [
                    -0.0452352298133,
                    51.5096662635
                ],
                [
                    -0.0584817585854,
                    51.5031345778
                ],
                [
                    -0.0683271515916,
                    51.5042750309
                ],
                [
                    -0.079783608908,
                    51.5079037452
                ],
                [
                    -0.0724443159397,
                    51.5109103941
                ],
                [
                    -0.0617038872056,
                    51.5150574962
                ],
                [
                    -0.0362848725349,
                    51.5126729125
                ],
                [
                    -0.0371799082628,
                    51.5244921533
                ],
                [
                    -0.0135509650478,
                    51.529883386
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.02639023335705151,
            51.509334555355046
        ]
    },
    "created_at": "2017-02-23T09:58:45.950089Z",
    "modified_at": "2018-09-02T18:04:35.120967Z",
    "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"
}