Skip to content

Extracts GPS coordinates from pdf files and Points/Polygons from kmz files to create a master kml file. ๐ŸŒŽ

Notifications You must be signed in to change notification settings

gcpetri/SiteMap-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

SiteMapPython


Building

  1. Ensure you have java 1.8 Enter in Command Prompt
java -version

if not get it here
https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

  1. Download Tika (if you need to parse pdfs)
    https://www.apache.org/dyn/closer.cgi/tika/2.0.0-BETA/tika-2.0.0-BETA-src.zip
    Extract the contents in the Java/bin directory on your system (eg. C:\Program Files(x86)\Java\bin).

  2. Set the server path
    Enter in Command Prompt

set TIKA_SERVER_JAR="file:////tika-server.jar"
  1. Build the Qt Application

If you are on Windows get the pre-build application here
https://drive.google.com/file/d/1vyydbRU38qOSFUknkJ3Bf748e-qiJA1v/view?usp=sharing

Else build it with pyinstaller
pyinstaller

pip3 install pyinstaller
pyinstaller --onefile --windowed --icon=sitemapLogo.ico --name=SiteMap.exe --hidden-import=lxml 
--hidden-import=simplekml --hidden-import=tika -c cli.py

Dev Dependencies

  • python3
  • pip3
  • pyinstaller
pip3 install pyinstaller
  • PyQt5
pip3 install pyqt5
  • simplekml
pip3 install simplekml
  • lxml
pip3 install lxml
  • tika
pip3 install tika

About

Extracts GPS coordinates from pdf files and Points/Polygons from kmz files to create a master kml file. ๐ŸŒŽ

Topics

Resources

Stars

Watchers

Forks