Spaces:
Sleeping
Sleeping
Update pages/market_rent_estimation.py
Browse files
pages/market_rent_estimation.py
CHANGED
|
@@ -131,7 +131,7 @@ def main():
|
|
| 131 |
gdf = gpd.read_file('costar_sm_polygons.geojson')
|
| 132 |
gdf_Atlanta = gdf[gdf.full_submarket.str.contains("Atlanta")]
|
| 133 |
folium.GeoJson(data=gdf_Atlanta.geometry.to_json(), name='geojson').add_to(m)
|
| 134 |
-
|
| 135 |
# Convert the row's geometry to GeoJSON
|
| 136 |
geojson = folium.GeoJson(data=row['geometry'].__geo_interface__,
|
| 137 |
style_function=lambda feature: {
|
|
|
|
| 131 |
gdf = gpd.read_file('costar_sm_polygons.geojson')
|
| 132 |
gdf_Atlanta = gdf[gdf.full_submarket.str.contains("Atlanta")]
|
| 133 |
folium.GeoJson(data=gdf_Atlanta.geometry.to_json(), name='geojson').add_to(m)
|
| 134 |
+
for _, row in gdf_Atlanta.iterrows():
|
| 135 |
# Convert the row's geometry to GeoJSON
|
| 136 |
geojson = folium.GeoJson(data=row['geometry'].__geo_interface__,
|
| 137 |
style_function=lambda feature: {
|