Hi Guys,

I've downloaded shp file for a part of Cuba (Artemisa Province) through BBBike.org. I've notice one of the biggest lake/water is missing (coord: -82.875 , 22.925). It is not on any of the different shp. So I tried with another download source, Geofabrik.de, and it is the same, the lake is missing. However the lake appear on OSM.org. So I tried to edit it on OSM.org and I could see the polygone with tag "water". Could you please advise me on that matter? How is it possible? Is there a way to download it?

Kind Regards

asked 29 Aug '13, 15:15

Cedric_uk's gravatar image

Cedric_uk
11112
accept rate: 0%

I've investigate a bit more. It seems it's a multipolygone, Is this could be the problem? If yes, what the solution of the problem? Should I edit it by creating a simple polygone?

(29 Aug '13, 15:23) Cedric_uk

not sure the exact issue. might be related to the fact that it's a multipolygon relation: http://www.openstreetmap.org/browse/relation/2582516

(29 Aug '13, 15:27) neuhausr

One possibility: the upper way of the multipolygon is a recent edit, so it has the higher (64-bit) IDs. Some tools/software haven't been rewritten to handle these yet (right now, QGIS is the major one), so it could be related to that? More info on this issue at the 64-bit wiki page.

permanent link

answered 29 Aug '13, 15:36

neuhausr's gravatar image

neuhausr
7.5k870121
accept rate: 21%

Thx for your interest!!! I didn't use Qgis for the download but bbbike.org and geofabrik.de. And for them I don't know how they extract the data from OSM. I've just send an email to them to know a bit more about it.

(29 Aug '13, 15:58) Cedric_uk

How are you viewing the shapefiles?

(29 Aug '13, 16:03) neuhausr

Ok I've got more info. I downloaded through them as "free download" they don't do multipolygones. So I think I got the answer of my question. Thx neuhausr for your help.

(29 Aug '13, 16:10) Cedric_uk

I feel stupid to not have understand what you wanted to say.... I used Qgis and MAPublisher 8 on Adobe Illustrator CS4....

(29 Aug '13, 16:32) Cedric_uk

Do you know/recommend a free software on which I could check the shapefile?

(29 Aug '13, 16:35) Cedric_uk
1

FYI, you can also download the data in OSM format in other ways, like via osm.org (Map Layers > Map Data > Retrieve this area from the API), or via XAPI/Overpass (ie - see http://harrywood.co.uk/maps/uixapi/xapi.html). There are ways to convert OSM to SHP, for example with ogr2ogr http://www.gdal.org/ogr2ogr.html I recently used a command like this: ogr2ogr -where "OGR_GEOMETRY='LineString' -lco SHPT=ARC outfile.shp infile.osm. More options here: http://wiki.openstreetmap.org/wiki/Shapefile

(29 Aug '13, 16:45) neuhausr

Ok, thank you very much for your help. BTW I had an answer from Geofabrik.de and they said they don't do multipolygon on the free download. For the 64bits ID's they say there is no problem.

(30 Aug '13, 12:24) Cedric_uk
showing 5 of 7 show 2 more comments
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:

×84
×42

question asked: 29 Aug '13, 15:15

question was seen: 3,122 times

last updated: 30 Aug '13, 12:24

powered by OSQA