Re: [Imports] Import of Belize roads

2011-03-02 Thread Lars Kotthoff
>Also take a look at Shp-to-OSM: https://github.com/iandees/shp-to-osm 

That worked, thanks :)

>I loaded the cloudmade Belize extract, and I don't see the phantom 
> connections when I load it in JOSM.   I do see large numbers of empty 
> nodes - the cloudmade extract is missing much coastline.   Could you 
> post one of the node ID numbers?

Screenshot http://www.cs.st-andrews.ac.uk/~larsko/tmp/josm.png
There doesn't seem to be a node where all the lines are going though. This is
with the highways dump, but I get the same picture with the dump that contains
everything. I've also tried with merkaartor and get a similar picture.

Thanks,

Lars



___
Imports mailing list
Imports@openstreetmap.org
http://lists.openstreetmap.org/listinfo/imports


Re: [Imports] Import of Belize roads

2011-03-02 Thread Mike N

On 3/2/2011 1:33 PM, Lars Kotthoff wrote:

Is there any way of doing this and preserving the attributes?


  Also take a look at Shp-to-OSM: https://github.com/iandees/shp-to-osm 
.  It supports a flexible tag mapping method.   The only trick I ran 
into is cases where I needed to map a single attribute to multi 
attribute: for example, alleys (highway=service, service=alley).  I just 
made up a temporary mapping that I could later edit in JOSM.



I also had a look at the cloudmade dump for Belize and a large number of nodes
are connected to a node several thousand km away from whereever it should be.


  I loaded the cloudmade Belize extract, and I don't see the phantom 
connections when I load it in JOSM.   I do see large numbers of empty 
nodes - the cloudmade extract is missing much coastline.   Could you 
post one of the node ID numbers?



___
Imports mailing list
Imports@openstreetmap.org
http://lists.openstreetmap.org/listinfo/imports


Re: [Imports] Import of Belize roads

2011-03-02 Thread Lars Kotthoff
Ok, I think I need some more pointers.

I have a line shapefile with attributes "highway" and "surface" and the values
they should have for each line. I've tried to export it to OSM using
- ogr2osm, which crashed on the full data and gives me points instead of lines
  in the final file with partial data,
- gpsbabel, which doesn't preserve the attributes (or even set them when I tell
  it to explicitly) and also gives me points,
- merkaartor, which imports the shapefile fine but doesn't keep the attributes,
- qgis with OSM plugin, which also doesn't keep the attributes.

Is there any way of doing this and preserving the attributes?

I also had a look at the cloudmade dump for Belize and a large number of nodes
are connected to a node several thousand km away from whereever it should be.

I've given up for now, any help would be appreciated.

Lars



___
Imports mailing list
Imports@openstreetmap.org
http://lists.openstreetmap.org/listinfo/imports


Re: [Imports] Import of Belize roads

2011-02-28 Thread Lars Kotthoff
>   If you feel that the PD dataset is of sufficient quality, that should 
> be fine.

I had a quick look at it and it seems quite accurate. It also has information on
rank and surface of the roads.

> Cloudmade has a pre-built country extract for Belize that 
> looks to be small enough to conveniently load into JOSM:
> 
> http://downloads.cloudmade.com/north_america/belize#downloads_breadcrumbs

Ok thanks, I'll check it out.

Lars



___
Imports mailing list
Imports@openstreetmap.org
http://lists.openstreetmap.org/listinfo/imports


Re: [Imports] Import of Belize roads

2011-02-27 Thread Mike N

Would it be acceptable to import this data set? Is there any way I could overlay
it with the existing data to see which roads are there already? I'm aware of the
usual tools like JOSM, but they only allow me to get the data for a small area
and I don't want to download planet.osm just for that.


 If you feel that the PD dataset is of sufficient quality, that should 
be fine.   Cloudmade has a pre-built country extract for Belize that 
looks to be small enough to conveniently load into JOSM:


http://downloads.cloudmade.com/north_america/belize#downloads_breadcrumbs


___
Imports mailing list
Imports@openstreetmap.org
http://lists.openstreetmap.org/listinfo/imports


[Imports] Import of Belize roads

2011-02-27 Thread Lars Kotthoff
Hi all,

 I've come across a public domain data set with roads in Belize[1] that contains
many roads which are currently not in OSM.

Would it be acceptable to import this data set? Is there any way I could overlay
it with the existing data to see which roads are there already? I'm aware of the
usual tools like JOSM, but they only allow me to get the data for a small area
and I don't want to download planet.osm just for that.

Thanks,

Lars


[1] http://www.biodiversity.bz/mapping/warehouse/profile.phtml?dcid=30



___
Imports mailing list
Imports@openstreetmap.org
http://lists.openstreetmap.org/listinfo/imports