pnwairfire / bluesky

BlueSky Framework rearchitected as a pipeable collection of standalone modules.
GNU General Public License v3.0
19 stars 11 forks source link

Store perimeter polygons with approrpriate nesting #281

Closed jdubowy closed 1 year ago

jdubowy commented 1 year ago

We currently accept and store perimeter polygons as an array of coordinates:

  "polygon": [
    [-122.45, 46.43],
     [-122.39, 46.43],
    ...

We should store them as an array of array of coordinates

  "polygon": [
    [
      [-122.45, 46.43],
      [-122.39, 46.43],
       ...

This is consistent with the geojson standard for polygons and it supports holes.