qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.06k stars 2.92k forks source link

Attribute table: add option to allow only "correct" name of the head tables #19185

Open qgib opened 10 years ago

qgib commented 10 years ago

Author Name: Jirko Mattat (Jirko Mattat) Original Redmine Issue: 10806

Redmine category:attribute_table


If you create a vector layer in new fixed data on the attribute table, the name of the attribute must be no spaces. With spaces in attribute names no WFS GetCapabilities on the GeoServer V2.5.1 are shipped.

Please incorrect input intercept.

qgib commented 10 years ago

Author Name: Jürgen Fischer (@jef-n)


qgib commented 10 years ago

Author Name: Matthias Kuhn (@m-kuhn)


Is this a QGIS desktop attribute table, QGIS desktop field calculator, a QGIS server or a geoserver problem?

qgib commented 10 years ago

Author Name: Matthias Kuhn (@m-kuhn)


Please specify exactly what you are doing, what's going wrong and what would be the expected result.


qgib commented 10 years ago

Author Name: Jirko Mattat (Jirko Mattat)


It happens when QGIS desktop attribute table, the create a new vector layer. In my opinion, it is useful to intercept this because Geoserver 2.4.x/2.5.1 delivers no more WFS with spaces in the name. WMS but coming.

Procedure:

at a WFS GetFeature query the error message that the GetCapabilities not well-formed (that is the error message from Geoserver)

qgib commented 10 years ago

Author Name: Giovanni Manghi (@gioman)


Jirko Mattat wrote:

It happens when QGIS desktop attribute table, the create a new vector layer. In my opinion, it is useful to intercept this because Geoserver 2.4.x/2.5.1 delivers no more WFS with spaces in the name. WMS but coming.

it is just a geoserver thing (not accepeting spaces in column names) or is a general issue/rule with all map servers?

qgib commented 10 years ago

Author Name: Michael Douchin (@mdouchin)


It is not a Geoserver only "issue". Spaces are not allowed in MapServer either for layer names : http://mapserver.org/fr/ogc/wfs_server.html#configuring-your-mapfile-to-serve-wfs-layers

I think it is defined as this in the standard

qgib commented 10 years ago

Author Name: Nathan Woodrow (@NathanW2)


I'm not sure I follow how this is a bug for us. If they don't allow spaces don't create a field with spaces. There is no need for us to force that

qgib commented 10 years ago

Author Name: Jirko Mattat (Jirko Mattat)


For me it would have been great had intercepted the QGIS since a lot of time on it to recite a follow-up to find the error. Here now establish a direct connection between column label and faulty response of a WFS request is not so simple. The trap could be an improvement of the usability and spare the next a lot of time, which was based on the idea.

qgib commented 9 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)