GIS project using GeoPandas, Plotly Express, and Contextily for spatial buffer and intersection analysis.
View the Project on GitHub Forren70/geopandas-plotly-express-naples
This repository contains a GIS project for Naples, Italy, showcasing geospatial analysis using Geopandas, Matplotlib, Contextily, and Plotly Express.
The spatial datasets used in this project were originally downloaded from Overpass Turbo (https://overpass-turbo.eu/). The area was zoomed to the metropolitan area of Naples and two queries were run using the keywords tourism=hotel and leisure=park to obtain Hotels.geojson and Parks.geojson.
These files were subsequently refined in ArcGIS Pro: For hotels, only those located within the administrative boundaries of the City of Naples and with a recorded name in the attribute table were retained (saved as the shapefile Naples_Hotels_32633 in the Naples_geopandas folder). For parks, only polygons with an area greater than or equal to 0.8 hectares were selected (saved as the shapefile Naples_Parks_32633 in the Naples_geopandas folder).
⚠️ Disclaimer: This analysis is intended solely as an example of the capabilities of Python geospatial libraries such as Geopandas, Matplotlib, Contextily, and Plotly Express. It does not represent a complete or official inventory of all hotels and green areas in Naples.
The project includes:
geopandas-plotly-express-naples.py – Basic map of Naples with parks and hotelsgeopandas-plotly-express-naples-buffer.py – Map showing 150m buffer around parks and hotelsgeopandas-plotly-express-naples-intersected-hotels.py – Map of hotels within 150m of parksNaples_geopandas/ – Folder containing .shp files and the ArcGIS project .aprxscreenshots/ – Folder containing map images: map 1.png, map 2.png, map 3.png


This project uses the following Python libraries:
Naples_geopandas folder.screenshots folder in the same repository if you want to view the generated maps.```bash python geopandas-plotly-express-naples.py python geopandas-plotly-express-naples-buffer.py python geopandas-plotly-express-naples-intersected-hotels.py