Replies: 2 comments
-
I think the main city gui functionalities needed for M2 are:
There are also some that are not as urgent:
|
Beta Was this translation helpful? Give feedback.
-
We should also have dynamic geofences in there for loitering missions. A loitering dynamic geofence (polygon) would have two attributes: ACID (the aircraft that requested it) and ActiveTime. When the aircraft is a certain distance away from its location, it activates (thus, aircraft have time to get out of the geofenced area). Then, the arrival time inside the geofence of the loitering mission drone is recorded, and the drone is deleted. When Simulation Time - Arrival Time > Active Time, then the geofence is deactivated (deleted), and the drone appears again with its destination being its previous origin. |
Beta Was this translation helpful? Give feedback.
-
These are some ideas for a gui plugin for cities.
import raw/altered
osmnx
street networksosmnx
recommends that creating a new environment usingconda-forge
. To integrate withbluesky
, I think we would need to install all the dependencies thatosmnx
needs. Or maybe getbluesky
dependencies inside theosmnx
environment.It should also be possible to import processed graphs. Sometimes we want to change somethings from the original graph (like directionality). Maybe this means that the default option imports an undirected graph.
visualizing street networks
Once street network has been imported there should be several functionalities for visualizing. Most important would be to be able to see which streets were imported. Map tiles should already show the street configuration. However, it would be nice to show which streets are actually in the imported street networks. It would also be nice to see the directionality of the streets (if any).
It will also be good to see a certain path highlighted in the gui. So if the user gives a starting location and end location, the gui would highlight the path in the street netowork
import
osmnx
building dataIt should not be too hard to import building polygons. @andubadea has already done it. However, the data is perhaps too detailed. If we want to simplify, I think there are three approaches:
QGIS
to simplify. They already have a bunch of functionality to simplify geometries. However, the tricky part here would be to find an easy way to linkQGIS
withbluesky
. Maybe this is something we can ask the 3d group.QGIS
code and use them forbluesky
. Unsure if this would be a good idea.osmnx
street block to perform this simplification. I think this would be a bit trickier but has the benefit of working withoutQGIS
.Anther things to consider about building data from OSM is that some information is not so reliable. For example, building height and land-use information may not always be accurate. I have already seen this in Vienna. Perhaps this information will only be available in some places.
generate building heights
Since OSM does not always give building height information, it could good to artificially generate this information. Maybe a random generation or based on some other distribution.
calculate and visualize street widths
This should be possible by using the building and/or road data. Perhaps for each road we can calculate the distances between its nearest buildings. I am quite sure this is possible with
QGIS
.do all of the above with non-osm data
Sometimes there is better data available than OSM, say a CityJSON file. So perhaps it should also be possible to do all of the above for non-osm data. Since CityJSON may be it's own plugin, this city plugin can maybe just work with geodataframes for now. So as long as the user converts the data to a gdf, it should be possible to use with
bluesky
.This is all I can think of at the moment. Feel free to add anything else.
-Andres
Beta Was this translation helpful? Give feedback.
All reactions