[Geoserver-users] Using an external WCS with geoserver

Hi folks,
I have some rasters I’m serving with the deegree WCS server and I was wondering if anyone knows if it’s possible to use this as a datastore for Geoserver to then be able to serve the data with WMS?
It can be done with WFS (see http://docs.geoserver.org/1.7.x/user/data/wfs.html ) but I can’t find anything on WCS, if it’s possible, or how to go about doing it if it is. Anyone know?

Note: While I can use GeoServer to host the rasters, they would then have no pyramids/tiles and thus be a lot slower (neither of the two pyramid-creating methods for GeoServer is workable for me), so I’m trying deegree instead.

Thanks,
Jonathan

Ciao Jonatan,
before going down the complex paths I would ask you to stop and give
us a few information about what kind of rasters are we talking about.
I have seen many posts talking about pyramids and the like but my
experience tells that 60% of the time people don't really need them,
so, what data are you trying to serve?

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - 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://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Wed, Jul 1, 2009 at 4:13 PM, Jonathan Moules<08046891@anonymised.com> wrote:

Hi folks,
I have some rasters I'm serving with the deegree WCS server and I was
wondering if anyone knows if it's possible to use this as a datastore for
Geoserver to then be able to serve the data with WMS?
It can be done with WFS (see
http://docs.geoserver.org/1.7.x/user/data/wfs.html ) but I can't find
anything on WCS, if it's possible, or how to go about doing it if it is.
Anyone know?

Note: While I can use GeoServer to host the rasters, they would then have no
pyramids/tiles and thus be a lot slower (neither of the two pyramid-creating
methods for GeoServer is workable for me), so I'm trying deegree instead.

Thanks,
Jonathan
------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Simone,
Technically I probably don’t need rasters. This is a university assignment (masters dissertation actually) and it’s going to be staying within the university network. On the other hand, as it’s a proof-of concept it’d be nice to include pyramids and tiles - I’m probably going to have to write about them in the dissertation part after all.

Several landsat scenes. They’re currently 190MB GeoTiff files (composite of three bands).
Probably various other raster datasets of varying sizes. Ideally I’ll find a dataset that covers the entire globe for a few gigs and put that in there too (i.e. Gtopo 30 SRTM).

Even though I have an entire machine to myself acting as a server (a fast one too!), it still takes a noticeable few seconds to render-up just the one landsat-geotiff, so I imagine when I ask it to show me several rasters at a time (which I will) it might start slowing a lot. That’d be the slightly more pragmatic reason for wanting pyramids and tiles. :wink:

Jonathan

2009/7/1 Simone Giannecchini <simone.giannecchini@anonymised.com.1107…>

Ciao Jonatan,
before going down the complex paths I would ask you to stop and give
us a few information about what kind of rasters are we talking about.
I have seen many posts talking about pyramids and the like but my
experience tells that 60% of the time people don’t really need them,
so, what data are you trying to serve?

Simone.

Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - 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://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini


On Wed, Jul 1, 2009 at 4:13 PM, Jonathan Moules<08046891@anonymised.com> wrote:

Hi folks,
I have some rasters I’m serving with the deegree WCS server and I was
wondering if anyone knows if it’s possible to use this as a datastore for
Geoserver to then be able to serve the data with WMS?
It can be done with WFS (see
http://docs.geoserver.org/1.7.x/user/data/wfs.html ) but I can’t find
anything on WCS, if it’s possible, or how to go about doing it if it is.
Anyone know?

Note: While I can use GeoServer to host the rasters, they would then have no
pyramids/tiles and thus be a lot slower (neither of the two pyramid-creating
methods for GeoServer is workable for me), so I’m trying deegree instead.

Thanks,
Jonathan



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Got the picture.

Question, did you add overviews to your geotiff?.

From experience, I have been able to serve 100 geotiff (RGB) of 2gb

each by retiling and adding oveviews to each single geotiff then
using the mosaic plugin. A real pyramid is a real speed up only when
you have *may* files where many depends on the OS and on the number of
usrs you are trying to serve. Outside this "*many* files" using a
pyramid is more or less useless.

Ciao,
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - 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://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Wed, Jul 1, 2009 at 5:34 PM, Jonathan Moules<08046891@anonymised.com> wrote:

Hi Simone,
Technically I probably don't need rasters. This is a university assignment
(masters dissertation actually) and it's going to be staying within the
university network. On the other hand, as it's a proof-of concept it'd be
nice to include pyramids and tiles - I'm probably going to have to write
about them in the dissertation part after all.

Several landsat scenes. They're currently 190MB GeoTiff files (composite
of three bands).
Probably various other raster datasets of varying sizes. Ideally I'll find a
dataset that covers the entire globe for a few gigs and put that in there
too (i.e. Gtopo 30 SRTM).

Even though I have an entire machine to myself acting as a server (a fast
one too!), it still takes a noticeable few seconds to render-up just the one
landsat-geotiff, so I imagine when I ask it to show me several rasters at a
time (which I will) it might start slowing a lot. That'd be the slightly
more pragmatic reason for wanting pyramids and tiles. :wink:

Jonathan
2009/7/1 Simone Giannecchini <simone.giannecchini@anonymised.com>

Ciao Jonatan,
before going down the complex paths I would ask you to stop and give
us a few information about what kind of rasters are we talking about.
I have seen many posts talking about pyramids and the like but my
experience tells that 60% of the time people don't really need them,
so, what data are you trying to serve?

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - 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://simboss.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini

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

On Wed, Jul 1, 2009 at 4:13 PM, Jonathan Moules<08046891@anonymised.com>
wrote:
> Hi folks,
> I have some rasters I'm serving with the deegree WCS server and I was
> wondering if anyone knows if it's possible to use this as a datastore
> for
> Geoserver to then be able to serve the data with WMS?
> It can be done with WFS (see
> http://docs.geoserver.org/1.7.x/user/data/wfs.html ) but I can't find
> anything on WCS, if it's possible, or how to go about doing it if it is.
> Anyone know?
>
> Note: While I can use GeoServer to host the rasters, they would then
> have no
> pyramids/tiles and thus be a lot slower (neither of the two
> pyramid-creating
> methods for GeoServer is workable for me), so I'm trying deegree
> instead.
>
> Thanks,
> Jonathan
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

Hey Simone,
Well, retiling is more what I was interested in than pyramids, but typically one happens at the same time as the other from what I can see, so why not do both was my thinking.

I’ve never even heard of overviews in geotiffs before if that answers your question. :slight_smile:
Having just researched them, I’ve just spent a little time fiddling with them and tiling (as found here: http://geoserver.org/display/GEOSDOC/High+performance+coverage+serving ) - the tiling didn’t seem to do anything, though that may be because I don’t know how to use that part effectively (it did increase the file-size by nearly10% though!). The overviews certainly got stuff working quicker, though there is still a noticeable lag at closer zooms, but not quite as long.
Also - ArcGIS (what I’m using to check stuff) seems to think the overviews are pyramids. Go figure. :slight_smile:

I still think it’d be nice to be able to pipe WCS from one server to WMS on another. I’m assuming it’s just not possible now so I just opened a jira feature request. :slight_smile:

I’m open to suggestions from folks on how to use gdal_translate for tiling, there doesn’t seem to be much out there.
Thanks.
Jonathan

2009/7/1 Simone Giannecchini <simone.giannecchini@anonymised.com>

Got the picture.

Question, did you add overviews to your geotiff?.
From experience, I have been able to serve 100 geotiff (RGB) of 2gb
each by retiling and adding oveviews to each single geotiff then
using the mosaic plugin. A real pyramid is a real speed up only when
you have may files where many depends on the OS and on the number of
usrs you are trying to serve. Outside this “many files” using a
pyramid is more or less useless.

Ciao,

Simone.