Hi,

Alysson Whitlam píše v St 20. 02. 2008 v 18:08 -0500:
> Hi,
>  
> I am just beginning to work with Grass, although I am fairly
> experienced with ArcGIS, including scripting for map production and
> geoprocessing (Python and VBA). Basically, I am looking to automate
> map production in Grass, using a script (Python or Perl
> preferably?). (I have to output several hundred maps, based on
> sections of a polygon layer). Since I am just beginning to use Grass,
> I am wondering if anyone could please give me an idea if this type of
> task can be accomplished in Grass.
>  
> Thanks very much,
> Alysson

Map production is in GRASS a little bit tricky, even for those, who did
never use ArcGIS before. You have to create configuration file, and run
ps.map with it. Advantage is, you can automate the whole process.
Configuration file can be generated on-the-fly and reused x-times.
Disadvantage is, you have to crate the file. See ps.map manual page for
more info [1].

As for scripting language: You can use actually every scripting language
you know. Preferably BASH, but you can use Python and Perl as well, and
I would not be wondering, if VBA would be working as well. See g.parser
manual page for details [2].

Anyway, you should get familiar with the command line in GRASS, because
of scripting in GRASS does use the same approach. You are not working
with objects, you are using whole modules, which are doing the work for
you.

Jachym

[1] http://grass.osgeo.org/grass63/manuals/html63_user/ps.map.html
[2] http://grass.osgeo.org/grass63/manuals/html63_user/g.parser.html

-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to