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

Examples not running #1

Open
paulterinho opened this issue Nov 14, 2023 · 0 comments
Open

Examples not running #1

paulterinho opened this issue Nov 14, 2023 · 0 comments

Comments

@paulterinho
Copy link

Seems to be momentarily broken: I created a clean install of OSMSC, and installed it in a new conda environment, then tried and failed to run these examples. It seems they are broken by a commit 2 months ago: d238d7316e810d8db6f048bfbaa83627af8c6a77

The quick and dirty fix I used to get it running again was this in the __setup__.py file:

from .__version__ import __version__
from .cityobject import building_group, vegetation_group, waterbody_group, transportation_group, urban_tile_group
from .feature import * #add_spatial_semantics_attr
from .fusion import * # add_building_height
from .cityjson import city_json

And also needed to comment out withinTile and AdjacentTile in cityjson object, but it is still not generating the JSON.

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

1 participant