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

{
    "id": 45149,
    "ID": "E14000639DISTRICT",
    "name": "Cities of London and Westminster",
    "m_type": "district",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.150133417116,
                    51.4853020391
                ],
                [
                    -0.155861645774,
                    51.4977433452
                ],
                [
                    -0.162305903015,
                    51.5001279288
                ],
                [
                    -0.179669596135,
                    51.4977433452
                ],
                [
                    -0.187724917686,
                    51.5102883288
                ],
                [
                    -0.185397824793,
                    51.5198266635
                ],
                [
                    -0.167318103091,
                    51.5239737655
                ],
                [
                    -0.14673228135,
                    51.5251142186
                ],
                [
                    -0.127936531066,
                    51.5126729125
                ],
                [
                    -0.105202623579,
                    51.5185825329
                ],
                [
                    -0.0855118375662,
                    51.5203450513
                ],
                [
                    -0.0781725445979,
                    51.5215891819
                ],
                [
                    -0.0724443159397,
                    51.5109103941
                ],
                [
                    -0.079783608908,
                    51.5079037452
                ],
                [
                    -0.0994743949205,
                    51.5109103941
                ],
                [
                    -0.11970220237,
                    51.5085258105
                ],
                [
                    -0.124714402446,
                    51.4924557901
                ],
                [
                    -0.132053695414,
                    51.4859241044
                ],
                [
                    -0.149238381388,
                    51.4853020391
                ],
                [
                    -0.150133417116,
                    51.4853020391
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.14103145940468487,
            51.508308998401034
        ]
    },
    "created_at": "2017-02-23T09:58:07.995417Z",
    "modified_at": "2019-09-03T09:17:38.875038Z",
    "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 Constituency"
}