source: subversion/applications/utils/osmparser/readme @ 34385

Last change on this file since 34385 was 10055, checked in by josias, 11 years ago

osmparser added

File size: 1.4 KB
Line 
1Copyright (C) 2008 Josias Polchau
2
3This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
4This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
5You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.
6
7
8
9
10OSMParser
11=========
12
13systax: osmparse OPTION
14
15required options:
16-x=[Inputfile]      osm-XML data
17-f=[mapFeatures]    XML file with requested Tags
18
19optional:
20-o=[outputfile]     file to write the Openlayer-Text. if not specified saves each Tag to different Openlayer-Text-files
21
22
23
24
25
26
27syntax of the mapFeatures.xml:
28==============================
29eg:
30<entry osmKey="leisure" osmValue="playground" filename="playground.txt" name="Spielplatz" image="playground.png" imagesize="20,20" imageoffset="-8,-8" />
31       
32nodename: entry
33
34atributes:
35        required:
36                osmKey          :
37                osmValue        :
38                image           : image of the pont
39                imagesize       : scale
40                imageoffset     : offset
41        optional:
42                filename        : file to write the Openlayer-Text. If not specified write to [osmKey]-[osmValue].txt
43                name            : header of the point
Note: See TracBrowser for help on using the repository browser.