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

{
    "id": 20977,
    "ID": "E1",
    "name": "Europe",
    "m_type": "country",
    "geom": {
        "type": "Polygon",
        "coordinates": [
            [
                [
                    -10.458984373544682,
                    62.10388251770037
                ],
                [
                    -17.490234372565475,
                    37.85750715175112
                ],
                [
                    -10.458984373544682,
                    35.60371873638062
                ],
                [
                    -0.6152343749146221,
                    36.03133177197868
                ],
                [
                    8.52539062381297,
                    38.54816541849241
                ],
                [
                    13.62304687310368,
                    36.17335693085666
                ],
                [
                    33.13476562038745,
                    33.43144133145025
                ],
                [
                    35.24414062009404,
                    36.03133177197868
                ],
                [
                    31.201171870656548,
                    35.88905007501959
                ],
                [
                    26.279296871341455,
                    35.88905007501959
                ],
                [
                    25.57617187143957,
                    40.71395582157555
                ],
                [
                    28.74023437099946,
                    42.81152174025172
                ],
                [
                    30.146484370803247,
                    45.213003551012356
                ],
                [
                    26.98242187124336,
                    48.806863455944274
                ],
                [
                    22.412109371879655,
                    48.57478990579695
                ],
                [
                    24.87304687153766,
                    51.06901665439179
                ],
                [
                    24.16992187163486,
                    52.37559917141633
                ],
                [
                    24.345703121610555,
                    53.644637819591225
                ],
                [
                    26.279296871341455,
                    54.5720616503824
                ],
                [
                    27.158203121219056,
                    55.578344666898595
                ],
                [
                    29.091796870949956,
                    56.267761082290065
                ],
                [
                    28.037109371096662,
                    58.17070247820836
                ],
                [
                    28.564453121023764,
                    59.085738564552464
                ],
                [
                    28.388671871048047,
                    60.15244220913193
                ],
                [
                    29.79492187085186,
                    61.10078882636221
                ],
                [
                    32.255859370509846,
                    62.83508900625078
                ],
                [
                    30.322265620778946,
                    67.87554134182804
                ],
                [
                    29.091796870949956,
                    70.25945199559455
                ],
                [
                    25.57617187143957,
                    70.1403642673509
                ],
                [
                    24.87304687153766,
                    68.84766505358107
                ],
                [
                    22.23632812190488,
                    69.16255790329956
                ],
                [
                    21.18164062205158,
                    69.34933863498681
                ],
                [
                    17.314453122589782,
                    68.39918003857798
                ],
                [
                    14.677734372956975,
                    66.30220547099287
                ],
                [
                    12.568359373250384,
                    64.16810689287378
                ],
                [
                    11.513671873397088,
                    61.52269494076831
                ],
                [
                    12.216796873298971,
                    60.50052540527024
                ],
                [
                    10.986328123470871,
                    59.26588062299344
                ],
                [
                    7.998046873886422,
                    57.326521219933234
                ],
                [
                    -5.185546874278456,
                    63.70472242429514
                ],
                [
                    -8.87695312376456,
                    63.312682775280685
                ],
                [
                    -10.458984373544682,
                    62.10388251770037
                ]
            ]
        ]
    },
    "location": {
        "type": "Point",
        "coordinates": [
            8.542895397135718,
            50.13662306127327
        ]
    },
    "created_at": "2016-11-18T11:48:43Z",
    "modified_at": "2019-07-15T09:12:13.742016Z",
    "parent": null,
    "parent_url": null,
    "user": null,
    "user_id": null,
    "popolo_area_id": null,
    "mongo_id": "",
    "type_description": null
}