[mapserver-users] feature_id not found as wfs feature_id in a spatialite db

Andrea Peri aperi2007 at gmail.com
Sun Jul 17 23:54:00 PDT 2016


Hi,
I have a dataset in a spatialite and try to set a wfs 2.0.0 service.

It seem work all ok but

I have this warning:

<!-- WARNING: FeatureId item 'PK_UID' not found in typename 'test_dataset'.
-->

The result of thi warning is that the gml feture as numberes as this:
.1
.2
.3

Not really beautiful.
:(

<gml:MultiCurve gml:id=".1" srsName="urn:ogc:def:crs:EPSG::25832">

This is my mapfile setting:
      "wfs_featureid" "PK_UID"

And I verify that the PK_UID field is an integer and primary key fied
in my spatialite table.

I like to understand why mapserver seem don't recognize a field that
is primary key as feature_id field.

Any hint is welcome.
Thx,

Andrea


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------



More information about the MapServer-users mailing list