Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Latest commit

 

History

History

osmparser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
Copyright (C) 2008 Josias Polchau

This 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.
This 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.
You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>.




OSMParser
=========

systax: osmparse OPTION

required options:
-x=[Inputfile]      osm-XML data
-f=[mapFeatures]    XML file with requested Tags

optional:
-o=[outputfile]     file to write the Openlayer-Text. if not specified saves each Tag to different Openlayer-Text-files






syntax of the mapFeatures.xml:
==============================
eg:
<entry osmKey="leisure" osmValue="playground" filename="playground.txt" name="Spielplatz" image="playground.png" imagesize="20,20" imageoffset="-8,-8" />
	
nodename: entry

atributes:
	required:
		osmKey		:
		osmValue	:
		image		: image of the pont
		imagesize	: scale
		imageoffset	: offset
	optional:
		filename	: file to write the Openlayer-Text. If not specified write to [osmKey]-[osmValue].txt
		name		: header of the point