Comments (4)
I've finally gotten railways to display using the custom_filter way, but only after putting a large value for dilation, e.g.
'railway':{'custom_filter': '["railway"~"rail|light_rail"]', 'dilate':2000}
from prettymaps.
'railway':{'custom_filter': '["railway"~"rail|light_rail"]', 'dilate':2000}
Thank you for the suggestion! Unfortunately this did not work for me. I tried increasing the value of dilate
to 4000, and it gave this error:-
networkx.exception.NetworkXPointlessConcept: Connectivity is undefined for the null graph.
from prettymaps.
Confirming that this same NotImplementedError
error occurs when adding waterways via 'waterway': {}
.
These problems seem related based on handling in get_streets()
; please let me know if you find a fix!
from prettymaps.
I'm just testing out the demo, and was wondering too why the railways weren't working.
I got them to work with the custom filter above, plus with dilate number 200. If it matters, my target was Riihimäki, Finland.
from prettymaps.
Related Issues (20)
- use backup
- AttributeError: 'NoneType' object has no attribute 'axis' HOT 2
- Error on pip/git install HOT 3
- Installing Issues with conda on Mac OS HOT 7
- Problem when plotting HOT 2
- osmnx rate limit issue HOT 2
- AttributeError: 'MultiPolygon' object has no attribute 'exterior' HOT 3
- How to color only one building. HOT 4
- Error on installation HOT 1
- Kernel crashes with larger radius
- Mac OS X Installation Error
- Create a prettymaps webapp HOT 2
- Create additional layers in postprocessing step (The sea is not queryable in OSM) HOT 2
- [Documentation] osm_credit parameter name no more valid
- [BUG] Fatal Python error: Segmentation fault
- [BUG] AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? when trying to pip install prettymaps on Debian 12 HOT 2
- How to get center point for geometries_from_point() HOT 1
- AttributeError: 'DataFrame' object has no attribute 'crs' in demo examples HOT 1
- Colab ERROR: Package 'vsketch' requires a different Python: 3.7.13 not in '<3.11,>=3.8' HOT 4
- python setup.py egg_info did not run successfully. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prettymaps.