Bug report #7534
qgis wfs server cannot serve geometryless tables (but from project properties it seems possible)
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | René-Luc ReLuc | ||
Category: | QGIS Server | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16478 |
Description
In a project where there are geometryless tables everything seems to allow publish them with qgis wfs server. In the project/layer properties all the proper panels (ex. OWS server) seems to allow this operation, but then when accessing the wfs service with the WFS client, the table is not added correctly in the project. In the TOC shows a strange icon (instead the expected table icon) and the table of attributes is empty.
In the client the support for geometryless wfs tables should be available since
so I guess is a server issue.
History
#1 Updated by René-Luc ReLuc over 11 years ago
- Due date set to 2013-04-19
- Assignee set to René-Luc ReLuc
- % Done changed from 0 to 100
- Resolution set to fixed
Commit 92d24fb12047652142d4eda69c3a2b8c261aac4f
92d24fb12047652142d4eda69c3a2b8c261aac4f
#2 Updated by Giovanni Manghi over 11 years ago
- Status changed from Open to Resolved
René-Luc ReLuc wrote:
Commit 92d24fb12047652142d4eda69c3a2b8c261aac4f
92d24fb12047652142d4eda69c3a2b8c261aac4f
tested wit the latest master on Linux and geometryless tables (tested csv and dbf) are not shown in WFS client while PostgreSQL are. Is this feature supposed to work with just PostgreSQL tables? If yes this can be closed.
On the other hand the PostgreSQL table is shown also in the WMS client, that does not make sense I guess (and in fact it gives error if trying to add it).
#3 Updated by Giovanni Manghi over 11 years ago
- Status changed from Resolved to Feedback
#4 Updated by Giovanni Manghi over 11 years ago
- Priority changed from High to Normal
#5 Updated by René-Luc ReLuc over 11 years ago
Giovanni Manghi wrote:
tested wit the latest master on Linux and geometryless tables (tested csv and dbf) are not shown in WFS client while PostgreSQL are. Is this feature supposed to work with just PostgreSQL tables? If yes this can be closed.
This feature is not supposed to work only with PostgreSQL tables. I tested a CSV file which is in the GetCapabilities, the GetFeature works and the WFS Client shows it.
Can you provide test data ?
On the other hand the PostgreSQL table is shown also in the WMS client, that does not make sense I guess (and in fact it gives error if trying to add it).
I will take a look on it.
#6 Updated by René-Luc ReLuc over 11 years ago
Giovanni Manghi wrote:
On the other hand the PostgreSQL table is shown also in the WMS client, that does not make sense I guess (and in fact it gives error if trying to add it).
This commit c78a5d1941d8d14c68032cdcd507b28cfd226e32 , QGIS-Server doesn't publish vector layer without geometry in WMS, is correcting it.
#7 Updated by Giovanni Manghi over 11 years ago
- File pontos_alentejo.csv added
- File leg.dbf added
Can you provide test data ?
attached. Cheers!
#8 Updated by René-Luc ReLuc over 11 years ago
I have tested the data with a QGIS / QGIS-Server based on commit 36d266c4b0dcf2435b88f379700fb8e40f4abf3d
I have no bugs. If someone can confirm it this issue can be closed.
#9 Updated by Giovanni Manghi over 11 years ago
- Status changed from Feedback to Closed
René-Luc ReLuc wrote:
I have tested the data with a QGIS / QGIS-Server based on commit 36d266c4b0dcf2435b88f379700fb8e40f4abf3d
I have no bugs. If someone can confirm it this issue can be closed.
don't worry, it means it is a local issue. Cheers!