[mapserver-users] unsubscribe
Paul D Pruitt
socrtwo at s2services.com
Mon Jul 18 12:40:20 PDT 2016
unsubscribe
Best Wishes,
Paul D Pruitt
socrtwo at s2services.com
(301) 493-4982
9006 Friars Rd.
Bethesda, MD 20817-3320
- Have a manuscript lying around gathering dust? Let me help you
self-publish it <socrtwo at s2services.com>.
On Mon, Jul 18, 2016 at 5:24 AM, Andrea Peri <aperi2007 at gmail.com> wrote:
> Hi Even,
> Your workaround is work and is perfect for me.
>
> Thx,
>
> A.
>
>
> 2016-07-18 10:02 GMT+02:00 Even Rouault <even.rouault at spatialys.com>:
> > Andrea,
> >
> >> I like to understand why mapserver seem don't recognize a field that
> >> is primary key as feature_id field.
> >
> > The issue is that PK_UID is recognized by OGR as the field for the OGR
> > featureid and thus not exposed as an item to MapServer. One way to
> workaround
> > this is to make the PK_UID field available as a regular field with a
> SELECT
> >
> > For example, like this :
> >
> > NAME towns
> > DATA "SELECT ROWID as msFID, * FROM towns"
> > CONNECTIONTYPE OGR
> > CONNECTION "./data/db.sqlite"
> > METADATA
> > "ows_title" "towns"
> > "wfs_featureid" "msFID"
> > "gml_exclude_items" "msFID"
> > "gml_include_items" "all"
> > "gml_types" "auto"
> > END
> >
> > Even
> >
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160718/fb58dad7/attachment.htm>
More information about the MapServer-users
mailing list