OpenStreetMap

I still haven't figured out how to render Lake Erie on the Cleveland neighborhood map http://skorasaurus.wordpress.com/cleveland-neighborhood-map/ just yet.

As I wrote earlier http://www.openstreetmap.org/user/skorasaurus/diary/14493, I tried to render Lake Erie through or/p first using a relatively small area, of top=41.51245 left=-81.7291 bottom=41.49503 right=-81.69391 of downtown cleveland and a relatively small portion of Lake Erie. I thought this small sample area would be a good candidate to establish the correct configuration files and workflow so I could later use the same processes and configurations on a larger bounding box that consisted of the entire city of Cleveland and Lake Erie.

I downloaded this smaller area/bounding box through the openstreetmap.org website (as OpenStreetMap XML Data, to create an .OSM file). After running osmosis on this file (to remove some highways and buildings), I
render the area but Lake Erie still did not appear. I later learned that I would need to run close-areas.pl on the file after running osmosis on my OSM file (as explained in my earlier diary entry) http://www.openstreetmap.org/user/skorasaurus/diary/14493.

Alas, the smaller area rendered with the lake erie but the larger area did not render Lake Erie. Why, I thought ? I made several guesses through trial and error (like removing clipIncompleteEntities=true - an option in my osmosis configuration), but it did not work. September 5th, I realized that the sources of the bounding boxes were different could be be the cause why Lake Erie could be rendered in the smaller area but did not render using the larger bounding box used in the Cleveland Neighborhood Map.

For the Cleveland Neighborhood Map, I have downloaded the larger area from an extract of the state of Ohio, hosted on geofabrik, and then extracted the bounding box using osmosis (included at the bottom of the post)
The smaller area which I have been debugging , I had simply downloaded directly from the OSM server's export interface. http://www.openstreetmap.org/export?lat=41.4843&lon=-81.7044&zoom=14&layers=M

On the sept. 5th, I tested this hypothesis by extracting the smaller area from the state of ohio extract through osmosis, then proceeded to run osmosis again (removing certain types of ways - this is included on the bottom), then close-areas.pl, and nope, it did not render correctly.

I then hypothesized that the reason the lake won't render is because that state of ohio extract does not have the Lake Erie data within it OR that I am not running the correct configuration in my initial osmosis filtering.

(extracting the bounding box used for the the cleveland neighborhood map through osmosis)
bzcat ohio.osm.bz2 | osmosis\
--read-xml enableDateParsing=no file=-\
--bounding-box top=41.6000 left=-81.85 bottom=41.4173 right=-81.5323 clipIncompleteEntities=true --write-xml file=-\
| bzip2 > extracted.osm.bz2

Location: Port of Cleveland, Cleveland, Cuyahoga County, Ohio, United States

Discussion

Log in to leave a comment