[mapserver-users] How choose the rigth geometry field

Andrea Peri aperi2007 at gmail.com
Sat Jan 6 12:12:10 PST 2018


Hi,
I resolve it.

The trick was to define explicitly the geometry field used as "geometry".
Like this sample:

Table.rowid ad msFID, Table.geometry_other as geometry , Tablet.* from
table;

The trick is working because the alias for geometry was first in list of
fields of the other geometry field (even if named "geometry" himself).

Mapserver , the driver, use the first "geometry" named founded in field
list.

Regards,
A.


2018-01-06 8:49 GMT+01:00 Andrea Peri <aperi2007 at gmail.com>:

> Hi, i have a spatialite.table where There are
> Teo geometry fields.
>
> Usually i use this sintax ti use the table.
>
> Table.rowid ad msFID, Tablet.* from tablet
>
> But now i have two fields with geometry.
> Is possible ti set mapserver to use one ?
>
> THX,
> A.
>
>


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180106/e5e4b552/attachment.htm>


More information about the MapServer-users mailing list