Skip to content

Commit

Permalink
Update SQL2GEOJSON_moorings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwbell committed Nov 14, 2024
1 parent 3382bf3 commit da71214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/SQL2GEOJSON_moorings.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"""{{"type": "Feature","geometry": {{"type": "Point","coordinates": [{1},{0}]}}, "properties": {{"MooringID":"<a href='http://ecofoci-field.pmel.noaa.gov/bell/eFOCI_Mooring_logs/mooring_record_view.php?mooringview_id={2}'>{2}</a>" }}}}"""
).format(mooring_lat[k], mooring_lon[k], list(mooringid)[k])

if k + 1 != len(mooring_lat):
if k != len(mooring_lat):
geojson_point_coords = geojson_point_coords + ", "

geojson_tail = "]\n" "}\n"
Expand Down

0 comments on commit da71214

Please sign in to comment.