NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

JamesGould
19691020
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

JamesGould
19691020
accept rate: 33%

Follow this question

By Email:

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

By RSS:

Answers

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:

×689
×30

question asked: 13 Oct '16, 08:13

question was seen: 2,435 times

last updated: 13 Oct '16, 08:38

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum