Skip to content

Automatic creation of a dictionary of geographic data. The output file is an Excel workbook (.xlsx)

License

Notifications You must be signed in to change notification settings

nemochina2008/DicoGIS

 
 

Repository files navigation

DicoGIS

====

Automatize the creation of a dictionnary of geographic data in a folders structure. The output dictionary is an Excel file (.xls).

Documentation

Installation

Windows

Simple way

  1. Download the last release,
  2. Uncompress it,
  3. Execute DicoGIS.exe.

If you've all dependencies installed, you can also clone this repository, edit it and create your customized executable, running:

python setup2exe_DicoGIS.py py2exe

Advanced usage

  1. Open an elevated powershell (as admin) ;
  2. Ensure that you have Python to the environment path typing [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27\;C:\Python27\Scripts\", "User") ;
  3. Download get_pip.py and execute it: python get_pip.py ;
  4. Download the repository and execute: pip install virtualenv virtualenvwrapper-powershell ;
  5. Execute: set-executionpolicy RemoteSigned to allow powershell advanced scripts. ;
  6. Create the environment: virtualenv virtenv --no-site-packages ;
  7. Activate it: .\virtenv\Scripts\activate.ps1. Your prompt should have changed. ;
  8. Get the dependencies, choosing between 32/64 bits versions: pip install -r requirements_32bits.txt or pip install -r requirements_64bits.txt ;
  9. Assuming you have installed Python in C:\Python27, copy the tcl folder from C:\Python27\ over to the root of the new virtenv (see: http://stackoverflow.com/a/30377257) to avoid this error: "This probably means that tk wasn't installed properly.". You can do that from your admin powershell prompt executing: Copy-Item -Path c:\python27\tcl\* -Destination {absolute_path_to_the_folder}\DicoGIS\virtenv\tcl -recurse -Container: $true
  10. For a more friendly usage, create a Windows shortcut: Right clic > New > Shortcut and insert this command replacing with the absolute paths (removing brackets): C:\Windows\System32\cmd.exe /k "{absolute_path_to_the_folder}\DicoGIS\virtenv\Scripts\python {absolute_path_to_the_folder}\DicoGIS\DicoGIS.py"

Ubuntu (or others Debian distributions)

You can download this repository or run these commands:

sudo apt-get install -y git python-software-properties python-virtualenv
sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install -y libgdal-dev python-setuptools python-pip python-dev python-tk python-gdal
export CPLUS_INCLUDE_PATH=/usr/include/gdal
export C_INCLUDE_PATH=/usr/include/gdal
git clone --recursive https://github.com/Guts/DicoGIS.git
cd DicoGIS/
virtualenv virtenv --no-site-packages
source virtenv/bin/activate
sudo pip install -r requirements.txt

Localization

Available in 3 languages (English, French and Spanish) but you can add your own translations (in locale folder).

About

Automatic creation of a dictionary of geographic data. The output file is an Excel workbook (.xlsx)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%