<div dir="ltr"><div class="gmail_default" style="font-size:large">unsubscribe</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="4">Best Wishes,<br><br>Paul D Pruitt<br><br><a href="mailto:socrtwo@s2services.com" target="_blank">socrtwo@s2services.com</a><br>(301) 493-4982<br>9006 Friars Rd.<br>Bethesda, MD 20817-3320<br></font><ul><li><font size="4">Have a manuscript lying around gathering dust?<a href="mailto:socrtwo@s2services.com" target="_blank"> Let me help you self-publish it</a>.</font></li></ul><div style="text-align:center"><span></span><span></span><a></a></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, Jul 18, 2016 at 5:24 AM, Andrea Peri <span dir="ltr"><<a href="mailto:aperi2007@gmail.com" target="_blank">aperi2007@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Even,<br>
Your workaround is work and is perfect for me.<br>
<br>
Thx,<br>
<br>
A.<br>
<span class="im HOEnZb"><br>
<br>
2016-07-18 10:02 GMT+02:00 Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>>:<br>
> Andrea,<br>
><br>
>> I like to understand why mapserver seem don't recognize a field that<br>
>> is primary key as feature_id field.<br>
><br>
> The issue is that PK_UID is recognized by OGR as the field for the OGR<br>
> featureid and thus not exposed as an item to MapServer. One way to workaround<br>
> this is to make the PK_UID field available as a regular field with a SELECT<br>
><br>
> For example, like this :<br>
><br>
> NAME towns<br>
> DATA "SELECT ROWID as msFID, * FROM towns"<br>
> CONNECTIONTYPE OGR<br>
> CONNECTION "./data/db.sqlite"<br>
> METADATA<br>
> "ows_title" "towns"<br>
> "wfs_featureid" "msFID"<br>
> "gml_exclude_items" "msFID"<br>
> "gml_include_items" "all"<br>
> "gml_types" "auto"<br>
> END<br>
><br>
> Even<br>
><br>
> --<br>
> Spatialys - Geospatial professional services<br>
> <a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
<br>
<br>
<br>
</span><span class="im HOEnZb">--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty àèìòù<br>
-----------------<br>
</span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></div></div></blockquote></div><br></div></div>