xoolive / cartes Goto Github PK
View Code? Open in Web Editor NEWCreate great maps in Python ๐ with openstreetmap ๐
Home Page: https://cartes-viz.github.io/
License: MIT License
Create great maps in Python ๐ with openstreetmap ๐
Home Page: https://cartes-viz.github.io/
License: MIT License
Hi I am trying to do this query where I have some admin_level=6 parts and some level=7:
sh_area = Overpass.request(
area={"name": "Schleswig-Holstein", "admin_level": 4},
rel=dict(boundary="administrative", admin_level=dict(regex="[6-7]")),
)
However I run into the issue that for some reason the admin_level=6 areas dont have data in the geometry column while on overpass they do get rendered as expected. https://overpass-turbo.eu/s/1pU9
Any ideas why this happens and how I fix this issue?
There seems to be no UTM zone information in
CRS("EPSG:3006").to_json_dict()
Note: that's SWEREF projection
Just trying to reproduce demos like airport layout.
It seems that
airport = Overpass.request(area=dict(iata="BRU"), aeroway=True)
does not fetch data. Possible? How can I check?
Then, for any simple display, it never goes through
if x.shape[0] > 0 and "geometry" in x.columns:
---> 75 x = x.query("geometry == geometry and not geometry.is_empty")
76 if x.shape[0] > 0:
77 data.loc[x.index, ["latitude", "longitude"]] = x.assign(
78 longitude=lambda df: df.geometry.centroid.x,
with above error.
I have the feeling data is not fetch. How can I proceed to debug this?
Seems an Overpass issue, other osm stuffs go through (Nominatim, for example)
Thank you for double checking.
Python 3.10, pip installed traffic, cartes, no more.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.