Re: [OSM-talk] Bulk Data Import how-to and tips
El Jueves, 1 de Mayo de 2008, Patrick Weber escribió: > Also, whats the best procedure for the conversion. I suspect we will get > the data as shapefiles. Can JOSM read shapefiles? I usually use GDAL to convert the shapefile into GML, then fine-tune the gml2osm script by hand and run it. -- -- Iván Sánchez Ortega <[EMAIL PROTECTED]> Proudly running Debian Linux with 2.6.24-1-amd64 kernel, KDE 3.5.9, and PHP 5.2.5-3 generating this signature. Uptime: 16:04:22 up 19:24, 1 user, load average: 0.51, 0.36, 0.36 signature.asc Description: This is a digitally signed message part. ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
Re: [OSM-talk] Bulk Data Import how-to and tips
Hi, Patrick Maybe there is a better way, but this is what I would do: - get a shapefile of Luxembourg (or a simple polygon shapefile that contains all of Luxembourg). Let's call it lux.shp. - download the roads for Luxembourg currently in OSM from http://download.geofabrik.de/osm/europe/ Now you will need a GIS application: - select the roads tagged as motorway, motorway_link, trunk, trunk_link, primary or primary_link from that shapefile and export them to another shapefile. - perform a buffer of that shapefile (for example, use 100 meters for the radius) - perform a difference operation: lux.shp minus the buffer you have just created - finally, clip the official shapefile of the Luxembourg roads with the result of that substraction and export the resulting shapefile to the OSM format with that python script. And then, you will have to carefully connect those ways with the current ways in OSM, and revise the tags, of course. Lucas De: [EMAIL PROTECTED] en nombre de Skywave Enviado el: jue 01/05/2008 14:47 Para: talk@openstreetmap.org Asunto: [OSM-talk] Bulk Data Import how-to and tips JOSM can't read shape files, you will have to adapt this script http://boston.freemap.in/osm/files/mgis_to_osm.py to convert shapefiles to osm. On Thu, May 1, 2008 at 12:59 PM, Patrick Weber <[EMAIL PROTECTED]> wrote: Hi list I have been mapping my home country Luxembourg for the past 6 months. I recently have been offered by another OSM user who works at the national road works agency (not shure about the translation but anyway), to get the national road network (all primary highways, trunk and motorways) imported into OSM. Apparently they are okay with it. Great News! Now I am trying to figure out how this will work in practice, as we are not importing into a blank canvas, but a sizable bit of the road network has been done already. How can we merge the two datasets, and keep the best bits of both? Also, whats the best procedure for the conversion. I suspect we will get the data as shapefiles. Can JOSM read shapefiles? Thanks for helping us. ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
[OSM-talk] Bulk Data Import how-to and tips
JOSM can't read shape files, you will have to adapt this script http://boston.freemap.in/osm/files/mgis_to_osm.py to convert shapefiles to osm. On Thu, May 1, 2008 at 12:59 PM, Patrick Weber <[EMAIL PROTECTED]> wrote: > Hi list > > I have been mapping my home country Luxembourg for the past 6 months. I > recently have been offered by another OSM user who works at the national > road works agency (not shure about the translation but anyway), to get the > national road network (all primary highways, trunk and motorways) imported > into OSM. Apparently they are okay with it. Great News! > > Now I am trying to figure out how this will work in practice, as we are > not importing into a blank canvas, but a sizable bit of the road network has > been done already. How can we merge the two datasets, and keep the best bits > of both? > > Also, whats the best procedure for the conversion. I suspect we will get > the data as shapefiles. Can JOSM read shapefiles? > > Thanks for helping us. > > ___ > talk mailing list > talk@openstreetmap.org > http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk > > ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
[OSM-talk] Bulk Data Import how-to and tips
Hi list I have been mapping my home country Luxembourg for the past 6 months. I recently have been offered by another OSM user who works at the national road works agency (not shure about the translation but anyway), to get the national road network (all primary highways, trunk and motorways) imported into OSM. Apparently they are okay with it. Great News! Now I am trying to figure out how this will work in practice, as we are not importing into a blank canvas, but a sizable bit of the road network has been done already. How can we merge the two datasets, and keep the best bits of both? Also, whats the best procedure for the conversion. I suspect we will get the data as shapefiles. Can JOSM read shapefiles? Thanks for helping us. begin:vcard fn:Patrick Weber n:Weber;Patrick org:University College London adr:;;Gower Street;London;;WC1E 6BT;United Kingdom email;internet:[EMAIL PROTECTED] title:Engineering Doctorate Student tel;work:02077185430 tel;cell:07854840450 url:http://www.ucl.ac.uk/cemi version:2.1 end:vcard ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk