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

{
    "id": 27399,
    "ID": "E05000462",
    "name": "Hillside",
    "m_type": "ward",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -0.225352751039,
                    51.4192370844
                ],
                [
                    -0.204093333496,
                    51.4287477923
                ],
                [
                    -0.204093333496,
                    51.4228035999
                ],
                [
                    -0.206585816932,
                    51.4210203421
                ],
                [
                    -0.222127184239,
                    51.4115096343
                ],
                [
                    -0.225352751039,
                    51.4192370844
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -0.2146280036498464,
            51.42022958801902
        ]
    },
    "created_at": "2017-02-08T14:59:19.173431Z",
    "modified_at": "2019-10-26T12:24:55.732437Z",
    "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"
}