[Gvsig_english] gvSIG 1.12 RC2 available
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Tue Aug 7 10:34:48 CEST 2012
Hi,
There seems to be some problem with getting right bounds for WFS layer.
This is the URL that was sent by gvSIG 1.12 RC2
http://188.64.1.61/cgi-bin/mapserver_wfs?REQUEST=GetFeature&SERVICE=WFS&TYPENAME=municipalities&VERSION=1.1.0&EXCEPTIONS=XML&MAXFEATURES=10000
This is the boundedBy as it comes from the server:
<gml:boundedBy>
<gml:Envelope srsName="EPSG:3067">
<gml:lowerCorner>61684.274700 6605837.973400</gml:lowerCorner>
<gml:upperCorner>732897.059100 7776424.225800</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
This is how gvSIG interprets the bounds (captured from table on contens with right click - Properties)
Extent EPSG:3067 (Proyección de la vista):
Upper: 7776424.2258
Lower: 0.0
Left: 0.0
Right: 732897.0591
Datasource:
WFS Driver
Type: Polygon2D
There is also some issues if there there is some troubles on the WFS server side.
The following request leads to server error because server cannot handle character 'ä' used in the filter. That's not gvSIG's fault.
http://188.64.1.61/cgi-bin/mapserver_wfs?REQUEST=GetFeature&SERVICE=WFS&TYPENAME=municipalities&FILTER=<Filter%20xmlns:ogc="http://www.opengis.net/ogc"%20xmlns:gml="http://www.opengis.net/gml"%20xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"%20xsi:schemaLocation="http://www.opengis.net/ogc%20../filter/1.0.0/filter.xsd%20http://www.opengis.net/gml%20../gml/2.1.2/geometry.xsd"><PropertyIsEqualTo><PropertyName>kunta_ni1</PropertyName><Literal>Saarij%E4rvi</Literal></PropertyIsEqualTo></Filter>&VERSION=1.1.0&EXCEPTIONS=XML&MAXFEATURES=10000
However, gvSIG creates a new, empty layer. I believe that in case of WFS server throwing an exception it should be reported for the user and new layer should not be created.
Asking the bounds of this new empty layer with TOC-Right Click-Properties gives also a Null Pointer Exception.
The server error which leads to these two issues on gvSIG side can be repeated by creating an attribute filter
kunta_ni1='Saarijärvi'
for WFS Feature type 'municipalities'
Regards,
-Jukka Rahkonen-
More information about the Gvsig_internacional
mailing list