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 13, 2024
1 parent 530c3cc commit f8dfcf7
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 @@ -100,7 +100,7 @@
if (mooring_lat[k] != 0.0) and (mooring_lon[k] != 0.0):
geojson_point_coords = geojson_point_coords + (
"""{{"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], mooringid[k])
).format(mooring_lat[k], mooring_lon[k], list(mooringid)[k])

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

0 comments on commit f8dfcf7

Please sign in to comment.