We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a snippet that can be used to simplify the network. It requires sgeop development version available from https://github.com/uscuni/sgeop and this pysal/momepy#652.
sgeop
import geopandas import sgeop roads = geopandas.read_parquet("/data/uscuni-ulce/processed_data/streets/streets_69300.parquet") buildings = geopandas.read_parquet( "/data/uscuni-ulce/processed_data/buildings/buildings_69300.parquet", columns=["geometry"] ) new_roads = sgeop.simplify_network( roads, exclusion_mask=buildings.geometry, artifact_threshold_fallback=7, )
The text was updated successfully, but these errors were encountered:
u3ks
No branches or pull requests
This is a snippet that can be used to simplify the network. It requires
sgeop
development version available from https://github.com/uscuni/sgeop and this pysal/momepy#652.The text was updated successfully, but these errors were encountered: