- Add parse_coordinate() function to handle both decimal degrees and DMS format - Replace direct float() conversion with robust coordinate parsing - Add proper validation for latitude/longitude ranges - Create user-friendly error page instead of showing stack traces - Support formats like "56°5'58.56"N" and "3°22'33.71"W" - Update both /detail and / routes with improved error handling Fixes #29: Don't return stack trace when lat/lon are not integers |
||
---|---|---|
.. | ||
sparql | ||
base.html | ||
coordinate_error.html | ||
database_error.html | ||
detail.html | ||
index.html | ||
map.html | ||
pin_detail.html | ||
query_error.html | ||
reports.html | ||
show_error.html | ||
wikidata_tag.html |