-
Notifications
You must be signed in to change notification settings - Fork 31
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
Allow cjio to read accessible web stored json data #136
Comments
Just for clarification, a fix for this would still download the whole file at once, however the downloading and loading would be handled automatically by cjio. The whole citymodel would be loaded in one go. You wouldn't need a separate download + cityjson.load() step. Or do you mean to stream the citymodel, loading cityobjects one-by-one as you request them? |
I think the first option you have suggested is certainly enough for what I would like to do. |
For now it is not possible to do this in cjio, but it's a useful feature and most likely it will be added. |
I would like it to be possible to load a json file from a link url with
cityjson.load(path)
For example, I want to load this file, but I don't want to download it, I want to read it directly from the web:
https://s3.dualstack.us-east-1.amazonaws.com/opencitymodel/2019-jun/json/NewYork/36061/NewYork-36061-000.json
Refer to this discussion for more information: cityjson/specs#114
The text was updated successfully, but these errors were encountered: