Peter Johnson
Peter Johnson
> What I don't understand is what "spatial predicates" have to do with anything since they aren't specifically relevant to the Mapshaper command in questin. Sorry that was unclear, I...

I think it's actually ok that the label centroid falls outside the shape, this might actually be better for display in many cases. The issue is more for the reverse...
nice catch, we should change the column type. weird thing is I tried to reproduce the bug from the hosted downloads and wasn't able to!? 🤷 ```bash sqlite3 whosonfirst-data-admin-us-latest.db 'SELECT...
agh actually, scratch that, I wasn't looking in the `concordances` table 🙄 ```bash sqlite3 whosonfirst-data-admin-us-latest.db 'SELECT * FROM concordances WHERE id = 102080625' 102080625|2013|fips:code|1566609656 102080625|12587554|gp:id|1566609656 102080625|US.AK.AE|hasc:id|1566609656 102080625|Q504371|wd:id|1566609656 ```
[102027727](https://raw.githubusercontent.com/whosonfirst-data/whosonfirst-data-admin-ch/master/data/102/027/727/102027727.geojson) is an odd one... any idea how this got associated with Switzerland?
I did some analysis on this today and found at least 24149 records which might be affected by this issue. https://gist.github.com/missinglink/ebc6f77519af4cd7e230406102517a99 The script walks up the hierarchy looking for records...
It would be ideal if WOF consumers only needed to download the admin data for their target ISO code (along with the `admin-xy` data) in order to ensure that they...
related: https://github.com/whosonfirst-data/whosonfirst-data/issues/1786#issuecomment-595757633
@substack has recently pushed a new `osm` module https://github.com/substack/osm-pbf-parser which exhibits the second behaviour I mentioned with a nice streaming interface. However that library is not as mature as this...