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

Unexpected token v in WOF geojson #103

Closed
easherma opened this issue Jun 15, 2016 · 6 comments
Closed

Unexpected token v in WOF geojson #103

easherma opened this issue Jun 15, 2016 · 6 comments

Comments

@easherma
Copy link

wof_data//data/856/333/45/85633345.geojson: SyntaxError: Unexpected token v

I think this may be an issue for the WOF directly, but figured I'd post it here first.

@trescube
Copy link
Contributor

That's actually a git issue. That record is particularly troublesome since it's the country of New Zealand. The coastline polygon for New Zealand is quite large and eclipses the 100MB standard git file size limit so you'll need to use git-lfs to grab that file. Please see: https://github.com/whosonfirst/whosonfirst-data#git-and-large-files for resolution

@trescube
Copy link
Contributor

If you look at that local file as it stands now, you'll see that it's just a short message about git-lfs and not geojson.

@orangejulius
Copy link
Member

And also, I believe @trescube has added error handling such that WOF will just skip records when it can't parse the json, rather than crash completely, so if you are ok with New Zealand being missing, you can allow the import to continue.

@trescube
Copy link
Contributor

@easherma did you get this issue resolved via git-lfs?

@easherma
Copy link
Author

@trescube For my use case, I'm only concerned with the USA, so I ignored the error. More detailed description of the issue in the error would've prevented me from opening the issue. :-)

@trescube
Copy link
Contributor

Closed via #105

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

3 participants