opengeospatial / ogcapi-routes

public repo for OGC API - Routes Standards Working Group
Other
10 stars 3 forks source link

Add the concept of operating area #63

Open thanchevici opened 1 year ago

thanchevici commented 1 year ago

hi, some servers may offer calculations on a particular area. Depending on algorithms, they may need pre-computed data that is not available worldwide. Thus is will be useful to add the concept of operating area.

An operating area is comprised of:

Operating Area http://www.opengis.net/spec/ogcapi-routes-1/2.0.0-draft/conf/areas

example:

"areas": {[
{
         "name": "Area1",
         "description": "Description of Area1",
         "bbox": [-10.0, -10.0, 10.0, 10.0]
         "geometry": {
                     "type": "Polygon",
                        "coordinates": [[[-10.0, -10.0],[10.0,-10.0],[10.0, 10.0],[-10.0, 10.0]]]
          }
          "modes": ["motor-vehicle", "cross-terrain"]
          "preferences": ["fastest", "fuel-efficient"]
} ,
{
               "name": "Area2",
               "description": "Description of Area2",
               "bbox": [-20.0, -20.0, 20.0, 20.0]
               "geometry": {
               "type": "Polygon",
               "coordinates": [[[-10.0, -10.0],[10.0,-10.0],[10.0, 10.0],[-10.0, 10.0]]]
}
},
]}
jeffharrison commented 1 year ago

Makes sense to me...

cportele commented 1 year ago

Meeting 2022-11-22: Include in version 1.0. Change to a FeatureCollection where each area is a feature.