Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geojson format error #105

Open
wuzyzy opened this issue Sep 12, 2023 · 0 comments
Open

Geojson format error #105

wuzyzy opened this issue Sep 12, 2023 · 0 comments

Comments

@wuzyzy
Copy link

wuzyzy commented Sep 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant