justchenhao / STANet

official implementation of the spatial-temporal attention neural network (STANet) for remote sensing image change detection
BSD 2-Clause "Simplified" License
405 stars 110 forks source link

Geojson format error #105

Open wuzyzy opened 1 year ago

wuzyzy commented 1 year ago

Great job on updating spatial information about each image in LEVIR_CD!

But I found that the format of geojson is wrong, there should be three square bracket in "coordinate part", but now there are only two. here is a correct example below.

{"type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Polygon",
        "coordinates": [[  // <-----Here
          [
            -97.999417, 30.172574  // the longitude and latitude of the left up point of one sample image. 
          ],
          ...
        ]]// <-----Here
      },
      "properties": {
        "name": "train_1.png"  // the sample name
      }
    },
    ...
   ]
 }

It would be great that you guys can correct it.