<br><br><div class="gmail_quote">On Mon, Sep 21, 2009 at 2:36 PM, Ian Dees <span dir="ltr"><<a href="mailto:ian.dees@gmail.com">ian.dees@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Sep 21, 2009 at 4:30 PM, Sam Vekemans <span dir="ltr"><<a href="mailto:acrosscanadatrails@gmail.com" target="_blank">acrosscanadatrails@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I don't know if its technically possible, but it would be great if<br>
there was a toggle switch that could include only select source<br>
key/value pairs,<br>
ie. in the BS_1250009_0_Navigational_aidRULES.txt dataset, having it<br>
that it would only create an .osm file for the 'navigational light'<br>
source key=<br>
CODE, value=1250020<br>
so then the script would run through the rules.txt file and would only<br>
look at the above, CODE/value, and place "man_made=lighthouse", as the<br>
only feature in the .osm file and omit the rest. (omitting the<br>
values 1250030 and 1250010)<br>
<br>
Sorry, I'm not sure how to submit a ticket on the redmine website yet.<br></blockquote></div><div><br>Click the "New Issue" link at <a href="http://redmine.yellowbkpk.com/projects/show/geo" target="_blank">http://redmine.yellowbkpk.com/projects/show/geo</a><br>
</div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
If not technically possible, then maybe it's possible with an add-on<br>
java .jar program?<br>
</blockquote></div><div><br>This is the idea behind the "-t" option. Make your rules.txt file only include the tags you want (in this case, just the navigational light), then run shp-to-osm with the -t option. This will only include the primitives that are tagged in the output OSM file(s).<br>
</div></div></blockquote><div><br>YES, i get it :-)<br>Sorry, a little daft, but it took a moment to click in. That's simply BRILLIANT!!!.<br><br>And for the imports list & talk-ca list.<br>This change will require a slight 'lengthening' of the number of Rules.txt file in the folder, i AM prepared to handle it all myself, but if anyone wants to help (Richard) please let me know what rules.txt file you want to work on. And everyone else, what features do you want to see shown as independent .osm files?<br>
... and the fixing process is rather easy. It just requires the changing of the details in the column of the CanVec Map features chart, to indicate the new filename of the rules.txt file.<br><br><a href="http://spreadsheets.google.com/ccc?key=0Am70fsptsPF2clAwc29KaXlGaGFwS1piUkxZWjc0ekE&hl=en">http://spreadsheets.google.com/ccc?key=0Am70fsptsPF2clAwc29KaXlGaGFwS1piUkxZWjc0ekE&hl=en</a><br>
<br><br></div></div>Thanks again,<br>Cheers,<br>Sam<br>