Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Unable to load alt files because of missing "properties.wof:repo" property #12

Open
laszbalo opened this issue Mar 1, 2020 · 0 comments

Comments

@laszbalo
Copy link

laszbalo commented Mar 1, 2020

Hi,

wanted to build the SQLite databases with the go-whosonfirst-dist tool, but for some repos, it gave me warnings like this one:

12:17:28.024917 [wof-dist-build] WARNING build (buildDistributionsForRepo) for repo whosonfirst-data-admin-de failed: Failed crawl callback for /home/x/dev/wof-data/whosonfirst-data-admin-de/data/101/748/743/101748743-alt-quattroshapes.geojson: Unable to load /home/x/dev/wof-data/whosonfirst-data-admin-de/data/101/748/743/101748743-alt-quattroshapes.geojson, because Feature is missing a properties.wof:repo property (Feature is missing a properties.wof:name property)

which seem to originate from this library.

In practice, these warnings seem to be more like errors, since the build stops.

The above file does not have a properties.wof:repo property, but this library expects it have one. Although this document describes the properties.wof:repo field as optional.
Thanks @stepps00 for the link.

Related issue.

After rebuilt the go-whosonfirst-dist binary with the properties.wof:repo field removed from the checks, I was able to create the SQLite databases successfully from some repos(not from all of them, because some alt geometries does not have the properties.src:alt_label property, but that is a different story).

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

No branches or pull requests

1 participant