Discussion:
GeoServer Raster Min/Max Scale
(too old to reply)
kwg
2009-11-18 20:36:48 UTC
Permalink
I would like to have two layers presented as a single layer but only one
layer used for a given zoom level. Basically, I have a low resolution set of
raster’s that I would like to use if a request is big, then use a higher
resolution set when a threshold is passed. This would be conceptually
similar to showing city names on a shape-file layer when the user zooms in
far enough, except in my case, I would like to use ImageMosic A , then
ImageMosic B. I think this can be done using an SLD style, but I am having
trouble with it. I created the following style, and I was hoping that when a
request past the MinScaleDenominator was made, GeoServer would return an
error. This does not seem to happen, so I must be doing something wrong, or
this is not possible with GeoServer?

I am also a bit fizzy about the actual Min/MaxScaleDenominator values. I am
using the description found in the SLD specification
document:02-070_Styled_Layer_Descriptor_Implementation_Specification.pdf, so
I think this the values are close..

<NamedLayer>
<Name>srtm30</Name>
<UserStyle>
<Name>srtm30</Name>
<FeatureTypeStyle>
<Rule>
<Name>srtm30 Scale rule</Name>
<MinScaleDenominator>800000</MinScaleDenominator>
<MaxScaleDenominator>1750000</MaxScaleDenominator>
<RasterSymbolizer>
<!-- Rule is here to filter rendeirng. -->
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>

--
View this message in context: http://old.nabble.com/GeoServer-Raster-Min-Max-Scale-tp26415286p26415286.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
kwg
2009-11-18 21:42:04 UTC
Permalink
It also appears the Layer groups are not included in the WCS layers listing
(eg: not in getCapabilities) document?


kwg wrote:
>
> I would like to have two layers presented as a single layer but only one
> layer used for a given zoom level. Basically, I have a low resolution set
> of raster’s that I would like to use if a request is big, then use a
> higher resolution set when a threshold is passed. This would be
> conceptually similar to showing city names on a shape-file layer when the
> user zooms in far enough, except in my case, I would like to use
> ImageMosic A , then ImageMosic B. I think this can be done using an SLD
> style, but I am having trouble with it. I created the following style, and
> I was hoping that when a request past the MinScaleDenominator was made,
> GeoServer would return an error. This does not seem to happen, so I must
> be doing something wrong, or this is not possible with GeoServer?
>
> I am also a bit fizzy about the actual Min/MaxScaleDenominator values. I
> am using the description found in the SLD specification
> document:02-070_Styled_Layer_Descriptor_Implementation_Specification.pdf,
> so I think this the values are close..
>
> <NamedLayer>
> <Name>srtm30</Name>
> <UserStyle>
> <Name>srtm30</Name>
> <FeatureTypeStyle>
> <Rule>
> <Name>srtm30 Scale rule</Name>
> <MinScaleDenominator>800000</MinScaleDenominator>
> <MaxScaleDenominator>1750000</MaxScaleDenominator>
> <RasterSymbolizer>
> <!-- Rule is here to filter rendeirng. -->
> <Opacity>1.0</Opacity>
> </RasterSymbolizer>
> </Rule>
> </FeatureTypeStyle>
> </UserStyle>
> </NamedLayer>
>
>

--
View this message in context: http://old.nabble.com/GeoServer-Raster-Min-Max-Scale-tp26415286p26416274.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Andrea Aime
2009-11-19 09:21:30 UTC
Permalink
kwg ha scritto:
>
> It also appears the Layer groups are not included in the WCS layers listing
> (eg: not in getCapabilities) document?

Because layer groups are a pure rendering artifact, thus they make
sense only for WMS (a group has styles and can mix vector and raster
layers, it has no place neither in WFS nor in WMS).

An image pyramid will do what you're looking for instead, see my
previous mail.

Cheers
Andrea


--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea Aime
2009-11-19 15:17:18 UTC
Permalink
Kurtis Golding ha scritto:
> I am very new to this, so bear with me :)
>
> I agree with idea that an Image Pyramid is an approach,
> unfortunately, I am struggling with how to get that setup. I
> essentially have two large image mosaics, one at a lower resolution,
> then next at a higher one. So, for all points and practical purposes,
> I actually do have a two level Pyramid. I have made an attempt to
> getting the GeoTools Pyramid Builder to work, but still struggling to
> get that to build. Aside from that tools existence, there is very
> little documentation about what its actually doing. What I have
> discerned is the Pyramid Builder seems to want to take a single
> raster or layer mosaic, and create a tile pyramid from that. I have
> two separate image mosaics that I would like to create a single
> Pyramid out of, or, more simply make a simple two level Pyramid out
> of what I have.

The tutorial written by Simone:
http://geo-solutions.blogspot.com/2009/11/preparing-pyramid-for-geoserver-with.html

Shows how to build a pyramid out of an existing set of mosaics

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
kwg
2009-11-20 15:57:22 UTC
Permalink
This was very helpful. I followed the process illustrated by the slides,
however, instead of running the retile utility, I decided to see if I could
get the pyramid to work by using the SRTM30 set as level 0, and the SRTM3 as
level 1.

I think it's working. :jumping:

The only real issue I am seeing now is that requests for smaller tiles, in
WCS, have on odd artifact. After passing a certain zoom level, the tiles
crated by the WCS service have the entire row 0 set to 0 and entire column 0
set to 0. The remainder of the image tile seems fine.:-/

Anyway, thank you all for your support with this. Simone's tutorial was
extremely helpful!


Andrea Aime-4 wrote:
>
> Kurtis Golding ha scritto:
>> I am very new to this, so bear with me :)
>>
>> I agree with idea that an Image Pyramid is an approach,
>> unfortunately, I am struggling with how to get that setup. I
>> essentially have two large image mosaics, one at a lower resolution,
>> then next at a higher one. So, for all points and practical purposes,
>> I actually do have a two level Pyramid. I have made an attempt to
>> getting the GeoTools Pyramid Builder to work, but still struggling to
>> get that to build. Aside from that tools existence, there is very
>> little documentation about what its actually doing. What I have
>> discerned is the Pyramid Builder seems to want to take a single
>> raster or layer mosaic, and create a tile pyramid from that. I have
>> two separate image mosaics that I would like to create a single
>> Pyramid out of, or, more simply make a simple two level Pyramid out
>> of what I have.
>
> The tutorial written by Simone:
> http://geo-solutions.blogspot.com/2009/11/preparing-pyramid-for-geoserver-with.html
>
> Shows how to build a pyramid out of an existing set of mosaics
>
> Cheers
> Andrea
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
View this message in context: http://old.nabble.com/GeoServer-Raster-Min-Max-Scale-tp26415286p26443558.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Kurtis Golding
2009-11-19 15:07:05 UTC
Permalink
I am very new to this, so bear with me :)

I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.


Thanks!

-----Original Message-----
From: Andrea Aime [mailto:***@opengeo.org]
Sent: Thursday, November 19, 2009 2:22 AM
To: Kurtis Golding
Cc: geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale

kwg ha scritto:
>
> It also appears the Layer groups are not included in the WCS layers listing
> (eg: not in getCapabilities) document?

Because layer groups are a pure rendering artifact, thus they make
sense only for WMS (a group has styles and can mix vector and raster
layers, it has no place neither in WFS nor in WMS).

An image pyramid will do what you're looking for instead, see my
previous mail.

Cheers
Andrea


--
Andrea Aime
OpenGeo - http://opengeo.o
Simone Giannecchini
2009-11-19 15:29:34 UTC
Permalink
Ciao Kurt,
check the simple tutorial that aaime put together. The pyramiduilder
is, let's say, deprecated, the best way to build a pyramid from a
single mosaic is to use gdal_retile.
If understand your use cases you have two mosaic at different
resolution levels that you want to serve as a single layer, that
internally switch from one to the other depending on the scale.
Well this could be in principle accomplished with the ImagePyramid but
there are a few things to take into account.
First of all, the ImagePyramid chooses the mosaic to use taking into
account the internal resolution of the mosaics and there is not way
currently to change that, which means is not as simple as what you
want to do with the scale MIN and MAX since the plugin was desginedd
to work with a real pyramid while what need is something different
IMHO. Besides that, the ImagePyramid should work with a set of reduced
resolution mosaic of the base layer, which is a mosaic itself,
therefore we should not try to force to serve two different mosaics
for the same area with different resolutions but also with different
spectral characteristics.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> I am very new to this, so bear with me :)
>
> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>
>
> Thanks!
>
> -----Original Message-----
> From: Andrea Aime [mailto:***@opengeo.org]
> Sent: Thursday, November 19, 2009 2:22 AM
> To: Kurtis Golding
> Cc: geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> kwg ha scritto:
>>
>> It also appears the Layer groups are not included in the WCS layers listing
>> (eg: not in getCapabilities) document?
>
> Because layer groups are a pure rendering artifact, thus they make
> sense only for WMS (a group has styles and can mix vector and raster
> layers, it has no place neither in WFS nor in WMS).
>
> An image pyramid will do what you're looking for instead, see my
> previous mail.
>
> Cheers
> Andrea
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Vitor Isaia
2009-11-19 15:36:39 UTC
Permalink
To determine MIN/MAX values, I used a tip written by David Winslow:

"
One easy way is to open up the map preview for the layer of interest and
zoom in to whatever level. Then typing "javascript:void
alert(map.getScale())" into your browser's address bar (replace the address
entirely) will tell you the scale denominator for the current view. If you
use it as a maxScaleDenominator then your style will apply when you are
further zoomed in; if you use it as a minScaleDenominator then your style
will apply when you are further zoomed out.

If you need this information frequently you can make a bookmark with that
JavaScript as the URL.

Hope this helps.
"

On Thu, Nov 19, 2009 at 1:29 PM, Simone Giannecchini <
***@geo-solutions.it> wrote:

> Ciao Kurt,
> check the simple tutorial that aaime put together. The pyramiduilder
> is, let's say, deprecated, the best way to build a pyramid from a
> single mosaic is to use gdal_retile.
> If understand your use cases you have two mosaic at different
> resolution levels that you want to serve as a single layer, that
> internally switch from one to the other depending on the scale.
> Well this could be in principle accomplished with the ImagePyramid but
> there are a few things to take into account.
> First of all, the ImagePyramid chooses the mosaic to use taking into
> account the internal resolution of the mosaics and there is not way
> currently to change that, which means is not as simple as what you
> want to do with the scale MIN and MAX since the plugin was desginedd
> to work with a real pyramid while what need is something different
> IMHO. Besides that, the ImagePyramid should work with a set of reduced
> resolution mosaic of the base layer, which is a mosaic itself,
> therefore we should not try to force to serve two different mosaics
> for the same area with different resolutions but also with different
> spectral characteristics.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax: +39 0584983027
> mob: +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
> > I am very new to this, so bear with me :)
> >
> > I agree with idea that an Image Pyramid is an approach, unfortunately, I
> am struggling with how to get that setup. I essentially have two large image
> mosaics, one at a lower resolution, then next at a higher one. So, for all
> points and practical purposes, I actually do have a two level Pyramid. I
> have made an attempt to getting the GeoTools Pyramid Builder to work, but
> still struggling to get that to build. Aside from that tools existence,
> there is very little documentation about what its actually doing. What I
> have discerned is the Pyramid Builder seems to want to take a single raster
> or layer mosaic, and create a tile pyramid from that. I have two separate
> image mosaics that I would like to create a single Pyramid out of, or, more
> simply make a simple two level Pyramid out of what I have.
> >
> >
> > Thanks!
> >
> > -----Original Message-----
> > From: Andrea Aime [mailto:***@opengeo.org]
> > Sent: Thursday, November 19, 2009 2:22 AM
> > To: Kurtis Golding
> > Cc: geoserver-***@lists.sourceforge.net
> > Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
> >
> > kwg ha scritto:
> >>
> >> It also appears the Layer groups are not included in the WCS layers
> listing
> >> (eg: not in getCapabilities) document?
> >
> > Because layer groups are a pure rendering artifact, thus they make
> > sense only for WMS (a group has styles and can mix vector and raster
> > layers, it has no place neither in WFS nor in WMS).
> >
> > An image pyramid will do what you're looking for instead, see my
> > previous mail.
> >
> > Cheers
> > Andrea
> >
> >
> > --
> > Andrea Aime
> > OpenGeo - http://opengeo.org
> > Expert service straight from the developers.
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Geoserver-users mailing list
> > Geoserver-***@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Kurtis Golding
2009-11-19 16:05:45 UTC
Permalink
Ok, focusing on the idea of keeping my two layers separate, and not using an ImagePyramid, is it possible to create a single layer group and have geoserver use layer a, then layer b when a threshold is reached, through the WCS interface? It seemed this should be possible using and SLD..?

PS: I did make an attempt to merge the higher-resolution set then do a pyramid from that, unfortunately, the root 1:1 image was larger than Geoserver wanted to deal with.

I will also see if I can find the tutorial you mentioned.

Thanks for the help!
________________________________________
From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
Sent: Thursday, November 19, 2009 8:29 AM
To: Kurtis Golding
Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale

Ciao Kurt,
check the simple tutorial that aaime put together. The pyramiduilder
is, let's say, deprecated, the best way to build a pyramid from a
single mosaic is to use gdal_retile.
If understand your use cases you have two mosaic at different
resolution levels that you want to serve as a single layer, that
internally switch from one to the other depending on the scale.
Well this could be in principle accomplished with the ImagePyramid but
there are a few things to take into account.
First of all, the ImagePyramid chooses the mosaic to use taking into
account the internal resolution of the mosaics and there is not way
currently to change that, which means is not as simple as what you
want to do with the scale MIN and MAX since the plugin was desginedd
to work with a real pyramid while what need is something different
IMHO. Besides that, the ImagePyramid should work with a set of reduced
resolution mosaic of the base layer, which is a mosaic itself,
therefore we should not try to force to serve two different mosaics
for the same area with different resolutions but also with different
spectral characteristics.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> I am very new to this, so bear with me :)
>
> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>
>
> Thanks!
>
> -----Original Message-----
> From: Andrea Aime [mailto:***@opengeo.org]
> Sent: Thursday, November 19, 2009 2:22 AM
> To: Kurtis Golding
> Cc: geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> kwg ha scritto:
>>
>> It also appears the Layer groups are not included in the WCS layers listing
>> (eg: not in getCapabilities) document?
>
> Because layer groups are a pure rendering artifact, thus they make
> sense only for WMS (a group has styles and can mix vector and raster
> layers, it has no place neither in WFS nor in WMS).
>
> An image pyramid will do what you're looking for instead, see my
> previous mail.
>
> Cheers
> Andrea
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Simone Giannecchini
2009-11-19 16:10:16 UTC
Permalink
Nope unfortunately not,
WCS does not use SLD, therefore layer groups are not exposed via that protocol.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 5:05 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
>
> Ok, focusing on the idea of keeping my two layers separate, and not using an ImagePyramid, is it possible to create a single layer group and have geoserver use layer a, then layer b when a threshold is reached, through the WCS interface? It seemed this should be possible using and SLD..?
>
> PS: I did make an attempt to merge the higher-resolution set then do a pyramid from that, unfortunately, the root 1:1 image was larger than Geoserver wanted to deal with.
>
> I will also see if I can find the tutorial you mentioned.
>
> Thanks for the help!
> ________________________________________
> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
> Sent: Thursday, November 19, 2009 8:29 AM
> To: Kurtis Golding
> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> Ciao Kurt,
> check the simple tutorial that aaime put together. The pyramiduilder
> is, let's say, deprecated, the best way to build a pyramid from a
> single mosaic is to use gdal_retile.
> If understand your use cases you have two mosaic at different
> resolution levels that you want to serve as a single layer, that
> internally switch from one to the other depending on the scale.
> Well this could be in principle accomplished with the ImagePyramid but
> there are a few things to take into account.
> First of all, the ImagePyramid chooses the mosaic to use taking into
> account the internal resolution of the mosaics and there is not way
> currently to change that, which means is not as simple as what you
> want to do with the scale MIN and MAX since the plugin was desginedd
> to work with a real pyramid while what need is something different
> IMHO. Besides that, the ImagePyramid should work with a set of reduced
> resolution mosaic of the base layer, which is a mosaic itself,
> therefore we should not try to force to serve two different mosaics
> for the same area with different resolutions but also with different
> spectral characteristics.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>> I am very new to this, so bear with me :)
>>
>> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>>
>>
>> Thanks!
>>
>> -----Original Message-----
>> From: Andrea Aime [mailto:***@opengeo.org]
>> Sent: Thursday, November 19, 2009 2:22 AM
>> To: Kurtis Golding
>> Cc: geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> kwg ha scritto:
>>>
>>> It also appears the Layer groups are not included in the WCS layers listing
>>> (eg: not in getCapabilities) document?
>>
>> Because layer groups are a pure rendering artifact, thus they make
>> sense only for WMS (a group has styles and can mix vector and raster
>> layers, it has no place neither in WFS nor in WMS).
>>
>> An image pyramid will do what you're looking for instead, see my
>> previous mail.
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> Andrea Aime
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
Kurtis Golding
2009-11-19 16:24:45 UTC
Permalink
Great, that helps.

I did look over the WCS spec brefly, and I did not see any mention of SLD, so it makes since that this is not supported. That said, do you know if SLD or similar is planed for WCS in the future?

Kurtis Golding
Synergy Web Systems, LLC
720.251.8182
________________________________________
From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
Sent: Thursday, November 19, 2009 9:10 AM
To: Kurtis Golding
Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale

Nope unfortunately not,
WCS does not use SLD, therefore layer groups are not exposed via that protocol.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 5:05 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
>
> Ok, focusing on the idea of keeping my two layers separate, and not using an ImagePyramid, is it possible to create a single layer group and have geoserver use layer a, then layer b when a threshold is reached, through the WCS interface? It seemed this should be possible using and SLD..?
>
> PS: I did make an attempt to merge the higher-resolution set then do a pyramid from that, unfortunately, the root 1:1 image was larger than Geoserver wanted to deal with.
>
> I will also see if I can find the tutorial you mentioned.
>
> Thanks for the help!
> ________________________________________
> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
> Sent: Thursday, November 19, 2009 8:29 AM
> To: Kurtis Golding
> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> Ciao Kurt,
> check the simple tutorial that aaime put together. The pyramiduilder
> is, let's say, deprecated, the best way to build a pyramid from a
> single mosaic is to use gdal_retile.
> If understand your use cases you have two mosaic at different
> resolution levels that you want to serve as a single layer, that
> internally switch from one to the other depending on the scale.
> Well this could be in principle accomplished with the ImagePyramid but
> there are a few things to take into account.
> First of all, the ImagePyramid chooses the mosaic to use taking into
> account the internal resolution of the mosaics and there is not way
> currently to change that, which means is not as simple as what you
> want to do with the scale MIN and MAX since the plugin was desginedd
> to work with a real pyramid while what need is something different
> IMHO. Besides that, the ImagePyramid should work with a set of reduced
> resolution mosaic of the base layer, which is a mosaic itself,
> therefore we should not try to force to serve two different mosaics
> for the same area with different resolutions but also with different
> spectral characteristics.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax: +39 0584983027
> mob: +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>> I am very new to this, so bear with me :)
>>
>> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>>
>>
>> Thanks!
>>
>> -----Original Message-----
>> From: Andrea Aime [mailto:***@opengeo.org]
>> Sent: Thursday, November 19, 2009 2:22 AM
>> To: Kurtis Golding
>> Cc: geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> kwg ha scritto:
>>>
>>> It also appears the Layer groups are not included in the WCS layers listing
>>> (eg: not in getCapabilities) document?
>>
>> Because layer groups are a pure rendering artifact, thus they make
>> sense only for WMS (a group has styles and can mix vector and raster
>> layers, it has no place neither in WFS nor in WMS).
>>
>> An image pyramid will do what you're looking for instead, see my
>> previous mail.
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> Andrea Aime
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
Simone Giannecchini
2009-11-19 16:30:46 UTC
Permalink
I am not mean able to make an official statement on where WCS is
going, but if I should answer your question about SLD I would say no.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 5:24 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> Great, that helps.
>
> I did look over the WCS spec brefly, and I did not see any mention of SLD, so it makes since that this is not supported. That said, do you know if SLD or similar is planed for WCS in the future?
>
> Kurtis Golding
> Synergy Web Systems, LLC
> 720.251.8182
> ________________________________________
> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
> Sent: Thursday, November 19, 2009 9:10 AM
> To: Kurtis Golding
> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> Nope unfortunately not,
> WCS does not use SLD, therefore layer groups are not exposed via that protocol.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 5:05 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>>
>> Ok, focusing on the idea of keeping my two layers separate, and not using an ImagePyramid, is it possible to create a single layer group and have geoserver use layer a, then layer b when a threshold is reached, through the WCS interface? It seemed this should be possible using and SLD..?
>>
>> PS: I did make an attempt to merge the higher-resolution set then do a pyramid from that, unfortunately, the root 1:1 image was larger than Geoserver wanted to deal with.
>>
>> I will also see if I can find the tutorial you mentioned.
>>
>> Thanks for the help!
>> ________________________________________
>> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
>> Sent: Thursday, November 19, 2009 8:29 AM
>> To: Kurtis Golding
>> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> Ciao Kurt,
>> check the simple tutorial that aaime put together. The pyramiduilder
>> is, let's say, deprecated, the best way to build a pyramid from a
>> single mosaic is to use gdal_retile.
>> If understand your use cases you have two mosaic at different
>> resolution levels that you want to serve as a single layer, that
>> internally switch from one to the other depending on the scale.
>> Well this could be in principle accomplished with the ImagePyramid but
>> there are a few things to take into account.
>> First of all, the ImagePyramid chooses the mosaic to use taking into
>> account the internal resolution of the mosaics and there is not way
>> currently to change that, which means is not as simple as what you
>> want to do with the scale MIN and MAX since the plugin was desginedd
>> to work with a real pyramid while what need is something different
>> IMHO. Besides that, the ImagePyramid should work with a set of reduced
>> resolution mosaic of the base layer, which is a mosaic itself,
>> therefore we should not try to force to serve two different mosaics
>> for the same area with different resolutions but also with different
>> spectral characteristics.
>>
>> Simone.
>> -------------------------------------------------------
>> Ing. Simone Giannecchini
>> GeoSolutions S.A.S.
>> Founder - Software Engineer
>> Via Carignoni 51
>> 55041  Camaiore (LU)
>> Italy
>>
>> phone: +39 0584983027
>> fax:      +39 0584983027
>> mob:    +39 333 8128928
>>
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://simboss.blogspot.com/
>> http://www.linkedin.com/in/simonegiannecchini
>>
>> -------------------------------------------------------
>>
>>
>>
>> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
>> <***@synergywebsystems.net> wrote:
>>> I am very new to this, so bear with me :)
>>>
>>> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>>>
>>>
>>> Thanks!
>>>
>>> -----Original Message-----
>>> From: Andrea Aime [mailto:***@opengeo.org]
>>> Sent: Thursday, November 19, 2009 2:22 AM
>>> To: Kurtis Golding
>>> Cc: geoserver-***@lists.sourceforge.net
>>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>>
>>> kwg ha scritto:
>>>>
>>>> It also appears the Layer groups are not included in the WCS layers listing
>>>> (eg: not in getCapabilities) document?
>>>
>>> Because layer groups are a pure rendering artifact, thus they make
>>> sense only for WMS (a group has styles and can mix vector and raster
>>> layers, it has no place neither in WFS nor in WMS).
>>>
>>> An image pyramid will do what you're looking for instead, see my
>>> previous mail.
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> --
>>> Andrea Aime
>>> OpenGeo - http://opengeo.org
>>> Expert service straight from the developers.
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>> trial. Simplify your report design, integration and deployment - and focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-***@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>
Kurtis Golding
2009-11-19 16:32:03 UTC
Permalink
Great, thanks for all your help. That cleared up a number of miss-placed assumptions I had.

Regards,

Kurtis

________________________________________
From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
Sent: Thursday, November 19, 2009 9:30 AM
To: Kurtis Golding
Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale

I am not mean able to make an official statement on where WCS is
going, but if I should answer your question about SLD I would say no.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 5:24 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> Great, that helps.
>
> I did look over the WCS spec brefly, and I did not see any mention of SLD, so it makes since that this is not supported. That said, do you know if SLD or similar is planed for WCS in the future?
>
> Kurtis Golding
> Synergy Web Systems, LLC
> 720.251.8182
> ________________________________________
> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
> Sent: Thursday, November 19, 2009 9:10 AM
> To: Kurtis Golding
> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> Nope unfortunately not,
> WCS does not use SLD, therefore layer groups are not exposed via that protocol.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax: +39 0584983027
> mob: +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 5:05 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>>
>> Ok, focusing on the idea of keeping my two layers separate, and not using an ImagePyramid, is it possible to create a single layer group and have geoserver use layer a, then layer b when a threshold is reached, through the WCS interface? It seemed this should be possible using and SLD..?
>>
>> PS: I did make an attempt to merge the higher-resolution set then do a pyramid from that, unfortunately, the root 1:1 image was larger than Geoserver wanted to deal with.
>>
>> I will also see if I can find the tutorial you mentioned.
>>
>> Thanks for the help!
>> ________________________________________
>> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
>> Sent: Thursday, November 19, 2009 8:29 AM
>> To: Kurtis Golding
>> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> Ciao Kurt,
>> check the simple tutorial that aaime put together. The pyramiduilder
>> is, let's say, deprecated, the best way to build a pyramid from a
>> single mosaic is to use gdal_retile.
>> If understand your use cases you have two mosaic at different
>> resolution levels that you want to serve as a single layer, that
>> internally switch from one to the other depending on the scale.
>> Well this could be in principle accomplished with the ImagePyramid but
>> there are a few things to take into account.
>> First of all, the ImagePyramid chooses the mosaic to use taking into
>> account the internal resolution of the mosaics and there is not way
>> currently to change that, which means is not as simple as what you
>> want to do with the scale MIN and MAX since the plugin was desginedd
>> to work with a real pyramid while what need is something different
>> IMHO. Besides that, the ImagePyramid should work with a set of reduced
>> resolution mosaic of the base layer, which is a mosaic itself,
>> therefore we should not try to force to serve two different mosaics
>> for the same area with different resolutions but also with different
>> spectral characteristics.
>>
>> Simone.
>> -------------------------------------------------------
>> Ing. Simone Giannecchini
>> GeoSolutions S.A.S.
>> Founder - Software Engineer
>> Via Carignoni 51
>> 55041 Camaiore (LU)
>> Italy
>>
>> phone: +39 0584983027
>> fax: +39 0584983027
>> mob: +39 333 8128928
>>
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://simboss.blogspot.com/
>> http://www.linkedin.com/in/simonegiannecchini
>>
>> -------------------------------------------------------
>>
>>
>>
>> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
>> <***@synergywebsystems.net> wrote:
>>> I am very new to this, so bear with me :)
>>>
>>> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>>>
>>>
>>> Thanks!
>>>
>>> -----Original Message-----
>>> From: Andrea Aime [mailto:***@opengeo.org]
>>> Sent: Thursday, November 19, 2009 2:22 AM
>>> To: Kurtis Golding
>>> Cc: geoserver-***@lists.sourceforge.net
>>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>>
>>> kwg ha scritto:
>>>>
>>>> It also appears the Layer groups are not included in the WCS layers listing
>>>> (eg: not in getCapabilities) document?
>>>
>>> Because layer groups are a pure rendering artifact, thus they make
>>> sense only for WMS (a group has styles and can mix vector and raster
>>> layers, it has no place neither in WFS nor in WMS).
>>>
>>> An image pyramid will do what you're looking for instead, see my
>>> previous mail.
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> --
>>> Andrea Aime
>>> OpenGeo - http://opengeo.org
>>> Expert service straight from the developers.
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>> trial. Simplify your report design, integration and deployment - and focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now. http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-***@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>
Simone Giannecchini
2009-11-19 16:36:07 UTC
Permalink
Np,
I might have missed/overlooked some initial emails, but if you can
detail a bit the use case, we should be able to help.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 5:32 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> Great, thanks for all your help. That cleared up a number of miss-placed assumptions I had.
>
> Regards,
>
> Kurtis
>
> ________________________________________
> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
> Sent: Thursday, November 19, 2009 9:30 AM
> To: Kurtis Golding
> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> I am not mean able to make an official statement on where WCS is
> going, but if I should answer your question about SLD I would say no.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 5:24 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>> Great, that helps.
>>
>> I did look over the WCS spec brefly, and I did not see any mention of SLD, so it makes since that this is not supported. That said, do you know if SLD or similar is planed for WCS in the future?
>>
>> Kurtis Golding
>> Synergy Web Systems, LLC
>> 720.251.8182
>> ________________________________________
>> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
>> Sent: Thursday, November 19, 2009 9:10 AM
>> To: Kurtis Golding
>> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> Nope unfortunately not,
>> WCS does not use SLD, therefore layer groups are not exposed via that protocol.
>>
>> Simone.
>> -------------------------------------------------------
>> Ing. Simone Giannecchini
>> GeoSolutions S.A.S.
>> Founder - Software Engineer
>> Via Carignoni 51
>> 55041  Camaiore (LU)
>> Italy
>>
>> phone: +39 0584983027
>> fax:      +39 0584983027
>> mob:    +39 333 8128928
>>
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://simboss.blogspot.com/
>> http://www.linkedin.com/in/simonegiannecchini
>>
>> -------------------------------------------------------
>>
>>
>>
>> On Thu, Nov 19, 2009 at 5:05 PM, Kurtis Golding
>> <***@synergywebsystems.net> wrote:
>>>
>>> Ok, focusing on the idea of keeping my two layers separate, and not using an ImagePyramid, is it possible to create a single layer group and have geoserver use layer a, then layer b when a threshold is reached, through the WCS interface? It seemed this should be possible using and SLD..?
>>>
>>> PS: I did make an attempt to merge the higher-resolution set then do a pyramid from that, unfortunately, the root 1:1 image was larger than Geoserver wanted to deal with.
>>>
>>> I will also see if I can find the tutorial you mentioned.
>>>
>>> Thanks for the help!
>>> ________________________________________
>>> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
>>> Sent: Thursday, November 19, 2009 8:29 AM
>>> To: Kurtis Golding
>>> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
>>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>>
>>> Ciao Kurt,
>>> check the simple tutorial that aaime put together. The pyramiduilder
>>> is, let's say, deprecated, the best way to build a pyramid from a
>>> single mosaic is to use gdal_retile.
>>> If understand your use cases you have two mosaic at different
>>> resolution levels that you want to serve as a single layer, that
>>> internally switch from one to the other depending on the scale.
>>> Well this could be in principle accomplished with the ImagePyramid but
>>> there are a few things to take into account.
>>> First of all, the ImagePyramid chooses the mosaic to use taking into
>>> account the internal resolution of the mosaics and there is not way
>>> currently to change that, which means is not as simple as what you
>>> want to do with the scale MIN and MAX since the plugin was desginedd
>>> to work with a real pyramid while what need is something different
>>> IMHO. Besides that, the ImagePyramid should work with a set of reduced
>>> resolution mosaic of the base layer, which is a mosaic itself,
>>> therefore we should not try to force to serve two different mosaics
>>> for the same area with different resolutions but also with different
>>> spectral characteristics.
>>>
>>> Simone.
>>> -------------------------------------------------------
>>> Ing. Simone Giannecchini
>>> GeoSolutions S.A.S.
>>> Founder - Software Engineer
>>> Via Carignoni 51
>>> 55041  Camaiore (LU)
>>> Italy
>>>
>>> phone: +39 0584983027
>>> fax:      +39 0584983027
>>> mob:    +39 333 8128928
>>>
>>>
>>> http://www.geo-solutions.it
>>> http://geo-solutions.blogspot.com/
>>> http://simboss.blogspot.com/
>>> http://www.linkedin.com/in/simonegiannecchini
>>>
>>> -------------------------------------------------------
>>>
>>>
>>>
>>> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
>>> <***@synergywebsystems.net> wrote:
>>>> I am very new to this, so bear with me :)
>>>>
>>>> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>>>>
>>>>
>>>> Thanks!
>>>>
>>>> -----Original Message-----
>>>> From: Andrea Aime [mailto:***@opengeo.org]
>>>> Sent: Thursday, November 19, 2009 2:22 AM
>>>> To: Kurtis Golding
>>>> Cc: geoserver-***@lists.sourceforge.net
>>>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>>>
>>>> kwg ha scritto:
>>>>>
>>>>> It also appears the Layer groups are not included in the WCS layers listing
>>>>> (eg: not in getCapabilities) document?
>>>>
>>>> Because layer groups are a pure rendering artifact, thus they make
>>>> sense only for WMS (a group has styles and can mix vector and raster
>>>> layers, it has no place neither in WFS nor in WMS).
>>>>
>>>> An image pyramid will do what you're looking for instead, see my
>>>> previous mail.
>>>>
>>>> Cheers
>>>> Andrea
>>>>
>>>>
>>>> --
>>>> Andrea Aime
>>>> OpenGeo - http://opengeo.org
>>>> Expert service straight from the developers.
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>>> trial. Simplify your report design, integration and deployment - and focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>> Geoserver-***@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>
>>
>
Kurtis Golding
2009-11-19 20:47:11 UTC
Permalink
Where is the tutorial for building an image pyrmied for GeoServer using gdal retile, instead of the Pyrmid Builder?
The only documenation I have found on the subject is here:
http://geoserver.org/display/GEOSDOC/Load+NASA+Blue+Marble+Data
http://docs.geoserver.org/2.0.x/en/user/data/imagepyramid.html

Kurt
________________________________________
From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
Sent: Thursday, November 19, 2009 8:29 AM
To: Kurtis Golding
Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale

Ciao Kurt,
check the simple tutorial that aaime put together. The pyramiduilder
is, let's say, deprecated, the best way to build a pyramid from a
single mosaic is to use gdal_retile.
If understand your use cases you have two mosaic at different
resolution levels that you want to serve as a single layer, that
internally switch from one to the other depending on the scale.
Well this could be in principle accomplished with the ImagePyramid but
there are a few things to take into account.
First of all, the ImagePyramid chooses the mosaic to use taking into
account the internal resolution of the mosaics and there is not way
currently to change that, which means is not as simple as what you
want to do with the scale MIN and MAX since the plugin was desginedd
to work with a real pyramid while what need is something different
IMHO. Besides that, the ImagePyramid should work with a set of reduced
resolution mosaic of the base layer, which is a mosaic itself,
therefore we should not try to force to serve two different mosaics
for the same area with different resolutions but also with different
spectral characteristics.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> I am very new to this, so bear with me :)
>
> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>
>
> Thanks!
>
> -----Original Message-----
> From: Andrea Aime [mailto:***@opengeo.org]
> Sent: Thursday, November 19, 2009 2:22 AM
> To: Kurtis Golding
> Cc: geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> kwg ha scritto:
>>
>> It also appears the Layer groups are not included in the WCS layers listing
>> (eg: not in getCapabilities) document?
>
> Because layer groups are a pure rendering artifact, thus they make
> sense only for WMS (a group has styles and can mix vector and raster
> layers, it has no place neither in WFS nor in WMS).
>
> An image pyramid will do what you're looking for instead, see my
> previous mail.
>
> Cheers
> Andrea
>
>
> --
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
Simone Giannecchini
2009-11-19 20:57:27 UTC
Permalink
http://geo-solutions.blogspot.com/2009/11/preparing-pyramid-for-geoserver-with.html
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

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


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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



On Thu, Nov 19, 2009 at 9:47 PM, Kurtis Golding
<***@synergywebsystems.net> wrote:
> Where is the tutorial for building an image pyrmied for GeoServer using gdal retile, instead of the Pyrmid Builder?
> The only documenation I have found on the subject is here:
> http://geoserver.org/display/GEOSDOC/Load+NASA+Blue+Marble+Data
> http://docs.geoserver.org/2.0.x/en/user/data/imagepyramid.html
>
> Kurt
> ________________________________________
> From: ***@gmail.com [***@gmail.com] On Behalf Of Simone Giannecchini [***@geo-solutions.it]
> Sent: Thursday, November 19, 2009 8:29 AM
> To: Kurtis Golding
> Cc: Andrea Aime; geoserver-***@lists.sourceforge.net
> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>
> Ciao Kurt,
> check the simple tutorial that aaime put together. The pyramiduilder
> is, let's say, deprecated, the best way to build a pyramid from a
> single mosaic is to use gdal_retile.
> If understand your use cases you have two mosaic at different
> resolution levels that you want to serve as a single layer, that
> internally switch from one to the other depending on the scale.
> Well this could be in principle accomplished with the ImagePyramid but
> there are a few things to take into account.
> First of all, the ImagePyramid chooses the mosaic to use taking into
> account the internal resolution of the mosaics and there is not way
> currently to change that, which means is not as simple as what you
> want to do with the scale MIN and MAX since the plugin was desginedd
> to work with a real pyramid while what need is something different
> IMHO. Besides that, the ImagePyramid should work with a set of reduced
> resolution mosaic of the base layer, which is a mosaic itself,
> therefore we should not try to force to serve two different mosaics
> for the same area with different resolutions but also with different
> spectral characteristics.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041  Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax:      +39 0584983027
> mob:    +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>> I am very new to this, so bear with me :)
>>
>> I agree with idea that an Image Pyramid is an approach, unfortunately, I am struggling with how to get that setup. I essentially have two large image mosaics, one at a lower resolution, then next at a higher one. So, for all points and practical purposes, I actually do have a two level Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder to work, but still struggling to get that to build. Aside from that tools existence, there is very little documentation about what its actually doing. What I have discerned is the Pyramid Builder seems to want to take a single raster or layer mosaic, and create a tile pyramid from that. I have two separate image mosaics that I would like to create a single Pyramid out of, or, more simply make a simple two level Pyramid out of what I have.
>>
>>
>> Thanks!
>>
>> -----Original Message-----
>> From: Andrea Aime [mailto:***@opengeo.org]
>> Sent: Thursday, November 19, 2009 2:22 AM
>> To: Kurtis Golding
>> Cc: geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> kwg ha scritto:
>>>
>>> It also appears the Layer groups are not included in the WCS layers listing
>>> (eg: not in getCapabilities) document?
>>
>> Because layer groups are a pure rendering artifact, thus they make
>> sense only for WMS (a group has styles and can mix vector and raster
>> layers, it has no place neither in WFS nor in WMS).
>>
>> An image pyramid will do what you're looking for instead, see my
>> previous mail.
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> Andrea Aime
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>> trial. Simplify your report design, integration and deployment - and focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
kwg
2009-11-23 20:43:31 UTC
Permalink
After a few experments, I am not sure WCS is actaully using the pyramid ,
however, it looks like its is working in WMS..

When using the WCS path, does GeoServer use/understand a pyramid ?



Simone Giannecchini wrote:
>
> Ciao Kurt,
> check the simple tutorial that aaime put together. The pyramiduilder
> is, let's say, deprecated, the best way to build a pyramid from a
> single mosaic is to use gdal_retile.
> If understand your use cases you have two mosaic at different
> resolution levels that you want to serve as a single layer, that
> internally switch from one to the other depending on the scale.
> Well this could be in principle accomplished with the ImagePyramid but
> there are a few things to take into account.
> First of all, the ImagePyramid chooses the mosaic to use taking into
> account the internal resolution of the mosaics and there is not way
> currently to change that, which means is not as simple as what you
> want to do with the scale MIN and MAX since the plugin was desginedd
> to work with a real pyramid while what need is something different
> IMHO. Besides that, the ImagePyramid should work with a set of reduced
> resolution mosaic of the base layer, which is a mosaic itself,
> therefore we should not try to force to serve two different mosaics
> for the same area with different resolutions but also with different
> spectral characteristics.
>
> Simone.
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder - Software Engineer
> Via Carignoni 51
> 55041 Camaiore (LU)
> Italy
>
> phone: +39 0584983027
> fax: +39 0584983027
> mob: +39 333 8128928
>
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://simboss.blogspot.com/
> http://www.linkedin.com/in/simonegiannecchini
>
> -------------------------------------------------------
>
>
>
> On Thu, Nov 19, 2009 at 4:07 PM, Kurtis Golding
> <***@synergywebsystems.net> wrote:
>> I am very new to this, so bear with me :)
>>
>> I agree with idea that an Image Pyramid is an approach, unfortunately, I
>> am struggling with how to get that setup. I essentially have two large
>> image mosaics, one at a lower resolution, then next at a higher one. So,
>> for all points and practical purposes, I actually do have a two level
>> Pyramid. I have made an attempt to getting the GeoTools Pyramid Builder
>> to work, but still struggling to get that to build. Aside from that tools
>> existence, there is very little documentation about what its actually
>> doing. What I have discerned is the Pyramid Builder seems to want to take
>> a single raster or layer mosaic, and create a tile pyramid from that. I
>> have two separate image mosaics that I would like to create a single
>> Pyramid out of, or, more simply make a simple two level Pyramid out of
>> what I have.
>>
>>
>> Thanks!
>>
>> -----Original Message-----
>> From: Andrea Aime [mailto:***@opengeo.org]
>> Sent: Thursday, November 19, 2009 2:22 AM
>> To: Kurtis Golding
>> Cc: geoserver-***@lists.sourceforge.net
>> Subject: Re: [Geoserver-users] GeoServer Raster Min/Max Scale
>>
>> kwg ha scritto:
>>>
>>> It also appears the Layer groups are not included in the WCS layers
>>> listing
>>> (eg: not in getCapabilities) document?
>>
>> Because layer groups are a pure rendering artifact, thus they make
>> sense only for WMS (a group has styles and can mix vector and raster
>> layers, it has no place neither in WFS nor in WMS).
>>
>> An image pyramid will do what you're looking for instead, see my
>> previous mail.
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> Andrea Aime
>> OpenGeo - http://opengeo.org
>> Expert service straight from the developers.
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-***@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-***@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

--
View this message in context: http://old.nabble.com/GeoServer-Raster-Min-Max-Scale-tp26415286p26485452.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Andrea Aime
2009-11-19 09:19:58 UTC
Permalink
kwg ha scritto:
> I would like to have two layers presented as a single layer but only one
> layer used for a given zoom level. Basically, I have a low resolution set of
> raster’s that I would like to use if a request is big, then use a higher
> resolution set when a threshold is passed. This would be conceptually
> similar to showing city names on a shape-file layer when the user zooms in
> far enough, except in my case, I would like to use ImageMosic A , then
> ImageMosic B.

What you are trying to do is an image pyramid. See here:
http://geo-solutions.blogspot.com/2009/11/preparing-pyramid-for-geoserver-with.html

> I think this can be done using an SLD style, but I am having
> trouble with it. I created the following style, and I was hoping that when a
> request past the MinScaleDenominator was made, GeoServer would return an
> error. This does not seem to happen, so I must be doing something wrong, or
> this is not possible with GeoServer?

The behaviour you are expecting does not conform to the sld
specification. When a rule is outside its scale range it gets disabled,
its contents are not drawn, but no error is generated.

Cheers
Andrea


--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Continue reading on narkive:
Loading...