Details Ticket 3653


Comment | Reply | Take | Resolve


Serial Number 3653
Subject changing regions within ps.map file
Area wish6
Queue grass
Requestors mlennert@club.worldonline.be
Owner none
Status open
Last User Contact Tue Sep 20 02:49:05 2005 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Fri Feb 9 05:31:54 2007 (2 yr ago)
Created Mon Sep 19 14:25:22 2005 (3 yr ago)

Transaction History Ticket 3653


Mon, Sep 19 2005 14:25:22    Request created by guest  
Subject: changing regions within ps.map file

Platform: GNU/Linux/i386
grass obtained from: CVS
grass binary for platform: Compiled from Sources

Hello,

Would it be very difficult to implement the possibility to change regions in
a single ps.map instruction file ? This would allow creating layouts with several
maps, such as one of a large region and one of a zoom in one single run. Right
now I have to create two ps.map instruction files, run them separately and change
region in between, and then put them together in a drawing program.

Maybe a "simple"(?) ps.map element allowing to launch a system command could
be a  solution ? But this obviously depends on how binding the order of commands
in ps.map is. Otherwise, adding a "region" element to the individual map commands,
such as:

vareas MyMap1
  region XXX
end
vareas MyMap
  region YYY
end

Moritz
Mon, Sep 19 2005 15:56:38    Mail sent by mlennert@club.worldonline.be  
Return-Path <mlennert@club.worldonline.be>
Delivered-To grass-bugs@lists.intevation.de
Message-ID <46016.164.15.134.155.1127138118.squirrel@vivegnulinux.homelinux.org>
In-Reply-To <20050919122522.49D391005B7@lists.intevation.de>
References <20050919122522.49D391005B7@lists.intevation.de>
Date Mon, 19 Sep 2005 15:55:18 +0200 (CEST)
Subject Re: [GRASS5] [bug #3653] (grass) changing regions within ps.map file
From "Moritz Lennert" <mlennert@club.worldonline.be>
To "Request Tracker" <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Reply-To mlennert@club.worldonline.be
User-Agent SquirrelMail/1.4.4
MIME-Version 1.0
Content-Type text/plain;charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Mon, September 19, 2005 14:25, Request Tracker said:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3653
> -------------------------------------------------------------------------
>
> Subject: changing regions within ps.map file
>
> Platform: GNU/Linux/i386
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
>
> Hello,
>
> Would it be very difficult to implement the possibility to change regions in
a
> single ps.map instruction file ? This would allow creating layouts with
> several maps, such as one of a large region and one of a zoom in one single
> run. Right now I have to create two ps.map instruction files, run them
> separately and change region in between, and then put them together in a
> drawing program.
>
> Maybe a "simple"(?) ps.map element allowing to launch a system command could
> be a  solution ? But this obviously depends on how binding the order of
> commands in ps.map is. Otherwise, adding a "region" element to the individual
> map commands, such as:
>
> vareas MyMap1
>   region XXX
> end
> vareas MyMap
>   region YYY
> end


Just realised that ps.map actually doesn't allow placing several seperate maps
in one run, or have I missed something ? So this would obviously be a
precondition. Something in the lines of d.frames, but in ps.map...

Moritz


Tue, Sep 20 2005 02:49:05    Mail sent by guest  
ps.map is locked into one region for the session, but you can draw a box
around a subregion within the map by using the "region" instruction. (just
fixed in CVS a few days ago and could use some testing!)


Hamish
Fri, Feb 9 2007 05:31:54    Comments added by hbowman  
run ps.map in the "world scale", make a map, use the region command to make a
box around zoomed in area, save as .eps.

Change the region to the zoomed in area.

Rerun ps.map using the 'eps' instruction to place the one map in the other.
Hamish
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request