Hi, googling I found this thread: http://lists.osgeo.org/pipermail/gdal-dev/2011-April/028373.html
as reported in it seem that to see the spatialite view need to set the SQLITE_LIST_ALL_TABLES parameter. Is this kind of sqlite/spatialite parameters settable for an ogr connection inside a mafile ? Thx 2013/4/13 Andrea Peri <[email protected]> > Hi, > thx for reply. > > I check your hint. > As readable from spatialite documentation a spatial view seem need to > registered on a special geometry column named: > > views_geometry_columns > > I add the view to this table but still the wfs seem don't understand any. > > This is what it return: > > <wfs:FeatureCollection > xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver > http://www502.regione.toscana.it/cartografia/wmsraster/com.rt.wms.RTmap/wms?map=wmstest&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=v_lista_comuni_ordered_prov_com&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1 > http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"> > <gml:boundedBy> > <gml:Null>missing</gml:Null> > </gml:boundedBy> > </wfs:FeatureCollection> > > > > 2013/4/13 <[email protected]> > > Hi Andrea, >> >> I'm not a spatialite user (more Postgis), but you may need to create an >> entry in the geometry_columns table that describes the view for mapserver >> to be able to access it. >> >> >> Brent Wood >> >> >> --- On *Sat, 4/13/13, aperi2007 <[email protected]>* wrote: >> >> >> From: aperi2007 <[email protected]> >> Subject: [mapserver-users] WFS on a view from a spatialite source >> To: [email protected] >> Date: Saturday, April 13, 2013, 11:17 AM >> >> Hi, >> >> I'm try-ing to start a wfs service using a spatialite db as datasosurce. >> It work if I use a table. >> >> But using a spatial view it don't seem work >> It return a GML Bound NULL. >> >> I don't know if I'm wrong to set it. >> >> There is any on that as successfully use a spatial view of spatialite as >> datasource for wfs ? >> >> Thx, >> >> Andrea Peri >> >> _______________________________________________ >> mapserver-users mailing list >> [email protected]<http://mc/[email protected]> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty àèìòù > ----------------- > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
