[Geoserver-users] Image Order in a Mosaic

Hello,

I have several geostationary satellite images that cover different parts of
the earth.
https://www2.metnet.navy.mil/TESI0/examples/satimagery.tgz
1) GOES East GeoTIFF. (-110.99, -16.03) (-28.97, 65.99)
2) GOES West GeoTIFF. (-196.75, -16.03) (-85.21, 65.99)
3) Full GeoTIFF. (-179.95, -89.95) (179.95, 89.95)

I have been able to successfully mosaic the east and west images, as well as
successfully mosaic the full and west images.

I've used the MosaicIndexBuilder as well as built the mosaics by hand using
gdaltindex and the tutorial here:
http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin.

The issue is, GeoServer (gdaltindex/MosaicIndexBuilder?) always puts the
full image on top of the other images. When mosaicing east and west, east is
always on top. I've done every permutation of different input orders with
gdaltindex/MosaicIndexBuilder, to no avail. The full image is always on top.

I'm looking for a way to choose the order of images to be mosaiced, so I can
lay these GOES images on top of the full image.

Thanks,
-Sam
--
View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16098358.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Sam:

I don't think it was something I did knowingly.
The rasters in the tutorial are generated from satellite passes and
have the date and time appended at the end of the file name. So
earlier passes appear *under* later ones. Just an idea, I am not 100%
certain at the moment if this is true. But it is the explanation I
have for now.

Have you tried placing the entry for the full image at the top of the
table associated with the index shape file?

Alex

On 3/17/08, Samuel Toepke <SToepke@anonymised.com> wrote:

Hi Alex,

It was a workaround that was considered, but in the end we decided not to go with. We're going to have a large amount of satellite imagery coming in consistently, and would like to integrate each in with a mosaic.

I'm essentially trying to duplicate your tutorial, how did you get to decide the order of the images in the final product i.e. the two satellite swaths and the U.S. map on top?

Thanks,
-Sam

-----Original Message-----
From: Alexander Petkov [mailto:greenkov@anonymised.com]
Sent: Mon 3/17/2008 2:34 PM
To: Samuel Toepke
Subject: Re: [Geoserver-users] Image Order in a Mosaic

Would it be acceptable to configure the full image as a separate
layer, and then request it before the mosaic layer in your map?

Alex

On 3/17/08, SamuelToepke <SToepke@anonymised.com> wrote:
>
> Hello,
>
> I have several geostationary satellite images that cover different parts of
> the earth.
> https://www2.metnet.navy.mil/TESI0/examples/satimagery.tgz
> 1) GOES East GeoTIFF. (-110.99, -16.03) (-28.97, 65.99)
> 2) GOES West GeoTIFF. (-196.75, -16.03) (-85.21, 65.99)
> 3) Full GeoTIFF. (-179.95, -89.95) (179.95, 89.95)
>
> I have been able to successfully mosaic the east and west images, as well as
> successfully mosaic the full and west images.
>
> I've used the MosaicIndexBuilder as well as built the mosaics by hand using
> gdaltindex and the tutorial here:
> http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin.
>
> The issue is, GeoServer (gdaltindex/MosaicIndexBuilder?) always puts the
> full image on top of the other images. When mosaicing east and west, east is
> always on top. I've done every permutation of different input orders with
> gdaltindex/MosaicIndexBuilder, to no avail. The full image is always on top.
>
> I'm looking for a way to choose the order of images to be mosaiced, so I can
> lay these GOES images on top of the full image.
>
> Thanks,
> -Sam
> --
> View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16098358.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

Ciao Samuel,
the imagemosaic does not really provide an easy way to decide the
order in which do overlay the images.
When I wrote it I had in mind simple cases with limited overlap, it
was not really designed to handle more complex cases.

I have given some thoughts on how to be able to control the order of
the images (I'd need it for fully supporting LSD RasterSymbolizer 1.0
btw), but so far I never had the time
to implement something. If you can provide 3 or 4 sample images I can
try (but I can't promise :slight_smile: ) to do some experiments to see if I can
find a quick way to allow people to configure the
order of the resulting images.

Simone.
On Mon, Mar 17, 2008 at 7:19 PM, SamuelToepke <SToepke@anonymised.com> wrote:

Hello,

I have several geostationary satellite images that cover different parts of
the earth.
https://www2.metnet.navy.mil/TESI0/examples/satimagery.tgz
1) GOES East GeoTIFF. (-110.99, -16.03) (-28.97, 65.99)
2) GOES West GeoTIFF. (-196.75, -16.03) (-85.21, 65.99)
3) Full GeoTIFF. (-179.95, -89.95) (179.95, 89.95)

I have been able to successfully mosaic the east and west images, as well as
successfully mosaic the full and west images.

I've used the MosaicIndexBuilder as well as built the mosaics by hand using
gdaltindex and the tutorial here:
http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin.

The issue is, GeoServer (gdaltindex/MosaicIndexBuilder?) always puts the
full image on top of the other images. When mosaicing east and west, east is
always on top. I've done every permutation of different input orders with
gdaltindex/MosaicIndexBuilder, to no avail. The full image is always on top.

I'm looking for a way to choose the order of images to be mosaiced, so I can
lay these GOES images on top of the full image.

Thanks,
-Sam
--
View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16098358.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

On Tue, Mar 18, 2008 at 2:46 AM, Simone Giannecchini <simboss1@anonymised.com> wrote:

Ciao Samuel,
the imagemosaic does not really provide an easy way to decide the
order in which do overlay the images.
When I wrote it I had in mind simple cases with limited overlap, it
was not really designed to handle more complex cases.

I have given some thoughts on how to be able to control the order of
the images (I'd need it for fully supporting LSD RasterSymbolizer 1.0

typo, not LSD but SLD :slight_smile:

btw), but so far I never had the time
to implement something. If you can provide 3 or 4 sample images I can
try (but I can't promise :slight_smile: ) to do some experiments to see if I can
find a quick way to allow people to configure the
order of the resulting images.

Simone.

On Mon, Mar 17, 2008 at 7:19 PM, SamuelToepke <SToepke@anonymised.com> wrote:
>
> Hello,
>
> I have several geostationary satellite images that cover different parts of
> the earth.
> https://www2.metnet.navy.mil/TESI0/examples/satimagery.tgz
> 1) GOES East GeoTIFF. (-110.99, -16.03) (-28.97, 65.99)
> 2) GOES West GeoTIFF. (-196.75, -16.03) (-85.21, 65.99)
> 3) Full GeoTIFF. (-179.95, -89.95) (179.95, 89.95)
>
> I have been able to successfully mosaic the east and west images, as well as
> successfully mosaic the full and west images.
>
> I've used the MosaicIndexBuilder as well as built the mosaics by hand using
> gdaltindex and the tutorial here:
> http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin.
>
> The issue is, GeoServer (gdaltindex/MosaicIndexBuilder?) always puts the
> full image on top of the other images. When mosaicing east and west, east is
> always on top. I've done every permutation of different input orders with
> gdaltindex/MosaicIndexBuilder, to no avail. The full image is always on top.
>
> I'm looking for a way to choose the order of images to be mosaiced, so I can
> lay these GOES images on top of the full image.
>
> Thanks,
> -Sam
> --
> View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16098358.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

Hi Alex,

I've tried every permutation of order when it comes to ordering by filename,
to no avail. Also, changing the table order has no effect...

Thanks,
-Sam

Alexander Petkov wrote:

Hi Sam:

I don't think it was something I did knowingly.
The rasters in the tutorial are generated from satellite passes and
have the date and time appended at the end of the file name. So
earlier passes appear *under* later ones. Just an idea, I am not 100%
certain at the moment if this is true. But it is the explanation I
have for now.

Have you tried placing the entry for the full image at the top of the
table associated with the index shape file?

Alex

On 3/17/08, Samuel Toepke <SToepke@anonymised.com> wrote:

Hi Alex,

It was a workaround that was considered, but in the end we decided not
to go with. We're going to have a large amount of satellite imagery
coming in consistently, and would like to integrate each in with a
mosaic.

I'm essentially trying to duplicate your tutorial, how did you get to
decide the order of the images in the final product i.e. the two
satellite swaths and the U.S. map on top?

Thanks,
-Sam

-----Original Message-----
From: Alexander Petkov [mailto:greenkov@anonymised.com]
Sent: Mon 3/17/2008 2:34 PM
To: Samuel Toepke
Subject: Re: [Geoserver-users] Image Order in a Mosaic

Would it be acceptable to configure the full image as a separate
layer, and then request it before the mosaic layer in your map?

Alex

On 3/17/08, SamuelToepke <SToepke@anonymised.com> wrote:
>
> Hello,
>
> I have several geostationary satellite images that cover different
parts of
> the earth.
> https://www2.metnet.navy.mil/TESI0/examples/satimagery.tgz
> 1) GOES East GeoTIFF. (-110.99, -16.03) (-28.97, 65.99)
> 2) GOES West GeoTIFF. (-196.75, -16.03) (-85.21, 65.99)
> 3) Full GeoTIFF. (-179.95, -89.95) (179.95, 89.95)
>
> I have been able to successfully mosaic the east and west images, as
well as
> successfully mosaic the full and west images.
>
> I've used the MosaicIndexBuilder as well as built the mosaics by hand
using
> gdaltindex and the tutorial here:
>
http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin.
>
> The issue is, GeoServer (gdaltindex/MosaicIndexBuilder?) always puts
the
> full image on top of the other images. When mosaicing east and west,
east is
> always on top. I've done every permutation of different input orders
with
> gdaltindex/MosaicIndexBuilder, to no avail. The full image is always
on top.
>
> I'm looking for a way to choose the order of images to be mosaiced,
so I can
> lay these GOES images on top of the full image.
>
> Thanks,
> -Sam
> --
> View this message in context:
http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16098358.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16122111.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

SamuelToepke ha scritto:

Hi Alex,

I've tried every permutation of order when it comes to ordering by filename,
to no avail. Also, changing the table order has no effect...

Hum, can't you just configure the "big" one as a separate layer,
and then do a getMap request like layers=bigOne,mosaic?

This would enforce the order you're looking for
Cheers
Andrea

It was a workaround that was considered, but in the end we decided not to go
with. We're going to have a large amount of satellite imagery coming in
consistently, and would like to integrate each in with a mosaic.

Thanks,
-Sam

aaime wrote:

SamuelToepke ha scritto:

Hi Alex,

I've tried every permutation of order when it comes to ordering by
filename,
to no avail. Also, changing the table order has no effect...

Hum, can't you just configure the "big" one as a separate layer,
and then do a getMap request like layers=bigOne,mosaic?

This would enforce the order you're looking for
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16129256.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Absolutely, the four files can be found here:
http://www.olympianengine.com/tutorials/test/images.tgz

Thanks,
-Sam

Simone.Giannecchini wrote:

On Tue, Mar 18, 2008 at 2:46 AM, Simone Giannecchini <simboss1@anonymised.com>
wrote:

Ciao Samuel,
the imagemosaic does not really provide an easy way to decide the
order in which do overlay the images.
When I wrote it I had in mind simple cases with limited overlap, it
was not really designed to handle more complex cases.

I have given some thoughts on how to be able to control the order of
the images (I'd need it for fully supporting LSD RasterSymbolizer 1.0

typo, not LSD but SLD :slight_smile:

btw), but so far I never had the time
to implement something. If you can provide 3 or 4 sample images I can
try (but I can't promise :slight_smile: ) to do some experiments to see if I can
find a quick way to allow people to configure the
order of the resulting images.

Simone.

On Mon, Mar 17, 2008 at 7:19 PM, SamuelToepke <SToepke@anonymised.com>
wrote:
>
> Hello,
>
> I have several geostationary satellite images that cover different
parts of
> the earth.
> https://www2.metnet.navy.mil/TESI0/examples/satimagery.tgz
> 1) GOES East GeoTIFF. (-110.99, -16.03) (-28.97, 65.99)
> 2) GOES West GeoTIFF. (-196.75, -16.03) (-85.21, 65.99)
> 3) Full GeoTIFF. (-179.95, -89.95) (179.95, 89.95)
>
> I have been able to successfully mosaic the east and west images, as
well as
> successfully mosaic the full and west images.
>
> I've used the MosaicIndexBuilder as well as built the mosaics by hand
using
> gdaltindex and the tutorial here:
> http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin.
>
> The issue is, GeoServer (gdaltindex/MosaicIndexBuilder?) always puts
the
> full image on top of the other images. When mosaicing east and west,
east is
> always on top. I've done every permutation of different input orders
with
> gdaltindex/MosaicIndexBuilder, to no avail. The full image is always
on top.
>
> I'm looking for a way to choose the order of images to be mosaiced, so
I can
> lay these GOES images on top of the full image.
>
> Thanks,
> -Sam
> --
> View this message in context:
http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16098358.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it

-------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Image-Order-in-a-Mosaic-tp16098358p16129263.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Simone Giannecchini ha scritto:

Ciao Samuel,
the imagemosaic does not really provide an easy way to decide the
order in which do overlay the images.
When I wrote it I had in mind simple cases with limited overlap, it
was not really designed to handle more complex cases.

I have given some thoughts on how to be able to control the order of
the images (I'd need it for fully supporting LSD RasterSymbolizer 1.0
btw), but so far I never had the time
to implement something. If you can provide 3 or 4 sample images I can
try (but I can't promise :slight_smile: ) to do some experiments to see if I can
find a quick way to allow people to configure the
order of the resulting images.

Simone, what about sorting tiles by name?
Should be quite easy to do, if the order does not pleases you,
you just rename files as 001_tile.tif, 002_tile.tif and recreate
the index file.

Cheers
Andrea