Re: [Talk-ca] CanVec (part of GeoBase) Import update
Thanks,http://www.safe.com/products/desktop/overview.php I think thats the product your referring to? Looks like it possible to get 14 days per user key? Anyway, it seems like your method is similar, just that you grab the area before it gets converted to OSM format. The only challenge we still have is that it doesn't retain the NID, nor can it automatically create tags for each feature ID. But as long as the source looks back to CanVec, the legal standpoint should be fine. Does anyone know how to create a java script that will attach OSM tags to SHP files? (so it can be added on to this shp-to-osm script? ... Until then, this manual effort seems fine. BUT I will wait till i hear from the rest of the team (talk-ca) list before proceeding to go full steam ahead. :) Thanks, Sam On Fri, Feb 20, 2009 at 8:23 AM, Michel Gilbert wrote: > > > 2009/2/20 Sam Vekemans > >> Thanks, >> What was the method you used to import the buildings? >> > > You that I am a FME fan. So I made a quick FME workbench to import the > building. I am going to make it more generic and I'll use the chart you > prepared (thanks). I'll add my name on the status table for Canvec Import > when I be ready to import buildings. I'll update the chart if it needs to be > adjusted. > > Michel > >> >> >> The method i discribe should NOT be used, as i dont use the many >> different building ID's available (the wiki chart has the list of what >> tags each ID Should get). >> http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures >> 2010009_2.shp includes everything from Train Station Buildings to >> Educational Buildings (48 or so different building ID's) ... the >> _2 indicates polygon. >> And yes, CanVec doesnt distinguish between different educational >> buildings... lumps them all in to the same category. >> >> Also my method does not imort NIDs. >> >> >> Cheers, >> Sam >> >> On 2/20/09, Michel Gilbert wrote: >> > Hi Sam & all, >> > >> > The idea is good to import building entities. I think we should >> concentrate >> > on polygon buildings where we'll get important buildings. To tag them >> you >> > should first prepare a map between osm tags and canvec building >> attribute. >> > Of cousre the most important attribute is building function. I imported >> few >> > buildings in Sherbrooke area ( >> > >> http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF >> ). >> > I tagged the buildings like this: >> > >> > >> >- k=building, v="university" or k=building, v="yes" >> >- k=amenity, v="university" >> > >> > I don't think Canvec has the amenity concept though. >> > >> > Cheers, >> > >> > Michel >> > >> > 2009/2/20 Sam Vekemans >> > >> >> Hi all,I posted a link to the screen shot on the wiki page >> >> http://wiki.openstreetmap.org/wiki/Canvec2osm >> >> I haven't uploaded any of the data, because I haven't figured out how >> to >> >> get the tags on there (especially the NID) >> >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS >> >> program >> >> to name all the shape files. The shapefiles contain more details, as >> you >> >> can >> >> see from the other image, viewing from the JUMP program. The wiki >> charts >> >> show how each feature ID# would match up to OSM. >> >> >> >> From the example, it would be awesome if JOSM could handle importing >> just >> >> the selected item or selected groups of items, rather than uploading >> >> everything that was shown. Is that technically possible? >> >> >> >> Thanks, >> >> Sam Vekemans >> >> Across Canada Trails >> >> >> >> >> >> >> >> >> >> ___ >> >> Talk-ca mailing list >> >> Talk-ca@openstreetmap.org >> >> http://lists.openstreetmap.org/listinfo/talk-ca >> >> >> >> >> > >> > >> > -- >> > Michel Gilbert >> > >> > > > > -- > Michel Gilbert > ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca
Re: [Talk-ca] CanVec (part of GeoBase) Import update
2009/2/20 Sam Vekemans > Thanks, > What was the method you used to import the buildings? You that I am a FME fan. So I made a quick FME workbench to import the building. I am going to make it more generic and I'll use the chart you prepared (thanks). I'll add my name on the status table for Canvec Import when I be ready to import buildings. I'll update the chart if it needs to be adjusted. Michel > > > The method i discribe should NOT be used, as i dont use the many > different building ID's available (the wiki chart has the list of what > tags each ID Should get). > http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures > 2010009_2.shp includes everything from Train Station Buildings to > Educational Buildings (48 or so different building ID's) ... the > _2 indicates polygon. > And yes, CanVec doesnt distinguish between different educational > buildings... lumps them all in to the same category. > > Also my method does not imort NIDs. > > > Cheers, > Sam > > On 2/20/09, Michel Gilbert wrote: > > Hi Sam & all, > > > > The idea is good to import building entities. I think we should > concentrate > > on polygon buildings where we'll get important buildings. To tag them you > > should first prepare a map between osm tags and canvec building > attribute. > > Of cousre the most important attribute is building function. I imported > few > > buildings in Sherbrooke area ( > > > http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF > ). > > I tagged the buildings like this: > > > > > >- k=building, v="university" or k=building, v="yes" > >- k=amenity, v="university" > > > > I don't think Canvec has the amenity concept though. > > > > Cheers, > > > > Michel > > > > 2009/2/20 Sam Vekemans > > > >> Hi all,I posted a link to the screen shot on the wiki page > >> http://wiki.openstreetmap.org/wiki/Canvec2osm > >> I haven't uploaded any of the data, because I haven't figured out how to > >> get the tags on there (especially the NID) > >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS > >> program > >> to name all the shape files. The shapefiles contain more details, as you > >> can > >> see from the other image, viewing from the JUMP program. The wiki charts > >> show how each feature ID# would match up to OSM. > >> > >> From the example, it would be awesome if JOSM could handle importing > just > >> the selected item or selected groups of items, rather than uploading > >> everything that was shown. Is that technically possible? > >> > >> Thanks, > >> Sam Vekemans > >> Across Canada Trails > >> > >> > >> > >> > >> ___ > >> Talk-ca mailing list > >> Talk-ca@openstreetmap.org > >> http://lists.openstreetmap.org/listinfo/talk-ca > >> > >> > > > > > > -- > > Michel Gilbert > > > -- Michel Gilbert ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca
Re: [Talk-ca] CanVec (part of GeoBase) Import update
Right, that 'zoom to selection' (should) eliminate that crazy off-set that happens during cut'n'paste. Cheers, Sam On 2/20/09, si...@mungewell.org wrote: > >> From the example, it would be awesome if JOSM could handle importing just >> the selected item or selected groups of items, rather than uploading >> everything that was shown. Is that technically possible? >> > > If you are handling smallish amounts of data you can cut'n'paste between > JOSM layers, if you are handling massive data sets you are probably better > off using osmosis to filter and upload stuff. > > For JOSM the trick is: > 1) Load local '.osm' to layer (1). > 2) Move to location and download OSM data for area, layer (2) > 3) In layer (1) select appropriate data, either with 'area select' or > ctrl+click > 4) 'Zoom to selection'/extents of data (press '2' key). > 5) Copy data > 6) Switch to OSM layer (2) > 7) Paste local data and tidy up. > 8) repeat as nessecary > 9) Upload result. > > You need to 'zoom to selection' otherwise the location of the data is > changed as it is cut'n'pasted between layers. > > Have fun, > Simon. > > > ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca
Re: [Talk-ca] CanVec (part of GeoBase) Import update
> From the example, it would be awesome if JOSM could handle importing just > the selected item or selected groups of items, rather than uploading > everything that was shown. Is that technically possible? > If you are handling smallish amounts of data you can cut'n'paste between JOSM layers, if you are handling massive data sets you are probably better off using osmosis to filter and upload stuff. For JOSM the trick is: 1) Load local '.osm' to layer (1). 2) Move to location and download OSM data for area, layer (2) 3) In layer (1) select appropriate data, either with 'area select' or ctrl+click 4) 'Zoom to selection'/extents of data (press '2' key). 5) Copy data 6) Switch to OSM layer (2) 7) Paste local data and tidy up. 8) repeat as nessecary 9) Upload result. You need to 'zoom to selection' otherwise the location of the data is changed as it is cut'n'pasted between layers. Have fun, Simon. ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca
Re: [Talk-ca] CanVec (part of GeoBase) Import update
Eureka! By starting a new session of JOSM; 1 - with opening BS2010009_2.osm and with 4 large square selections delete everything BUT the area your familiar with (on-the-ground observations). 2 - Load the local OSM area. 3 - Then add in the appropriate KEY/Values along with the source:CanVec Import 2009 tag. < > Thanks, > What was the method you used to import the buildings? > > The method i discribe should NOT be used, as i dont use the many > different building ID's available (the wiki chart has the list of what > tags each ID Should get). > http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures > 2010009_2.shp includes everything from Train Station Buildings to > Educational Buildings (48 or so different building ID's) ... the > _2 indicates polygon. > And yes, CanVec doesnt distinguish between different educational > buildings... lumps them all in to the same category. > > Also my method does not imort NIDs. > > > Cheers, > Sam > > On 2/20/09, Michel Gilbert wrote: > > Hi Sam & all, > > > > The idea is good to import building entities. I think we should > concentrate > > on polygon buildings where we'll get important buildings. To tag them you > > should first prepare a map between osm tags and canvec building > attribute. > > Of cousre the most important attribute is building function. I imported > few > > buildings in Sherbrooke area ( > > > http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF > ). > > I tagged the buildings like this: > > > > > >- k=building, v="university" or k=building, v="yes" > >- k=amenity, v="university" > > > > I don't think Canvec has the amenity concept though. > > > > Cheers, > > > > Michel > > > > 2009/2/20 Sam Vekemans > > > >> Hi all,I posted a link to the screen shot on the wiki page > >> http://wiki.openstreetmap.org/wiki/Canvec2osm > >> I haven't uploaded any of the data, because I haven't figured out how to > >> get the tags on there (especially the NID) > >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS > >> program > >> to name all the shape files. The shapefiles contain more details, as you > >> can > >> see from the other image, viewing from the JUMP program. The wiki charts > >> show how each feature ID# would match up to OSM. > >> > >> From the example, it would be awesome if JOSM could handle importing > just > >> the selected item or selected groups of items, rather than uploading > >> everything that was shown. Is that technically possible? > >> > >> Thanks, > >> Sam Vekemans > >> Across Canada Trails > >> > >> > >> > >> > >> ___ > >> Talk-ca mailing list > >> Talk-ca@openstreetmap.org > >> http://lists.openstreetmap.org/listinfo/talk-ca > >> > >> > > > > > > -- > > Michel Gilbert > > > ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca
Re: [Talk-ca] CanVec (part of GeoBase) Import update
Thanks, What was the method you used to import the buildings? The method i discribe should NOT be used, as i dont use the many different building ID's available (the wiki chart has the list of what tags each ID Should get). http://wiki.openstreetmap.org/wiki/CanVec:_Buildings_and_structures 2010009_2.shp includes everything from Train Station Buildings to Educational Buildings (48 or so different building ID's) ... the _2 indicates polygon. And yes, CanVec doesnt distinguish between different educational buildings... lumps them all in to the same category. Also my method does not imort NIDs. Cheers, Sam On 2/20/09, Michel Gilbert wrote: > Hi Sam & all, > > The idea is good to import building entities. I think we should concentrate > on polygon buildings where we'll get important buildings. To tag them you > should first prepare a map between osm tags and canvec building attribute. > Of cousre the most important attribute is building function. I imported few > buildings in Sherbrooke area ( > http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF). > I tagged the buildings like this: > > >- k=building, v="university" or k=building, v="yes" >- k=amenity, v="university" > > I don't think Canvec has the amenity concept though. > > Cheers, > > Michel > > 2009/2/20 Sam Vekemans > >> Hi all,I posted a link to the screen shot on the wiki page >> http://wiki.openstreetmap.org/wiki/Canvec2osm >> I haven't uploaded any of the data, because I haven't figured out how to >> get the tags on there (especially the NID) >> I used the shp-to-osm java program (from Ian Dees), and a basic DOS >> program >> to name all the shape files. The shapefiles contain more details, as you >> can >> see from the other image, viewing from the JUMP program. The wiki charts >> show how each feature ID# would match up to OSM. >> >> From the example, it would be awesome if JOSM could handle importing just >> the selected item or selected groups of items, rather than uploading >> everything that was shown. Is that technically possible? >> >> Thanks, >> Sam Vekemans >> Across Canada Trails >> >> >> >> >> ___ >> Talk-ca mailing list >> Talk-ca@openstreetmap.org >> http://lists.openstreetmap.org/listinfo/talk-ca >> >> > > > -- > Michel Gilbert > ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca
Re: [Talk-ca] CanVec (part of GeoBase) Import update
Hi Sam & all, The idea is good to import building entities. I think we should concentrate on polygon buildings where we'll get important buildings. To tag them you should first prepare a map between osm tags and canvec building attribute. Of cousre the most important attribute is building function. I imported few buildings in Sherbrooke area ( http://www.openstreetmap.org/?lat=45.37976&lon=-71.92381&zoom=15&layers=B000FTF). I tagged the buildings like this: - k=building, v="university" or k=building, v="yes" - k=amenity, v="university" I don't think Canvec has the amenity concept though. Cheers, Michel 2009/2/20 Sam Vekemans > Hi all,I posted a link to the screen shot on the wiki page > http://wiki.openstreetmap.org/wiki/Canvec2osm > I haven't uploaded any of the data, because I haven't figured out how to > get the tags on there (especially the NID) > I used the shp-to-osm java program (from Ian Dees), and a basic DOS program > to name all the shape files. The shapefiles contain more details, as you can > see from the other image, viewing from the JUMP program. The wiki charts > show how each feature ID# would match up to OSM. > > From the example, it would be awesome if JOSM could handle importing just > the selected item or selected groups of items, rather than uploading > everything that was shown. Is that technically possible? > > Thanks, > Sam Vekemans > Across Canada Trails > > > > > ___ > Talk-ca mailing list > Talk-ca@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk-ca > > -- Michel Gilbert ___ Talk-ca mailing list Talk-ca@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-ca