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

{
    "id": 32551,
    "ID": "01784766",
    "name": "Cook",
    "m_type": "ward",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -88.2383871735,
                    42.154179843
                ],
                [
                    -88.1994783724,
                    42.154179843
                ],
                [
                    -88.1213725567,
                    42.154179843
                ],
                [
                    -88.0746819953,
                    42.1539825386
                ],
                [
                    -87.951326685,
                    42.1533906254
                ],
                [
                    -87.9487327649,
                    42.153193321
                ],
                [
                    -87.8651508957,
                    42.1529960166
                ],
                [
                    -87.7628351593,
                    42.152206799
                ],
                [
                    -87.741507372,
                    42.153193321
                ],
                [
                    -87.7216206514,
                    42.1533906254
                ],
                [
                    -87.6250691819,
                    42.152206799
                ],
                [
                    -87.4999845915,
                    42.1520094946
                ],
                [
                    -87.3751882144,
                    42.1516148858
                ],
                [
                    -87.2584618109,
                    42.1508256682
                ],
                [
                    -87.1250190336,
                    42.1498391462
                ],
                [
                    -87.1111847932,
                    42.1494445373
                ],
                [
                    -87.1250190336,
                    42.0971588704
                ],
                [
                    -87.1250190336,
                    42.0951858263
                ],
                [
                    -87.1500935943,
                    42.0000851038
                ],
                [
                    -87.1483643143,
                    42.0000851038
                ],
                [
                    -87.1754563684,
                    41.8909757686
                ],
                [
                    -87.2077362627,
                    41.7609521665
                ],
                [
                    -87.2209940765,
                    41.7609521665
                ],
                [
                    -87.250103624,
                    41.7605575577
                ],
                [
                    -87.3749000011,
                    41.7601629489
                ],
                [
                    -87.4999845915,
                    41.7603602533
                ],
                [
                    -87.5236180855,
                    41.7599656445
                ],
                [
                    -87.5247709389,
                    41.6869630152
                ],
                [
                    -87.5253473656,
                    41.5399712344
                ],
                [
                    -87.5256355789,
                    41.47032278
                ],
                [
                    -87.5579154732,
                    41.4701254756
                ],
                [
                    -87.6844411303,
                    41.4697308667
                ],
                [
                    -87.7902154268,
                    41.4699281711
                ],
                [
                    -87.7905036401,
                    41.5395766256
                ],
                [
                    -87.7922329202,
                    41.5385901036
                ],
                [
                    -87.7928093469,
                    41.5585178484
                ],
                [
                    -87.9095357504,
                    41.5567421088
                ],
                [
                    -87.9118414571,
                    41.6439506552
                ],
                [
                    -88.0277032206,
                    41.6415830023
                ],
                [
                    -88.0291442873,
                    41.6855818843
                ],
                [
                    -87.9965761796,
                    41.6857791887
                ],
                [
                    -87.9827419392,
                    41.6861737976
                ],
                [
                    -87.9789951658,
                    41.687357624
                ],
                [
                    -87.9668902054,
                    41.6867657108
                ],
                [
                    -87.9556498851,
                    41.6936713649
                ],
                [
                    -87.9498856182,
                    41.6952498001
                ],
                [
                    -87.9423920714,
                    41.6991958882
                ],
                [
                    -87.9423920714,
                    41.7029446719
                ],
                [
                    -87.9372042312,
                    41.7051150203
                ],
                [
                    -87.9334574578,
                    41.708863804
                ],
                [
                    -87.9248110575,
                    41.7130071965
                ],
                [
                    -87.9219289241,
                    41.7159667625
                ],
                [
                    -87.9141471638,
                    41.7167559801
                ],
                [
                    -87.9176057239,
                    41.8055429618
                ],
                [
                    -87.9187585773,
                    41.8292194902
                ],
                [
                    -87.919335004,
                    41.8540798451
                ],
                [
                    -87.920199644,
                    41.8629585432
                ],
                [
                    -87.9204878574,
                    41.8811105484
                ],
                [
                    -87.920199644,
                    41.9509563073
                ],
                [
                    -87.9207760707,
                    41.9939686673
                ],
                [
                    -87.9305753243,
                    41.9935740585
                ],
                [
                    -88.0153100469,
                    41.992390232
                ],
                [
                    -88.031449994,
                    41.9925875364
                ],
                [
                    -88.0692059418,
                    41.9910091012
                ],
                [
                    -88.1481763975,
                    41.9880495352
                ],
                [
                    -88.1899673321,
                    41.9876549263
                ],
                [
                    -88.2040897858,
                    41.9870630131
                ],
                [
                    -88.2628853076,
                    41.9862737955
                ],
                [
                    -88.2634617343,
                    42.0429001594
                ],
                [
                    -88.2634617343,
                    42.0665766878
                ],
                [
                    -88.2380989602,
                    42.0669712966
                ],
                [
                    -88.2386753869,
                    42.1133378315
                ],
                [
                    -88.2380989602,
                    42.1322790542
                ],
                [
                    -88.2383871735,
                    42.154179843
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            -87.646158040846,
            41.8954302050044
        ]
    },
    "created_at": "2017-02-08T15:09:05.597853Z",
    "modified_at": "2017-11-07T18:37:35.821980Z",
    "parent": 170,
    "parent_url": "https://api.represent.me/api/simple_geos/170/",
    "user": null,
    "user_id": null,
    "popolo_area_id": null,
    "mongo_id": null,
    "type_description": "County"
}