pnwairfire / bluesky

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

Store perimeter polygons with approrpriate nesting #281

Closed jdubowy closed 10 months ago

jdubowy commented 10 months 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.