Skip to content

Creates a jml file for OpenJump from excavation measurement data.

Notifications You must be signed in to change notification settings

lucaarcteam/Polygontool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polygontool

Creates a jml file for OpenJump from excavation measurement data.

Software dependencies:

  • python lxml module: http://lxml.de/
  • maybe you need also libxml2 and libxslt, install with your linux package-managment system

Config files:

linetypes.conf

- this types will be converted to JML-lines, all others to JML-polygons

nameconvention.conf

- you can set here the delemiter between objectnumber and sequenznumber
- numberdigits_after_delemiter sets the length of the sequenznumber
- numberdigits_passmarker sets the length of the sequenznumber to recognise a passmarkerline.
- passmarkertoken sets which lines will be recognized as passmarkerlines

objectdescription.conf

- you can set here the fullnames in english and german for the objecttypes

xmlheader.xml

- template for a empty jml file, do not change anything

Program args:

-i myinputFile.txt --- convert/extract this file
-o myoutputDir --- write created files to this directory, this arg is optional
-v --- verbose mode, print more output, this arg is optional

Example call:

python main.py -i spw20131031-01.csv

About

Creates a jml file for OpenJump from excavation measurement data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages