I have some problems in visualizing a Geotiff coverage using WMS Post (GeoServer 1.5.3):
The raster is correctly returned using a get request, like this one:
http://localhost:8080/geoserver/wms?bbox=2318600.0,4852200.0,2325920.0,4858400.0&styles=&Format=image/png&request=GetMap&layers=topp:test&width=800&height=635&srs=EPSG:3004#
using a WMS POST request like the following one, I get a blank image:
<GetMap xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" service="WMS" xmlns:topp="http://www.openplans.org/topp" version="1.3.0">
<StyledLayerDescriptor version ="1.0.0">
<NamedLayer>
<Name>topp:test</Name>
<UserStyle>
<Name>test</Name>
<FeatureTypeStyle>
<FeatureTypeName>test</FeatureTypeName>
<Rule>
<Name>test</Name>
<RasterSymbolizer>
<Opacity>1</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer> </StyledLayerDescriptor>
<BoundingBox srsName="http://www.opengis.net/gml/srs/epsg.xml#3004">
<gml:coord>
<gml:X>2318600.0</gml:X>
<gml:Y>4852200.0</gml:Y>
</gml:coord>
<gml:coord>
<gml:X>2325920.0</gml:X>
<gml:Y>4858400.0</gml:Y>
</gml:coord>
</BoundingBox>
<Output>
<Format>image/png</Format>
<Transparent>true</Transparent>
<Size>
<Width>800</Width>
<Height>635</Height>
</Size>
</Output>
<Exceptions>XML</Exceptions>
</GetMap>
EPSG:3004 is the native CRS for the Geotiff file. Is there anything wrong in my request or are there any difference from WMS get and post using coverages?
Thanks,
Mauro Bartolomeoli
Hi Mauro,
try changing your POST request as follows:
EPSG:3004
…
On 8/31/07, Mauro Bartolomeoli <m.bartolomeoli@anonymised.com> wrote:
I have some problems in visualizing a Geotiff coverage using WMS Post
(GeoServer 1.5.3):
The raster is correctly returned using a get request, like this one:
http://localhost:8080/geoserver/wms?bbox=2318600.0,4852200.0,2325920.0,4858400.0&styles=&Format=image/png&request=GetMap&layers=topp:test&width=800&height=635&srs=EPSG:3004#
using a WMS POST request like the following one, I get a blank image:
topp:test
test
test
test
1
gml:coord
gml:X2318600.0</gml:X>
gml:Y 4852200.0</gml:Y>
</gml:coord>
gml:coord
gml:X2325920.0</gml:X>
gml:Y4858400.0</gml:Y>
</gml:coord>
image/png
true
800
635
XML
EPSG:3004 is the native CRS for the Geotiff file. Is there anything
wrong in my request or are there any difference from WMS get and post
using coverages?
Thanks,
Mauro Bartolomeoli
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
Sorry my mistake … the previous is valid only for WCS POST requests … I will inspect deeper why WMS one doesn’t work!
On 9/3/07, Alessio Fabiani <alessio.fabiani@anonymised.com> wrote:
Hi Mauro,
try changing your POST request as follows:
EPSG:3004
…
On 8/31/07, Mauro Bartolomeoli <m.bartolomeoli@anonymised.com> wrote:
I have some problems in visualizing a Geotiff coverage using WMS Post
(GeoServer 1.5.3):
The raster is correctly returned using a get request, like this one:
http://localhost:8080/geoserver/wms?bbox=2318600.0,4852200.0,2325920.0,4858400.0&styles=&Format=image/png&request=GetMap&layers=topp:test&width=800&height=635&srs=EPSG:3004#
using a WMS POST request like the following one, I get a blank image:
topp:test
test
test
test
1
gml:coord
gml:X 2318600.0</gml:X>
gml:Y 4852200.0</gml:Y>
</gml:coord>
gml:coord
gml:X2325920.0</gml:X>
gml:Y4858400.0</gml:Y>
</gml:coord>
image/png
true
800
635
XML
EPSG:3004 is the native CRS for the Geotiff file. Is there anything
wrong in my request or are there any difference from WMS get and post
using coverages?
Thanks,
Mauro Bartolomeoli
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
The problem should be on the UserStyle definition … try first commenting out the UserStyle node and see what happens. It should render your image using the default style associated to the coverage.
On 9/3/07, Alessio Fabiani <alessio.fabiani@anonymised.com> wrote:
Sorry my mistake … the previous is valid only for WCS POST requests … I will inspect deeper why WMS one doesn’t work!
On 9/3/07, Alessio Fabiani <alessio.fabiani@anonymised.com> wrote:
Hi Mauro,
try changing your POST request as follows:
EPSG:3004
…
On 8/31/07, Mauro Bartolomeoli <m.bartolomeoli@anonymised.com> wrote:
I have some problems in visualizing a Geotiff coverage using WMS Post
(GeoServer 1.5.3):
The raster is correctly returned using a get request, like this one:
http://localhost:8080/geoserver/wms?bbox=2318600.0,4852200.0,2325920.0,4858400.0&styles=&Format=image/png&request=GetMap&layers=topp:test&width=800&height=635&srs=EPSG:3004#
using a WMS POST request like the following one, I get a blank image:
topp:test
test
test
test
1
gml:coord
gml:X 2318600.0</gml:X>
gml:Y 4852200.0</gml:Y>
</gml:coord>
gml:coord
gml:X2325920.0</gml:X>
gml:Y4858400.0</gml:Y>
</gml:coord>
image/png
true
800
635
XML
EPSG:3004 is the native CRS for the Geotiff file. Is there anything
wrong in my request or are there any difference from WMS get and post
using coverages?
Thanks,
Mauro Bartolomeoli
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
It seems that the problem is in the tag. If I specify Feature (as in the raster.sld style) everithing is ok, if instead I use test, as I usually do with other features, I get a blank result. Is this the correct behaviour, or is there any bug causing this?
Thanks,
Mauro
Alessio Fabiani wrote:
The problem should be on the UserStyle definition … try first commenting out the UserStyle node and see what happens. It should render your image using the default style associated to the coverage.
On 9/3/07, Alessio Fabiani <alessio.fabiani@anonymised.com> wrote:
Sorry my mistake … the previous is valid only for WCS POST requests … I will inspect deeper why WMS one doesn’t work!
On 9/3/07, Alessio Fabiani <alessio.fabiani@anonymised.com> wrote:
Hi Mauro,
try changing your POST request as follows:
EPSG:3004
…
On 8/31/07, Mauro Bartolomeoli <m.bartolomeoli@anonymised.com> wrote:
I have some problems in visualizing a Geotiff coverage using WMS Post
(GeoServer 1.5.3):
The raster is correctly returned using a get request, like this one:
http://localhost:8080/geoserver/wms?bbox=2318600.0,4852200.0,2325920.0,4858400.0&styles=&Format=image/png&request=GetMap&layers=topp:test&width=800&height=635&srs=EPSG:3004#
using a WMS POST request like the following one, I get a blank image:
topp:test
test
test
test
1
gml:coord
gml:X 2318600.0</gml:X>
gml:Y 4852200.0</gml:Y>
</gml:coord>
gml:coord
gml:X2325920.0</gml:X>
gml:Y4858400.0</gml:Y>
</gml:coord>
image/png
true
800
635
XML
EPSG:3004 is the native CRS for the Geotiff file. Is there anything
wrong in my request or are there any difference from WMS get and post
using coverages?
Thanks,
Mauro Bartolomeoli
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
–
Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy
phone: +39 0584983027
fax: +39 0584983027
mob: +39 349 8227000
http://www.geo-solutions.it
On a WFS GetFeature call, is it possible to return all attributes of a feature except the geometry? I want to fetch a features informational attributes but I'm not interested in the geometry.
Thanks, David Robison
--
David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579
I don't know if there's a way to say "give me all fields EXCEPT the_geom"
but you can ask for only the fields you want using 'PropertyName=', like
this:
/wfs?request=GetFeature&typeName=myFeature&PropertyName=field1,field2,field7
etc
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of David R
Robison
Sent: Thursday, September 13, 2007 10:00 AM
To: geoserver users
Subject: [Geoserver-users] WFS GetFeature returning attributes but
notgeometry?
On a WFS GetFeature call, is it possible to return all attributes of a
feature except the geometry? I want to fetch a features informational
attributes but I'm not interested in the geometry.
Thanks, David Robison
--
David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Is it possible to construct a WFS GetFeature call that would return a feature that contains a point? Thanks, David Robison
--
David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579
It seems the question is - which feature (if any) does my point fall inside?
I think this sample WFS request answers it:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wfs:contains&s=wfs
Given a point and a datalayer (here towns) it returns the town that the
point falls in.
(The point is in the same projection as the datalayer).
DavidRobison wrote:
Is it possible to construct a WFS GetFeature call that would return a
feature that contains a point? Thanks, David Robison
--
David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison@anonymised.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/Problems-with-Geotiff-Coverage-tf4360977.html#a12656438
Sent from the GeoServer - User mailing list archive at Nabble.com.