[Talk-ca] CANVEC data OSM files

G. Michael Carter mikey at carterfamily.ca
Sun Jul 18 18:25:37 BST 2010


I just started "selecting" things like this:

     sed "s/<node /<node version=\'1\' 
timestamp=\'2009-08-11T15:16:48Z\' /g" $x | \
       sed "s/<relation /<relation version=\'1\' 
timestamp=\'2009-08-11T15:16:48Z\' /g" |\
       sed "s/<way /<way version=\'1\' 
timestamp=\'2009-08-11T15:16:48Z\' /g" |\
       osmosis --read-xml file="/dev/stdin" \
         --tf accept-ways addr:interpolation=* highway=* addr:city=* \
         --tf accept-relations highway=* \
         --used-node --write-xml $DirName/$BaseName-navigation.osm


That way I can do the roads as one set.

On 18/07/10 01:19 PM, john whelan wrote:
> Looking through them locally I can see lots of data I'd like to lift
> out of them but some roads are a problem.  Within the City of Ottawa I
> can see unpaved roads which are already in done with a GPS trace that
> are not in the CANVEC files and some newer residential roads are
> missing that have been imported previously.  One in particular was
> from a Geobase_Import_2009 and even that one the new bit next to it
> wasn't even in the Geobase import.  Looks like I'll need to clean up
> gently, it would have been nice to do a global replace on a number of
> existing roads that had been created from GPS traces, just the ones
> with 1,000 points per kilometer in a straight line.
>
> I'd like to pull in the house numbers but so far I haven't worked out
> how to select them to copy them in.  Any one any suggestions?
>
> Thanks John
>
> _______________________________________________
> Talk-ca mailing list
> Talk-ca at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-ca
>    






More information about the Talk-ca mailing list