On Mon, Sep 21, 2009 at 2:36 PM, Ian Dees <[email protected]> wrote:
> On Mon, Sep 21, 2009 at 4:30 PM, Sam Vekemans < > [email protected]> wrote: > >> Hi, >> I don't know if its technically possible, but it would be great if >> there was a toggle switch that could include only select source >> key/value pairs, >> ie. in the BS_1250009_0_Navigational_aidRULES.txt dataset, having it >> that it would only create an .osm file for the 'navigational light' >> source key= >> CODE, value=1250020 >> so then the script would run through the rules.txt file and would only >> look at the above, CODE/value, and place "man_made=lighthouse", as the >> only feature in the .osm file and omit the rest. (omitting the >> values 1250030 and 1250010) >> >> Sorry, I'm not sure how to submit a ticket on the redmine website yet. >> > > Click the "New Issue" link at > http://redmine.yellowbkpk.com/projects/show/geo > > >> >> If not technically possible, then maybe it's possible with an add-on >> java .jar program? >> > > 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). > YES, i get it :-) Sorry, a little daft, but it took a moment to click in. That's simply BRILLIANT!!!. And for the imports list & talk-ca list. 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? ... 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. http://spreadsheets.google.com/ccc?key=0Am70fsptsPF2clAwc29KaXlGaGFwS1piUkxZWjc0ekE&hl=en Thanks again, Cheers, Sam
_______________________________________________ Talk-ca mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-ca

