Python Tutorial: Locating Nearest Facility with Origin-Destination Matrix

Sdílet
Vložit
  • čas přidán 24. 03. 2023
  • This tutorial shows you how to use the OpenRouteService Distance Matrix API to locate the nearest health facility for many locations.
    We will take 2 layers for Washington DC - one with points representing addresses and another with points representing mental health facilities - and find out the facility with the least travel distance from each address using the OpenRouteService (ORS) Distance Matrix API.
    View the complete notebook in Google Colab colab.research.google.com/git...
    Other tutorials referenced in the video
    Calculate Driving Distance between 2 locations using ORS API: courses.spatialthoughts.com/p...
    Visualizing the Route between 2 locations: courses.spatialthoughts.com/p...
    See more Python Geospatial tutorials at github.com/spatialthoughts/py...
  • Věda a technologie

Komentáře • 6

  • @user-fn1sp8wy6p
    @user-fn1sp8wy6p Před 4 měsíci

    This was a very useful video. Thankyou for making it

  • @pedromotta6563
    @pedromotta6563 Před rokem

    Hello Ujaval! Great video! I'm trying to verify the distances using 1 origin and multiple destinations.
    The weird part is that im getting a 403 error "Forbidden" even with a valid API key.
    Do you have any idea what might cause this error?

  • @ravindrasingh-bn8uc
    @ravindrasingh-bn8uc Před rokem

    Hii Ujjawal, i am a phd scholar working on Urban green spaces in Delhi. I want to differentiate agriculture landuse from other green spaces. I guess this will need phenology as input. Do you have any idea how to do it? Thank you😊

    • @SpatialThoughts
      @SpatialThoughts  Před rokem

      Fit a NDVI harmonic time series and add the resulting bands (phase and amplitude) to the composite image. This captures the phenology and helps with classification of different green cover. Tutorial developers.google.com/earth-engine/tutorials/community/time-series-modeling. An application that applied this for India (full code is open source) github.com/openlandcover/one7types

    • @ravindrasingh-bn8uc
      @ravindrasingh-bn8uc Před rokem

      @@SpatialThoughts thank you very much, Ujjawal. I will get back to you after trying this.