Hi to all, I have imported in Sql Server 2008 spatial a shp file. Now, if I access the original shape file via WMS it works fine. This is the mapfile config relative to the working shp file:
LAYER NAME "ptcp" TYPE POLYGON STATUS DEFAULT # CONNECTIONTYPE PLUGIN # PLUGIN "C:\programmi\ms4w\Apache\specialplugins\msplugin_mssql2008.dll" # CONNECTION "Driver={SQL Server Native Client 10.0};Server=localhost\SQLEXPRESS; Database=GIS;Trusted_Connection=yes;" # DATA "geom FROM CG_PTCP_C6_AREE_NATURALI" DATA "E:\Dati cartografici Comuni\Parma PTCP\ptcp gauss\C6\aree_naturali.shp" METADATA "wms_title" "Aree naturali" "gml_include_items" "all" END DUMP TRUE OPACITY 50 CLASS STYLE COLOR 0 0 255 # WIDTH 8 END LABEL TYPE truetype FONT "PerspectiveBlack" SIZE 11 END END If I remark the row DATA "E:\.... \aree_naturali.shp" and I remove the # in the previous lines to enable the Sql Server 2008 call, executing the WMS call from browser I obtain a blank image. I can't understand the different beaviour, because the geometry in Sql Server is the same, and the connection is accepted correctly. Any ideas? Thanks a lot, Kiks -- View this message in context: http://n2.nabble.com/msplugin-mssql2008-dll-plugin-seems-to-work-but-I-obtain-a-blank-image-tp4627179p4627179.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users