tanzania_residential_predictor

Given a geojson of building footprints the function returns a prediction of whether they are residential (1) or not (0)

(no tags)

    Algorithmia Platform License · Internet Access

    Run an Example

    Install & Use

    Use
    
    curl -X POST -d '{
      "type": "FeatureCollection",
      "features": [
        {
          "type": "Feature",
          "properties": {},
          "geometry": {
            "type": "Polygon",
            "coordinates": [
              [
                [
                  38.93824517726898,
                  -7.722774206175696
                ],
                [
                  38.93828004598617,
                  -7.722774206175696
                ],
                [
                  38.93828004598617,
                  -7.722736995839859
                ],
                [
                  38.93824517726898,
                  -7.722736995839859
                ],
                [
                  38.93824517726898,
                  -7.722774206175696
                ]
              ]
            ]
          }
        },
        {
          "type": "Feature",
          "properties": {},
          "geometry": {
            "type": "Polygon",
            "coordinates": [
              [
                [
                  38.938274681568146,
                  -7.722883179283227
                ],
                [
                  38.938306868076324,
                  -7.722883179283227
                ],
                [
                  38.938306868076324,
                  -7.7228512847180815
                ],
                [
                  38.938274681568146,
                  -7.7228512847180815
                ],
                [
                  38.938274681568146,
                  -7.722883179283227
                ]
              ]
            ]
          }
        },
        {
          "type": "Feature",
          "properties": {},
          "geometry": {
            "type": "Polygon",
            "coordinates": [
              [
                [
                  38.93785089254379,
                  -7.723321729309845
                ],
                [
                  38.938132524490356,
                  -7.723321729309845
                ],
                [
                  38.938132524490356,
                  -7.722837995315225
                ],
                [
                  38.93785089254379,
                  -7.722837995315225
                ],
                [
                  38.93785089254379,
                  -7.723321729309845
                ]
              ]
            ]
          }
        }
      ]
    }' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/hughsturrock/tanzania_residential_predictor/0.1.2