Suchinthana commited on
Commit
2cf2e45
·
1 Parent(s): aa6df08

add logging

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -116,7 +116,8 @@ def generate_geojson(response):
116
  def generate_static_map(geojson_data, invisible=False):
117
  # Create a static map object with specified dimensions
118
  m = StaticMap(600, 600)
119
-
 
120
  # Process each feature in the GeoJSON
121
  for feature in geojson_data["features"]:
122
  geom_type = feature["geometry"]["type"]
 
116
  def generate_static_map(geojson_data, invisible=False):
117
  # Create a static map object with specified dimensions
118
  m = StaticMap(600, 600)
119
+ #log the geojson data
120
+ logger.info(f"GeoJSON data: {geojson_data}")
121
  # Process each feature in the GeoJSON
122
  for feature in geojson_data["features"]:
123
  geom_type = feature["geometry"]["type"]