Which is basically saying: Fetch every "whosonfirst-data-admin-*" repository and pipe each record to tippecanoe as a line-separated JSON stream. So the problem I am having is there's no easy way to determine which file in which repo is triggering the "unexpected character" errors. Poking around the code it appears that error in question is being triggered here:
Is there already an existing flag somewhere to, optionally, dump the body of jp (or jfa?) to STDERR when an error is encountered? It doesn't look like it but I figured I would ask.
Apologies, I am not a C-person so I am sort of feeling my way around here. I am trying to determine how best to handle errors like this:
When tippecanoe is invoked like this:
Which is basically saying: Fetch every "whosonfirst-data-admin-*" repository and pipe each record to tippecanoe as a line-separated JSON stream. So the problem I am having is there's no easy way to determine which file in which repo is triggering the "unexpected character" errors. Poking around the code it appears that error in question is being triggered here:
https://github.com/felt/tippecanoe/blob/e1c665b35d804edcc54a8ecc66d59c1e3b1d0d05/geojson-loop.cpp#L45-L57
Is there already an existing flag somewhere to, optionally, dump the body of
jp
(orjfa
?) to STDERR when an error is encountered? It doesn't look like it but I figured I would ask.Thanks,