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

{
    "id": 2513,
    "ID": "10430",
    "name": "South West",
    "m_type": "region",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    103.8063510216822,
                    1.324884494823579
                ],
                [
                    103.8076455741839,
                    1.311938974304198
                ],
                [
                    103.806998297933,
                    1.30352438574181
                ],
                [
                    103.809587402037,
                    1.293815245577079
                ],
                [
                    103.8192965422017,
                    1.283458829161702
                ],
                [
                    103.8283584070149,
                    1.278280620953879
                ],
                [
                    103.8400093750327,
                    1.273749688996958
                ],
                [
                    103.8469344408859,
                    1.271918036094277
                ],
                [
                    103.8440861340001,
                    1.268500067000033
                ],
                [
                    103.8388778,
                    1.266262111000046
                ],
                [
                    103.8260197270001,
                    1.264308986000088
                ],
                [
                    103.8016056650001,
                    1.264797268000081
                ],
                [
                    103.789561394,
                    1.26788971600007
                ],
                [
                    103.784434441,
                    1.273871161000088
                ],
                [
                    103.7758895190001,
                    1.287583726000108
                ],
                [
                    103.755137566,
                    1.297105210000012
                ],
                [
                    103.7301538420001,
                    1.302923895000063
                ],
                [
                    103.708750847,
                    1.305243231000119
                ],
                [
                    103.6652938160001,
                    1.304103908000087
                ],
                [
                    103.6476343110001,
                    1.308417059000092
                ],
                [
                    103.640391472,
                    1.322251695000091
                ],
                [
                    103.6447046230001,
                    1.338039455000043
                ],
                [
                    103.67457116,
                    1.38031647300005
                ],
                [
                    103.678884311,
                    1.399237372000073
                ],
                [
                    103.6838485040001,
                    1.40989817900001
                ],
                [
                    103.6950789720001,
                    1.421332098000065
                ],
                [
                    103.7083439460001,
                    1.429388739000089
                ],
                [
                    103.7179468110001,
                    1.430975653000118
                ],
                [
                    103.7397567070001,
                    1.428127346000082
                ],
                [
                    103.7622176439646,
                    1.430975653101996
                ],
                [
                    103.7610417003143,
                    1.421328622018251
                ],
                [
                    103.7590998724611,
                    1.410324929351958
                ],
                [
                    103.7584525962104,
                    1.401910341688946
                ],
                [
                    103.7584525962104,
                    1.390259372771837
                ],
                [
                    103.7636308044181,
                    1.383139336711011
                ],
                [
                    103.7707508404789,
                    1.376019300650185
                ],
                [
                    103.777870877439,
                    1.37019381619163
                ],
                [
                    103.7875800176037,
                    1.362426503880073
                ],
                [
                    103.7882272938545,
                    1.355953744069978
                ],
                [
                    103.784343637249,
                    1.35142281121378
                ],
                [
                    103.7804599815429,
                    1.347539155507604
                ],
                [
                    103.7824018093959,
                    1.343008223550683
                ],
                [
                    103.7901691217075,
                    1.340419119446778
                ],
                [
                    103.7979364340192,
                    1.333946358737492
                ],
                [
                    103.8063510216822,
                    1.324884494823579
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            103.73159464764966,
            1.3471051768158158
        ]
    },
    "created_at": "2016-03-20T04:26:54.797898Z",
    "modified_at": "2016-05-31T19:38:57.752966Z",
    "parent": null,
    "parent_url": null,
    "user": null,
    "user_id": null,
    "popolo_area_id": null,
    "mongo_id": "54ef7d6141621ade886e0854",
    "type_description": null
}