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

I downloaded what I understood to be all of the Ireland OSM data but on examination there seem to be notable differences between the Geofabrik data and what I can see on the OSM map in the browser.

The two discrepancy types that I found so far are as follows.

  1. The lakes: they mostly appear as lines, not as areas. (I use Global Mapper GIS and when I filter to show only area vectors, the lakes do not show). When I show the rivers, I can see the lake boundaries. However, it looks just fine on OSM in the browser.
  2. County boundaries: In the Geofabrik data, some of the county boundaries are missing. I do notice that if I filter the line vectors to show admin levels 5 and 6 that the most of the boundaries show, but even then, there are gaps, usually where a piece of a river forms the boundary. Again, in OSM, all looks great with county boundaries on top of rivers that form county boundaries. I downloaded the Geofabrik data for Ireland (meant to be all data for the selection) here http://download.geofabrik.de/openstreetmap/europe/

The data I am comparing is on the OSM Ireland map. All the major lakes do not feature as areas in the Geofabrik data (I can see their outline mostly as lines). In the same OSM map, the county boundaries are correct and distinct from any river vector that forms part of that boundary, whereas in the Geofabrik data much of these boundaries are missing. For example, in the GeoFabrik data the Black river forms part of the Galway-Mayo county boundary but this part of the boundary is missing from the Geofabrik data but is not missing in the OSM map on the browser. http://www.openstreetmap.org/?lat=53.47938537597656&lon=-9.161224365234375&zoom=13

Why does the data seem to be different? Is it something to do with licensing? Are those data not open source perhaps?

asked 16 Feb '13, 22:38

TheConor's gravatar image

TheConor
1113
accept rate: 0%

edited 18 Feb '13, 09:37

1

It may be helpful to include URLs to the "Geofabrik data" and "the OSM map" so it is clear what you mean. Please just edit your question to include.

(16 Feb '13, 23:26) aseerel4c26 ♦

... yes, Conor, please give us some http://wiki.openstreetmap.org/wiki/Permalink to places where you found differences.

(17 Feb '13, 18:37) stephan75
1

...and now we need the filetype of what you downloaded. Was it the shp, the pbf or the osm file from geofabrik?

(18 Feb '13, 15:21) gormo

  1. A first guess what might be your problem for the first point: OSM does not (yet) have an area data type. See our docu wiki page on "area". So in fact all areas are lines.
  2. Regarding the second point: maybe your software (or how you use it) has problems interpreting relations correctly. Country borders may reuse lines (relation) which are also used to represent a waterway.

All OSM data is freely licensed. See http://www.openstreetmap.org/copyright

permanent link
This answer is marked "community wiki".

answered 16 Feb '13, 23:26

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 16 Feb '13, 23:27

1

So, in the case of the lakes, I will look deeper at the attributes of the lines that make up the boundaries. Yes, my software (Global mapper) does not render on the basis of these other attributes or tags. i uses the area type to render. Also I must look again at the county boundaries. i did see that these lines have an attribute called Admin_Level and that admin_levels 5 and 6 catches most of the boundaries but not all.

(18 Feb '13, 09:43) TheConor
1

I since contacted the developers of Global Mapper GIS software and they were able to make some changes to the software to interpret and render correctly most of the areas (lakes, counties etc.). They said, however... "I checked it looks like the OSM file actually lists the lines that form the boundary of the area in the wrong order, causing the borders to look funny and the areas to be chopped up. I have updated the area building logic to try and look for a connecting path when they aren't specified in an order that connects, which fixes most, but not all of the areas."

(22 Feb '13, 16:27) TheConor
1

It is always "nice" when someone (in this case Global Mapper) tells that something (in this case the OSM data) is broken/wrong, when in fact they simply don't understand it. Boundaries and complex areas are mapped using relations. Nothing in the current data model of OSM requires relations to have a specific order. Ordering the items in a relation is the responsibility of the data consumer.

(22 Feb '13, 23:50) cartinus

If it is a boundary that still does not look good, then find the ID of the relation (not of one of the ways contained in it) and use the OSM Relation Analyzer to check whether the relation is broken or Global Mapper is mistaken.

For complex areas either do the same or look at OSM Inspector's Multipolygon view or Water view

(23 Feb '13, 00:13) cartinus

OSM data is being changed or added to continually as you know. At any time someone,such as Geofabrik, may download that current data and render a map in the style of their choice showing or leaving out some stuff. This download and rendering, as its probably done once a week or month and will not include data added after the download. I have not used Geofabrik but would if I wanted other than just the UK. For my Garmin Vista and for Basecamp mapping I use talkytoasters map which also covers Ireland, I like his rendering style it may suit you.

permanent link

answered 22 Feb '13, 17:30

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

edited 22 Feb '13, 22:20

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Hi Conor, you have absolutely right. The confusion comes from logical errors in OSM data (dump). Most of the data interpreters and mapping/rendering systems are checking data for formal errors and eventually correct them (like in case of areas, for gaps on the area border polygons, self-crossings on border polygons, orientation and so on). But one huge class of logical errors is rarely (maybe never) checked and corrected. Because these errors are not show stoppers, many rendering systems may live with them. But the displayed/rendered map may vary from case to case and that is what you have discovered in case of the lakes area class for Ireland.

For illustration, let us take the natural_water (lakes) area class from the Planet_dump just before the “integer-overflow” (some weeks ago). There are many thousands of replicated lakes. There are cases where the outer/container border polygon is exactly repeated but the hole/island contents are different, cases where some of the border polygons are almost overlapping and so on. Let us take the lake around (-1 064 290; 6 807 950) Mercator (X,Y) point in southwest Ireland, or permalink:

http://www.openstreetmap.org/?lat=52.0352&lon=-9.5397&zoom=13&layers=M

This lake is repeated once with no holes/islands (L1) and once with 11 islands (L2). Now, if the rendering/mapping system does not render the border polygons in another color you will never see any islands. The same happens if the rendering order is L2, L1. If the rendering order L1, L2 and the border lines are rendered with a color not the same as used for the water, you will see the mentioned strange lines over the water. So, in my opinion, the problem is not the file you have downloaded, it is inherited from the state in the OSM data.

Finally, note also that there are many similar cases but much more complex and complicated when replications (overlaps) happen between objects from different classes. For example: when two objects (one from rivers and one from lakes) with different hole contents partly or fully overlap, or when a lake fully or partly overlap some water areas from the planet_land with different hole/island contents and so on.

permanent link

answered 24 Feb '13, 15:36

sanser's gravatar image

sanser
695383955
accept rate: 5%

Your answer
toggle preview

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:

×63
×43
×40
×10

question asked: 16 Feb '13, 22:38

question was seen: 7,581 times

last updated: 24 Feb '13, 15:36

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