whosonfirst / go-whosonfirst-spatial

Go package defining interfaces for Who's On First specific spatial operations.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Document (improve) custom placetypes #22

Open thisisaaronland opened 3 years ago

thisisaaronland commented 3 years ago

At a minimum provide an example. Silencing the placetype=alt warnings (for alternate geometries) would be a good example.

straup commented 3 years ago

Related, when working with not-WOF GeoJSON files:

2020/12/19 16:02:42 Unable to parse placetype (multipolygon) for ID 2344916, because 'Invalid placetype' - skipping placetype filters
2020/12/19 16:02:42 Unable to parse alternate geometry () for ID 2344916, because 'Unable to parse WOF ID' - skipping alternate geometry filters
2020/12/19 16:03:00 Unable to parse placetype (multipolygon) for ID 2344916, because 'Invalid placetype' - skipping placetype filters
2020/12/19 16:03:00 Unable to parse alternate geometry () for ID 2344916, because 'Unable to parse WOF ID' - skipping alternate geometry filters
2020/12/19 16:03:04 Unable to parse placetype (multipolygon) for ID 2344916, because 'Invalid placetype' - skipping placetype filters