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

{
    "id": 12088,
    "ID": "LONDON",
    "name": "London",
    "m_type": "city",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.5273437499265718,
                    51.64358968084485
                ],
                [
                    -0.3598022460436479,
                    51.74913908267903
                ],
                [
                    -0.1510620116976899,
                    51.694692711888365
                ],
                [
                    0.12634277341996614,
                    51.704906400786356
                ],
                [
                    0.31585693354982625,
                    51.56682701023706
                ],
                [
                    0.25268554683985595,
                    51.430039441947855
                ],
                [
                    0.16479492185211092,
                    51.28940589749855
                ],
                [
                    -0.08514404295688113,
                    51.23784668392773
                ],
                [
                    -0.24719238277802646,
                    51.24988234053478
                ],
                [
                    -0.3433227538584139,
                    51.29284112210898
                ],
                [
                    -0.45867919915487376,
                    51.30314525398056
                ],
                [
                    -0.5575561522660996,
                    51.36320660059462
                ],
                [
                    -0.5740356444513081,
                    51.467696951000626
                ],
                [
                    -0.5273437499265718,
                    51.48993451827838
                ],
                [
                    -0.5603027342969634,
                    51.56511969889904
                ],
                [
                    -0.5493164061735081,
                    51.58560320393513
                ],
                [
                    -0.5273437499265718,
                    51.64358968084485
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.14705218544701582,
            51.489459281219816
        ]
    },
    "created_at": "2016-04-06T12:47:29Z",
    "modified_at": "2019-11-27T16:52:41.998897Z",
    "parent": null,
    "parent_url": null,
    "user": null,
    "user_id": null,
    "popolo_area_id": null,
    "mongo_id": "",
    "type_description": null
}