gvSIG bugs #2631

WFS 1.0.0 with spatial filter returns an empty layer

Added by Antonio Falciano almost 10 years ago. Updated over 8 years ago.

Status:New% Done:

0%

Priority:NormalSpent time:-
Assignee:-
Category:WFS
Target version:-
Severity:Minor Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2231 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords:wfs, gml Proyecto:
Has patch: Hito:
Add-on name:Unknown

Description

Consider the following WFS URL of the Italian National Geoportal:
http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/LimitiAmministrativi_2011.map
and its capabilities:
http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/LimitiAmministrativi_2011.map
There are three layers, whose names are:
  • UA.UNITAAMMINISTRATIVE.REGIONI
  • UA.UNITAAMMINISTRATIVE.PROVINCE
  • UA.UNITAAMMINISTRATIVE.COMUNI

For semplicity, consider only the first one.
If I try to load as it is (WFS 1.1.0), the issue described in #2252 occurs, i.e. the geometries (GML 3.1.1) are loaded but the coordinates are inverted.
Instead, if I select the 1.0.0 version in WFS Option tab, the WFS layer is empty, so there's something wrong with 1.0.0 version management (bug). See also #2494.
Then I've tried to force the WFS version appending &service=WFS&version=1.0.0&request=GetCapabilities to the base URL and accepted the warning message about parameters.
There two cases again: if I select the 1.0.0 version in WFS wizard, the geometries (GML 2.1.2) are loaded correctly (so this is a workaround actually).
Instead, if I leave the 1.1.0 version in the wizard, the coordinate are swapped again (the version in WFS Option tab overrides that specified in the URL).


Related issues

Related to Application: gvSIG desktop - gvSIG bugs #1281: Add WFS with filter area does not works Closed 10/17/2012

History

#1 Updated by Antonio Falciano almost 10 years ago

Excuse me, but after further testing, I have discovered that the version 1.0.0 (selected in WFS Option tab) works fine with the above mentioned URL (so it has not to be requested in the URL), while it returns an empty layer only when the spatial filter is enabled. So the ticket should be renamed as "WFS 1.0.0 with spatial filter returns an empty layer" with normal severity, thanks.

#2 Updated by Álvaro Anguix almost 10 years ago

  • Subject changed from WFS 1.1.0 / 1.0.0 management issues to WFS 1.0.0 with spatial filter returns an empty layer

#3 Updated by Álvaro Anguix almost 10 years ago

  • Severity changed from Critical to Minor

#4 Updated by Antonio Falciano almost 10 years ago

See also #1281 (WFS 1.0).

#5 Updated by Álvaro Anguix almost 10 years ago

#6 Updated by Antonio Falciano almost 10 years ago

A quite simple workaround consists into appending the BBOX parameter to the service URL. For instance:

http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/LimitiAmministrativi_2011.map&bbox=13.5,39.7,18.6,42.3

#7 Updated by Antonio Falciano over 9 years ago

The spatial filter in the WFS wizard doesn't produce right results in case of WFS 1.0.0 even after gvsig-wfs:r112.
The WFS layer is loaded in the ToC, but it's always empty.
The attribute table shows like an initial big column missing... Is this the GEOMETRY field?
Build 2249.

#8 Updated by Antonio Falciano over 8 years ago

It seems that the WFS spatial filter is broken also in gvSIG 2.3 with both versions (1.0.0 and 1.1.0).
I've noticed also that the LL vertex is on the right and the UR one on the left of the panel, that is not intuitive.

Also available in: Atom PDF