Skip to content

Troubleshooting

Evan Siroky edited this page Apr 1, 2018 · 7 revisions

Welcome to the timezone-boundary-builder troubleshooting wiki! This page will contain common problems encountered with the script and recommendations on how to overcome them.

Error: No data found for this query:

This error happens when no geographic data was found with a overpass query. This can happen because of 2 reasons:

  1. A feature may have been deleted from OpenStreetMap. Usually, this is due to user error and the feature should be restored in OpenStreetMap.
  2. The metadata for the feature in OpenStreetMap has changed so that the original query no longer works. Most often, some attributes of the feature will have been deleted or changed and the data should simply be corrected or added back.

Invalid geojson received in Overpass Result

This error occurs when geojson is received from Overpass, but the geojson received is invalid geojson. The particular geojson causing the issue will be saved to a file and you must manually inspect it. The library geojsonhint will give you a hint as to what line in the saved file you should look at to investigate. This error is most frequently caused by people deleting data about boundaries from relations and the boundaries must be fixed in OpenStreetMap.

Clone this wiki locally