Thank you Frank. I'll download and test it. I will give you some feedbacks in shortly. Does it work on a Mac ? <br><br>Michel<br><br><div class="gmail_quote">2009/11/12 Sam Vekemans <span dir="ltr"><<a href="mailto:acrosscanadatrails@gmail.com">acrosscanadatrails@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Cool,<br>
thanks Frank,<br>
i also saw you worked on the wiki a bit more too. Great!<br>
<br>
Reading over it, that 'glomKey' is supposed to fix that<br>
'non-connecting-rivers-bug' i have.<br>
Has anyone made work?<br>
<br>
Also, the note that 'type' cannot be used in the rules.txt, yet 'type'<br>
is a valid OSM tag and actively used to list the 'sub-values' of the<br>
tag above.<br>
<br>
Also, the dos bat file has a VERY basic GUI, where it now lets you<br>
process each group of tile letter (16 tiles) separatly or download 256<br>
tiles and let the whole thing just run.<br>
<br>
I'll take another at running python wizardry, but its 'most probably'<br>
someone else who will let the whole routeen run on their computer.<br>
& upload the .zip file to the NRCan ftp 'incomming' folder.<br>
... Once the last geometry bugs get fixed.<br>
<br>
... Anyway, lots to chat about.<br>
<br>
Great job,<br>
cheers,<br>
Sam<br>
<div><div></div><div class="h5"><br>
On 11/11/09, Frank Steggink <<a href="mailto:steggink@steggink.org">steggink@steggink.org</a>> wrote:<br>
> Hi,<br>
><br>
> I have created a python version of canvec-to-osm. It does basically the<br>
> same as Sam's batch files. With it, 1 or 16 tiles are downloaded,<br>
> converted, and put in a ZIP file.<br>
><br>
> The script can be found here:<br>
> <a href="http://www.steggink.org/osm/Canvec/Canvec-to-osm_v0.1.zip" target="_blank">http://www.steggink.org/osm/Canvec/Canvec-to-osm_v0.1.zip</a><br>
><br>
> Requirements:<br>
> - Python 2.6 (recommended) or 2.5: <a href="http://www.python.org/" target="_blank">http://www.python.org/</a><br>
> - Java Runtime Environment: <a href="http://www.java.com/" target="_blank">http://www.java.com/</a><br>
> - recent version of shp-to-osm:<br>
> <a href="http://redmine.yellowbkpk.com/projects/list_files/geo" target="_blank">http://redmine.yellowbkpk.com/projects/list_files/geo</a><br>
><br>
> I've tested the script both on Windows and Linux (Ubuntu) with<br>
> shp-to-osm 0.7.1 - 0.7.3.<br>
> The rules files come from Sam's canvec-to-osm script, version 0.9.6.0.<br>
> They are not the final rules files which should be available in a few<br>
> weeks. If you want to add more features, or exclude some features from<br>
> being processed, you can easily add / remove lines from<br>
> canvec_to_osm_features.py.<br>
><br>
> The configuration of this script is part of the script itself (for now).<br>
> The default should be enough to get you going, so it is not necessary to<br>
> change the configuration. You can do this, if you already have an<br>
> existing directory to store Canvec SHP data. The script does not attempt<br>
> to modify the feature geometries. This should be done by more<br>
> specialized scripts / applications. I haven't looked in that.<br>
><br>
> Detailed instructions can be found in the readme. Questions and feedback<br>
> are welcome.<br>
><br>
> Regards,<br>
><br>
> Frank<br>
><br>
> _______________________________________________<br>
> Talk-ca mailing list<br>
> <a href="mailto:Talk-ca@openstreetmap.org">Talk-ca@openstreetmap.org</a><br>
> <a href="http://lists.openstreetmap.org/listinfo/talk-ca" target="_blank">http://lists.openstreetmap.org/listinfo/talk-ca</a><br>
><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Twitter: @Acrosscanada<br>
Blog:  <a href="http://Acrosscanadatrails.blogspot.com" target="_blank">http://Acrosscanadatrails.blogspot.com</a><br>
Facebook: <a href="http://www.facebook.com/sam.vekemans" target="_blank">http://www.facebook.com/sam.vekemans</a><br>
OpenStreetMap IRC: <a href="http://irc.openstreetmap.org" target="_blank">http://irc.openstreetmap.org</a><br>
@Acrosscanadatrails<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Talk-ca mailing list<br>
<a href="mailto:Talk-ca@openstreetmap.org">Talk-ca@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-ca" target="_blank">http://lists.openstreetmap.org/listinfo/talk-ca</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Michel Gilbert<br>