On this piece, I want to introduce you to the Python package deal referred to as PyDeck, which is a good software to create 3D maps in Python. For example, I’ll use a 3D constructing mannequin information base overlaying the town of Budapest.
All photographs have been created by the writer.
The information is sourced from the publicly accessible Budapest Open Data Atlas, which you will entry right here. Whereas the positioning is in Hungarian, as soon as you discover the part ‘Épületmagasság’ and click on on the button beginning with ‘geojson’, you must be capable to obtain the geojson file, which is completely readable in English and with Python as properly.
After a fast obtain, let’s open the file and take a fast look:
# import geopandas
import geopandas as gpd# parse the constructing peak information set
gdf = gpd.read_file('epuletmagassag.geojson')
gdf.plot()
len(gdf)
The output of this cell: