On Thu, Aug 2, 2012 at 10:03 PM, Andrea Peri <aperi2...@gmail.com> wrote:
> Hi,
> I'm try-ing to use spatialite with mapserver.
>
> is this mapfile configuration ok for spatialite ?
>
>     CONNECTIONTYPE OGR
>     CONNECTION '/..path-to../spatialite_file.sqlite'
>     DATA 'SELECT field1, field2, field3, geometry from table'
>
> It seem don't work.
>

I think you just need to select the geometry field in the DATA
parameter (at least this is the case for PostGIS and Oracle Spatial),
so  for your case try:

DATA 'SELECT geometry from table'

cheers
p

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to