[Geoserver-users] [Geoserver 1.7.3] WCS 1.1.0 & ArcGrid

Hi,

I've tried using the WCS version 1.1.0 in Geoserver 1.7.3 with the sample
data provided. I'm interested in the ArcGrid output format of this WCS
version so i've tried the following GET request :

http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&identifier=nurc:Pk50095&version=1.1.0&format=ArcGrid&BoundingBox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256,EPSG:32633

1) The response encoding results in Firefox wanting to download the request
result as an EML file :teeth:

2) The request doesn't work => "Problems Rendering Imagenull nul"

I've also tried with the samples POST requests of Geoserver. Neither 1.0.0
nor 1.1.0 works with the ARCGRID format.
The GET request in version 1.0.0 doesn't work either.

Any help :confused:?
--
View this message in context: http://www.nabble.com/-Geoserver-1.7.3--WCS-1.1.0---ArcGrid-tp22728278p22728278.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Is there going to be support added for WKB and spatial indexing with the SQL
Server 2008 datasource (or has this already been implemented)? SQL server
has the .STAsBinary ( ) function call on the geometry type. We have been
running into serious scalability problems with large vector datasets with
geoserver and am wondering if it has do with the lack of the datasources
ability to utilize WKB and spatial indexes?

Rob

Sorry if this is a dumb question, I am new at this WCS stuff.

Just trying to use 1.1.1 instead of 1.0.0 of WCS, so I tried this in the Demo Request area on the http://sigma.openplans.org:8080/geoserver/wcs server (I've deleted the samples from our server)

<GetCapabilities
  service="WCS"
  version="1.1.1"
  xmlns="http://www.opengis.net/wcs&quot;
  xmlns:nurc="http://www.nurc.nato.int"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengis.net/wcs/1.1.1/wcsCapabilities.xsd&quot;/&gt;

It always returns:

<ows:ExceptionReport version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://sigma.openplans.org:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd&quot;&gt;
?
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>VERSION parameter is wrong.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

I tried every combination I could think of, 1.1.0, 1.1, etc. but always get this.

Roger

--------------------------------------------------
From: "Emmanuel Séguin" <emmanuel.seguin@anonymised.com>
Sent: Thursday, March 26, 2009 7:46 PM
To: <geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] [Geoserver 1.7.3] WCS 1.1.0 & ArcGrid

Hi,

I've tried using the WCS version 1.1.0 in Geoserver 1.7.3 with the sample
data provided. I'm interested in the ArcGrid output format of this WCS
version so i've tried the following GET request :

http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&identifier=nurc:Pk50095&version=1.1.0&format=ArcGrid&BoundingBox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256,EPSG:32633

1) The response encoding results in Firefox wanting to download the request
result as an EML file :teeth:

2) The request doesn't work => "Problems Rendering Imagenull nul"

I've also tried with the samples POST requests of Geoserver. Neither 1.0.0
nor 1.1.0 works with the ARCGRID format.
The GET request in version 1.0.0 doesn't work either.

Any help :confused:?
--
View this message in context: http://www.nabble.com/-Geoserver-1.7.3--WCS-1.1.0---ArcGrid-tp22728278p22728278.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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

I don't know of anyone planning on implementing it. But there are several organizations that could likely implement it for you, if you have some funding. If you wait long enough someone probably will implement it, but if you'd like to be sure to get it delivered it's best to pay someone or code it yourself (and hopefully contribute back).

best regards,

Chris

Rob Bochenek wrote:

Is there going to be support added for WKB and spatial indexing with the SQL
Server 2008 datasource (or has this already been implemented)? SQL server
has the .STAsBinary ( ) function call on the geometry type. We have been
running into serious scalability problems with large vector datasets with
geoserver and am wondering if it has do with the lack of the datasources
ability to utilize WKB and spatial indexes?

Rob

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

--
Chris Holmes
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Roger,

Not a dumb question, as far as I can tell this is a bug :). I just replicated the issue on my local machine. It seems just to be GetCaps with POST, getCaps in a GET specifying the version works fine:

http://sigma.openplans.org:8080/geoserver/wcs?request=getcapabilities&version=1.1.1

Returns the proper capabilities document.

Any chance you can file a bug report for us?

Thanks,

-Justin

Roger Bedell wrote:

Sorry if this is a dumb question, I am new at this WCS stuff.

Just trying to use 1.1.1 instead of 1.0.0 of WCS, so I tried this in the Demo Request area on the http://sigma.openplans.org:8080/geoserver/wcs server (I've deleted the samples from our server)

<GetCapabilities
  service="WCS"
  version="1.1.1"
  xmlns="http://www.opengis.net/wcs&quot;
  xmlns:nurc="http://www.nurc.nato.int"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengis.net/wcs/1.1.1/wcsCapabilities.xsd&quot;/&gt;

It always returns:

<ows:ExceptionReport version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://sigma.openplans.org:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd&quot;&gt;
?
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>VERSION parameter is wrong.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

I tried every combination I could think of, 1.1.0, 1.1, etc. but always get this.

Roger

--------------------------------------------------
From: "Emmanuel Séguin" <emmanuel.seguin@anonymised.com>
Sent: Thursday, March 26, 2009 7:46 PM
To: <geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] [Geoserver 1.7.3] WCS 1.1.0 & ArcGrid

Hi,

I've tried using the WCS version 1.1.0 in Geoserver 1.7.3 with the sample
data provided. I'm interested in the ArcGrid output format of this WCS
version so i've tried the following GET request :

http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&identifier=nurc:Pk50095&version=1.1.0&format=ArcGrid&BoundingBox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256,EPSG:32633

1) The response encoding results in Firefox wanting to download the request
result as an EML file :teeth:

2) The request doesn't work => "Problems Rendering Imagenull nul"

I've also tried with the samples POST requests of Geoserver. Neither 1.0.0
nor 1.1.0 works with the ARCGRID format.
The GET request in version 1.0.0 doesn't work either.

Any help :confused:?
--
View this message in context: http://www.nabble.com/-Geoserver-1.7.3--WCS-1.1.0---ArcGrid-tp22728278p22728278.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Justin,

Thanks, I feel a bit more compentent :wink: It has been filed with Jira.
I guess the workaround is to use the GET version in the meantime, although I much prefer XML.

Roger

--------------------------------------------------
From: "Justin Deoliveira" <jdeolive@anonymised.com>
Sent: Thursday, March 26, 2009 11:23 PM
To: "Roger Bedell" <roger@anonymised.com>
Cc: <geoserver-users@lists.sourceforge.net>
Subject: Re: [Geoserver-users] WCS 1.1.1 XML request

Hi Roger,

Not a dumb question, as far as I can tell this is a bug :). I just replicated the issue on my local machine. It seems just to be GetCaps with POST, getCaps in a GET specifying the version works fine:

http://sigma.openplans.org:8080/geoserver/wcs?request=getcapabilities&version=1.1.1

Returns the proper capabilities document.

Any chance you can file a bug report for us?

Thanks,

-Justin

Roger Bedell wrote:

Sorry if this is a dumb question, I am new at this WCS stuff.

Just trying to use 1.1.1 instead of 1.0.0 of WCS, so I tried this in the Demo Request area on the http://sigma.openplans.org:8080/geoserver/wcs server (I've deleted the samples from our server)

<GetCapabilities
  service="WCS"
  version="1.1.1"
  xmlns="http://www.opengis.net/wcs&quot;
  xmlns:nurc="http://www.nurc.nato.int"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wcs http://schemas.opengis.net/wcs/1.1.1/wcsCapabilities.xsd&quot;/&gt;

It always returns:

<ows:ExceptionReport version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://sigma.openplans.org:8080/geoserver/schemas/ows/1.1.0/owsAll.xsd&quot;&gt;
?
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>VERSION parameter is wrong.</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

I tried every combination I could think of, 1.1.0, 1.1, etc. but always get this.

Roger

--------------------------------------------------
From: "Emmanuel Séguin" <emmanuel.seguin@anonymised.com>
Sent: Thursday, March 26, 2009 7:46 PM
To: <geoserver-users@lists.sourceforge.net>
Subject: [Geoserver-users] [Geoserver 1.7.3] WCS 1.1.0 & ArcGrid

Hi,

I've tried using the WCS version 1.1.0 in Geoserver 1.7.3 with the sample
data provided. I'm interested in the ArcGrid output format of this WCS
version so i've tried the following GET request :

http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&identifier=nurc:Pk50095&version=1.1.0&format=ArcGrid&BoundingBox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256,EPSG:32633

1) The response encoding results in Firefox wanting to download the request
result as an EML file :teeth:

2) The request doesn't work => "Problems Rendering Imagenull nul"

I've also tried with the samples POST requests of Geoserver. Neither 1.0.0
nor 1.1.0 works with the ARCGRID format.
The GET request in version 1.0.0 doesn't work either.

Any help :confused:?
--
View this message in context: http://www.nabble.com/-Geoserver-1.7.3--WCS-1.1.0---ArcGrid-tp22728278p22728278.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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

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

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Emmanuel Séguin ha scritto:

Hi,

I've tried using the WCS version 1.1.0 in Geoserver 1.7.3 with the sample
data provided. I'm interested in the ArcGrid output format of this WCS
version so i've tried the following GET request :

http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&identifier=nurc:Pk50095&version=1.1.0&format=ArcGrid&BoundingBox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256,EPSG:32633

1) The response encoding results in Firefox wanting to download the request
result as an EML file :teeth:

Welcome to the wonderful world of WCS 1.1.1, where you don't
return a raw coverage by default, but a MIME Multipart message
(just like an e-mail with attachments) comprising a xml metadata
document and the actual coverage as an attachment to it.
From the specification, page 51 (the store parameter, that you did
not specify, has a default value of "false"):

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

If the “store” parameter has the value “true”, the server shall store the result file(s) at URLaddressable
location(s) of its choosing, and return only the Coverages data structure (within a
SOAP envelope in the case of a SOAP request) with references to the other files as indicated
in 10.3.11.2 and 10.3.11.4 below.
When the “store” parameter is absent or has the value “false”, the server shall transfer the
complete GetCoverage response to the client, either as a MIME multipart message (for KVP
or XML requests) or as a SOAP message with attachments (for SOAP requests). The
Coverages shall reference the other parts of the MIME multi-part message (or SOAP
attachments) as indicated in 10.3.11.3 below.

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

So, to factor out the arcgrid issue itself, if you make this request,
asking for store=true and geotiff output:

http://localhost:8080/geoserver/wcs?service=WCS&request=GetCoverage&identifier=nurc:Pk50095&version=1.1.0&format=geotiff&BoundingBox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256,EPSG:32633&store=true

you'll get back an XML document like:

<wcs:Coverages xsi:schemaLocation="http://www.opengis.net/wcs/1.1.1 http://localhost:8080/geoserver/schemas/wcs/1.1.1/wcsCoverages.xsd&quot;&gt;
<wcs:Coverage>
<ows:Title>Sample scanned and georerenced map</ows:Title>
<ows:Abstract>
This is a sample for the world image format (wld + prj + tiff)
</ows:Abstract>
<ows:Identifier>nurc:Pk50095</ows:Identifier>
<ows:Reference xlink:href="http://localhost:8080/geoserver/temp/wcs/nurc_Pk50095_1822821376240.tiff&quot;/&gt;
</wcs:Coverage>
</wcs:Coverages>

And theoretically from there you should be able to download the tiff,
but that is not happening... it seems the file published has been
un-hooked from that position. (the files are actually in the GeoServer
data directory, see $GEOSERVER_DATA_DIR\temp\wcs).
I have to look into it, opened this jira issue:
http://jira.codehaus.org/browse/GEOS-2790

2) The request doesn't work => "Problems Rendering Imagenull nul"

I've also tried with the samples POST requests of Geoserver. Neither 1.0.0
nor 1.1.0 works with the ARCGRID format.
The GET request in version 1.0.0 doesn't work either.

Hmmm... yeah, I see there is a problem there too.
I don't have ArcGrid related tests because the format has been pretty
much impossible to use in WCS. ArcGrid has this assumption that the pixels are square, but making a request that results in perfectly square
pixels is hard. Yet, if the pixels are not square, the ArcGrid writer
will complain about that and won't generate the output.
I believe that if one allowed the pixels to be non square the resulting
grid would be stretched, because the information in the header
just reports one of the corners and the pixel size, and the
readers of it will assume the pixel is square anyways

That said, the problem you're seeing is of different nature, the
writer is failing while trying to report the NULL value
(which, in the case of that coverage, is not there).
Reported here:
http://jira.codehaus.org/browse/GEOS-2791

If you play more with WCS let us know about your findings, it is not
widely used and there are basically no working clients out there, so
it's hard to make any real world testing of it.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Justin Deoliveira ha scritto:

Hi Roger,

Not a dumb question, as far as I can tell this is a bug :).

Well, actually no, technically it's not a bug, it's the relationship
between the wcs 1.0 and wcs 1.1 specification that's basically breaking
the normal negotiation flow.
The request you made uses the xmlns of WCS 1.0, the xmlns
of WCS 1.1.1 (the WCS corrigendum spec that GeoServer implements)
is actually:
http://www.opengis.net/wcs/1.1.1

Now, the OGC is also playing tricks on me, they release a second
corriggendum (1.1.2) and changed again the xmlns into
http://www.opengis.net/wcs/1.1
and they also removed the wcs/1.1.1 schemas from
schema.opengis.net... and they did not tell us anything,
so much for use being the reference implementation.
The CITE tests are actually still using 1.1.1... bah!

Anyways, if you make a request that GeoServer can grok,
that is:

<GetCapabilities
   service="WCS"
   xmlns="http://www.opengis.net/wcs/1.1.1&quot;
   xmlns:nurc="http://www.nurc.nato.int"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
/>

You'll get back a proper response. Now, I've also opened
a jira issue to support the http://www.opengis.net/wcs/1.1
xmlns so that people reading the second corrigendum
can actually make requests....
http://jira.codehaus.org/browse/GEOS-2792

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.