I have a Nominatim database with UK data being stored. I grabbed the data from Geofabrik and installed Nominatim alongside the data import as per the Nominatim documentation.

Is there any way, from the dataset I currently have, to find the bounding box? I've read threads such as https://help.openstreetmap.org/questions/36323/how-to-export-country-bounding-boxes but I'm concerned that the bounding boxes generated from external websites may not reflect my database accurately, which would cause logic error further along down the line with my code

asked 13 Oct '16, 08:13

JamesGould's gravatar image

accept rate: 33%

Solved this, I downloaded the .poly files (didn't see them before, probably should have checked!) which provides an Osmosis bounding box for the dataset. I then loaded them into GeoJSON.io which provided the BBox coordinates.

This approach will only work if you're using Geofabrik's Osm.Pbf format (which most will be).

permanent link

answered 13 Oct '16, 08:38

JamesGould's gravatar image

accept rate: 33%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 13 Oct '16, 08:13

question was seen: 1,420 times

last updated: 13 Oct '16, 08:38

powered by OSQA