Using Python as the second GIS: Stars development Environment Configuration

Source: Internet
Author: User

Stars ' general use can be quickly learned through regal Web pages
Http://regionalanalysislab.org/?n=STARS
Do not do a detailed introduction again
The subject of interest here is the analysis of the Stars source code
The process of developing a GIS directly from the ground up using Python

STARS 0.8. There are two types of download links available in the 2 version: installation package and source code package
The installation package can be installed and run directly, and the source package can be compiled and run by the Python editor
The two operations above have the same effect


1. Installation package
Http://prdownloads.sourceforge.net/stars-py/stars-0.8.2.zip?download (Windows platform)
Http://prdownloads.sourceforge.net/stars-py/STARS-0.8.2.dmg?download (Mac Platform)
2. Source code Package
Http://prdownloads.sourceforge.net/stars-py/stars-0.8.2.tar.gz?download (cross-platform)

The source package stars-0.8.2.tar.gz can be extracted directly to the local, a folder named stars , where the. py file is the Python source code, where the data The folder is the presentation data that comes with the system, and theDoc folder is the documentation for creating the project files that are unique to stars.

Running the Stars source code requires the Python compiler to be installed, and the Python compiler can be downloaded via the following link:
Http://python.org (comes with the idle editor)
Http://www.activestate.com/Products/activepython/(included with Pythonwin editor)

You will also need to install the numeric package that serves Python:
http://numpy.scipy.org/#older_array (note Numeric is consistent with Python version)
Stars to develop the upgrade product NumPy currently not using numeric, so numpy does not support stars compile run

Python is a new language, from the formal class to Java, but it is faster to execute than Java.
About the knowledge of Python, here is not more introduction, I do not have a lot of control, mainly by the side to learn.

The ArcGIS 9 Series desktop installation comes with Python, but this python does not necessarily support stars running
(1) Stars ' development environment uses Python version 2.3 or more, ArcGIS 9.0/9.1 has a lower Python version, so you still need to install a high version of stars, but if you use ArcGIS 9.2 products, you do not need to install Python.
(2) When using ArcGIS to bring python, you still need to install the numeric package.

After installation, you can run the starsgui.py file under the stars file to enter the window after the splash screen, indicating a successful configuration.

Attached: Stars icon

Using Python as the second GIS: Stars development Environment Configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.