Hi to all,
I wonder if there is a way of inserting more than one raster into a map made with ps.map. This is possible with vectors, is it possible with rasters?? how??
cheers and thanks to all
Francesco
Hi to all,
I wonder if there is a way of inserting more than one raster into a map made with ps.map. This is possible with vectors, is it possible with rasters?? how??
cheers and thanks to all
Francesco
g.manual ps.map:
...
For each ps.map run, only one raster map layer (or set of layers or imagery group; see below) can be requested.
...
r.patch could help
jachym
On Fri, Jan 13, 2006 at 01:13:13PM +0100, Francesco Mirabella wrote:
Hi to all,
I wonder if there is a way of inserting more than one raster into a map made with ps.map. This is possible with vectors, is it possible with rasters?? how??cheers and thanks to all
Francesco
--
Jachym Cepicky
e-mail: jachym.cepicky@centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
LDF MZLU v Brnì
Zemìdìlská 3
613 00 Brno
e-mail: xcepicky@node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514
> I wonder if there is a way of inserting more than one raster into a
> map made with ps.map. This is possible with vectors, is it possible
> with rasters?? how??
..
g.manual ps.map:
...
For each ps.map run, only one raster map layer (or set of layers or
imagery group; see below) can be requested. ...r.patch could help
also you could make a ps.map Encapsulated PostScript output map, then
place the EPS file(s) within another ps.map container map. Possibly
even a (mostly) blank one if say you want 4 maps arranged as so:
+-------------------+
| |
| +-----+ +-----+ |
| | | | | |
| | | | | |
| +-----+ +-----+ |
| |
| +-----+ +-----+ |
| | | | | |
| | | | | |
| +-----+ +-----+ |
| |
| Map captions.. |
| |
| |
+-------------------+
?
In the past I have use this to put a sub-set map in a corner showing
map of the country with a region box around the area of detail in the
main map. Worked ok but the resulting Postscript file was huge.
Hamish
Hi Hamish,
thanks for your replay, I will try. In fact r.patch works fine if the
maps are of the same type, otherwise the reconstruction of the color map
can make bad results..
cheers
Francesco
On Wed, Jan 18, 2006 at 03:07:23PM +1300, Hamish wrote:
> > I wonder if there is a way of inserting more than one raster into a
> > map made with ps.map. This is possible with vectors, is it possible
> > with rasters?? how??
..
> g.manual ps.map:
> ...
> For each ps.map run, only one raster map layer (or set of layers or
> imagery group; see below) can be requested. ...
>
> r.patch could helpalso you could make a ps.map Encapsulated PostScript output map, then
place the EPS file(s) within another ps.map container map. Possibly
even a (mostly) blank one if say you want 4 maps arranged as so:+-------------------+
| |
| +-----+ +-----+ |
| | | | | |
| | | | | |
| +-----+ +-----+ |
| |
| +-----+ +-----+ |
| | | | | |
| | | | | |
| +-----+ +-----+ |
| |
| Map captions.. |
| |
| |
+-------------------+?
In the past I have use this to put a sub-set map in a corner showing
map of the country with a region box around the area of detail in the
main map. Worked ok but the resulting Postscript file was huge.Hamish
I wonder if there is a way of inserting more than one raster into a
map made with ps.map. This is possible with vectors, is it possible
with rasters?? how??..
For each ps.map run, only one raster map layer (or set of layers or
imagery group; see below) can be requested. ...r.patch could help
..
also you could make a ps.map Encapsulated PostScript output map, then
place the EPS file(s) within another ps.map container map. Possibly
even a (mostly) blank one if say you want 4 maps arranged as so:
..
thanks for your replay, I will try. In fact r.patch works fine if the
maps are of the same type, otherwise the reconstruction of the color
map can make bad results..
the eps within another ps.map is useful if the regions will be different
(e.g. overview map + detail map at different places on the page).
If you are interested in just overlaying maps in both the same region &
place on the page, it is best to just use r.patch for maps of the same
color maps, or as Glynn explained to me on the mailing lists a few
months ago, use r.mapcalc to create red,green,blue maps using the "#"
operator combined with if() statements to provide the order (see the
r.mapcalc help page). My less efficient method was to export a PNG dump
of the display monitor, then reload that image into GRASS as a new
raster.
Hamish
Ok Hamish,
thanks for your suggestion, I will try to see what I can manage to do
with r.mapcalc
cheers
Francesco
On Thu, Jan 19, 2006 at 03:18:41PM +1300, Hamish wrote:
>>>> I wonder if there is a way of inserting more than one raster into a
>>>> map made with ps.map. This is possible with vectors, is it possible
>>>> with rasters?? how??
> ..
>>> For each ps.map run, only one raster map layer (or set of layers or
>>> imagery group; see below) can be requested. ...
>>>
>>> r.patch could help
..
>> also you could make a ps.map Encapsulated PostScript output map, then
>> place the EPS file(s) within another ps.map container map. Possibly
>> even a (mostly) blank one if say you want 4 maps arranged as so:
..
> thanks for your replay, I will try. In fact r.patch works fine if the
> maps are of the same type, otherwise the reconstruction of the color
> map can make bad results..the eps within another ps.map is useful if the regions will be different
(e.g. overview map + detail map at different places on the page).If you are interested in just overlaying maps in both the same region &
place on the page, it is best to just use r.patch for maps of the same
color maps, or as Glynn explained to me on the mailing lists a few
months ago, use r.mapcalc to create red,green,blue maps using the "#"
operator combined with if() statements to provide the order (see the
r.mapcalc help page). My less efficient method was to export a PNG dump
of the display monitor, then reload that image into GRASS as a new
raster.Hamish