Skip to content

The parallel cartographic modeling language (PCML) is a multi-institutional collaborative project aiming to create a computing language for cyberGIScientists that is designed for (1) usability, (2) programmability, and (3) scalability.

License

JayakrishnanAjayakumar/pcml

 
 

Repository files navigation

Parallel Cartographic Modeling Language - PCML

Introduction

The parallel cartographic modeling language (PCML) is a multi-institutional collaborative project aiming to create a computing language for cyberGIScientists that is designed for (1) usability, (2) programmability, and (3) scalability. PCML provides multi-core parallel processing for spatial operations while hiding the implementation complexities of parallelism.

Installation

1. Make sure that pip and setuptools are installed in your current Python environment (global or a virtualenv).

2. Install GDAL library

$ sudo apt-get install libgdal-dev

or

$ su -c 'yum install gdal-devel gdal-libs'

The command may vary according to package manager and system.

3. Install the required dependencies

$ pip install -r requirements.txt

4. Finally, install

$ python setup.py install

Example

from pcml import *
PCMLConfig.num_procs = 4 # Run computation in 4 processes (default)
layer1 = ReadASCIIGrid("layer1.asc")
layer2 = ReadGeoTIFF("layer2.tiff")
layer_out = layer1 + layer2
layer_out.print_data()

Please also see test.py for additional working examples.

Build status

wercker status

About

The parallel cartographic modeling language (PCML) is a multi-institutional collaborative project aiming to create a computing language for cyberGIScientists that is designed for (1) usability, (2) programmability, and (3) scalability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%