Thanks,<div>Well, it might not help as much as i thought.</div><div>Anyway, I'm wondering about weather or not your planning on having another script that would be able to import the road names? .. . or you think it would be better off that they get manually entered in, from survey?</div>
<div><br></div><div>I guess that as long as the data shows the same tag reference, it doesn't really matter what method was used. Right? I think so. </div><div><br></div><div>As im going through the process for creating the Canvec2osm script, im wondering about the usefulness for the NID, with respect to weather or not buildings / railways... (all relevant CanVec), different than GeoBase, this source tag would need to be "Geogratis.ca CanVec Import 2009"</div>
<div><br></div><div>So the big question: is there really a point to adding the NID for this CanVec data?</div><div>... since we will be adding and enhancing the maps after the import, the imported data will become meshed and melded into to OSM Map.</div>
<div>... </div><div>Ie. I import all the buildings, then add in more buildings that weren't in the set. There is No need to try to figure out what the NID is of it. .. as the update set would be used as a reference and imported the same way. > having both layers visible, then copying the features that need to be added to OSM, then add more tags to make the feature more relevant.</div>
<div><open question: Is this issue discussed enough on the wiki??></div><div><br></div><div>Cheers,</div><div>Sam</div><div><br><br><div class="gmail_quote">On Fri, Feb 13, 2009 at 2:31 AM, John Peterson <span dir="ltr"><<a href="mailto:jdp@ix.netcom.com">jdp@ix.netcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">I'm writing scripts in Ab Initio a proprietary
dataflow language.</font></div>
<div> </div>
<div><font face="Arial" size="2">It has the ability to pull apart xml, manipulate it
and put it back together.</font></div>
<div> </div>
<div><font face="Arial" size="2">So if I have two xml streams, I can join them by a
common key, and move attributes from one to another and then recreate a file
like the original but with the new attributes.</font></div>
<div> </div>
<div><font face="Arial" size="2">I use shp2text to pull the id and the srcstate
(matched/alone/uknown) from the RoadMatcher results which are in Shape file
format (that my scripting language can't read) and write scripts to merge them
with the originals.</font></div>
<div> </div>
<div><font face="Arial" size="2">I think this kind of thing can be done in python
too -- and when I'm happy with my scripts (they produce correct results with
less manual fixup) I'll make a stab at translating them.</font></div>
<div> </div>
<div><font face="Arial" size="2">Not sure that this solves your problem though
....</font></div>
<div> </div><font color="#888888">
<div><font face="Arial" size="2">John Peterson</font></div></font><div><div></div><div class="Wj3C7c">
<blockquote style="border-left:#000000 2px solid;margin-left:5px;margin-right:0px;padding-left:5px;padding-right:0px">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="background:#e4e4e4;font:10pt arial"><b>From:</b>
<a href="mailto:acrosscanadatrails@gmail.com" title="acrosscanadatrails@gmail.com" target="_blank">Sam Vekemans</a> </div>
<div style="font:10pt arial"><b>To:</b> <a href="mailto:jdp@ix.netcom.com" title="jdp@ix.netcom.com" target="_blank">jdp@ix.netcom.com</a> ; <a href="mailto:talk-ca@openstreetmap.org" title="talk-ca@openstreetmap.org" target="_blank">talk-ca@openstreetmap.org</a> ; <a href="mailto:ian.dees@gmail.com" title="ian.dees@gmail.com" target="_blank">Ian Dees</a> </div>
<div style="font:10pt arial"><b>Sent:</b> Thursday, February 12, 2009 11:44
PM</div>
<div style="font:10pt arial"><b>Subject:</b> GeoBase2osm & canvec2osm
script making</div>
<div><br></div>Hi John,
<div>Great work, :)</div>
<div>
<div><br></div>
<div><span style="border-collapse:collapse">So i'm
working with Ian Dees, (who created) shp2osm</span><br></div>
<div><span style="border-collapse:collapse">and trying
to figure out how to make this happen.</span></div>
<div><span style="border-collapse:collapse"><br></span></div>
<div><span style="border-collapse:collapse">The CanVec
shape files are similar, in that it's the same process of converting, accept
that there are no duplicated to contend with.</span></div>
<div><span style="border-collapse:collapse"><br></span></div>
<div><span style="border-collapse:collapse">My
approach is this:</span></div>
<div><span style="border-collapse:collapse"><br></span></div>
<div><span style="border-collapse:collapse">I can now
convert the Shape file to OSM, i then have both the newly created OSM file,
and the CurrentData.osm. ... i then, just copy and past the data to the osm
layer.</span></div>
<div><span style="border-collapse:collapse">So the
purpose is just to create an OSM file from the CanVec.shp
file. </span></div>
<div><span style="border-collapse:collapse"><br></span></div>
<div><span style="border-collapse:collapse">What i
still need to learn todo is automatically apply tags to this created OSM file.
any idea?</span></div>
<div><span style="border-collapse:collapse"><br></span></div>
<div><span style="border-collapse:collapse">CanVec
uses numbers instead of words like GeoBase does, so my script would have the #
= osm tag.</span></div>
<div><br></div>
<div><br></div>
<div>re:</div>
<div><span style="border-collapse:collapse">9)
shp2text to extract the columns I need in xml form<br>10) homebrew scripts to
create standalone, matched, and unknown files from<br>the geobase
original<br>11) bulk_upload.pl to upload the new alone
sections</span></div></div></blockquote></div></div></div>
</blockquote></div><br></div>