many thanks Guillaume it works fine now! Best
Giovanni On Fri, Jan 23, 2009 at 5:42 PM, Guillaume Sueur-2 (via Nabble) < [email protected]<ml-user%[email protected]> > wrote: > try with : > using unique gid > in your data string > > regards > > guillaume > > gzambotti a écrit : > > Hi there, > > > > I am new with mapserver. > > I use a WMS/mapserver (4.9) to Get Feature Info into a google maps > balloon. > > If I set my mapfile to a shapefile everything works very well. > > When I try to use PostGIS I get this error (Content-type: > > application/vnd.ogc.se_xml ). > > any idea? > > > > many thanks, Giovanni > > > > Here my mapfile: > > > > LAYER > > NAME "ED_Total" > > MINSCALE 1000000 > > CONNECTIONTYPE postgis > > CONNECTION "user=africamaps password=j0kerz dbname=africamaps > > host=localhost port=5432" > > #DATA "the_geom from ED_Total using unique gid USING > SRID=4326" > > DATA "the_geom from (select gid, NAME, CITY, STATE, the_geom > > > from ED_Total) as foo using unique the_geom using SRID=4326" > > #DATA "/opt/CGA/data/vec/gio1/shapefile/EDtotal" > > TYPE POINT > > METADATA > > "wms_title" "ED_Total" > > "wms_srs" "EPSG:4326 EPSG:900913 EPSG:41001 EPSG:54004" > > 'wms_include_items' 'all' > > "wms_onlineresource" > > " > http://cga-3.hmdc.harvard.edu/cgi-bin/mapserv?map=/opt/CGA/newam/htdocs/gtest/ednet.map&" > > > "ows_exceptions_format" "application/vnd.ogc.se_xml" > > "wms_exceptions_format" "application/vnd.ogc.se_xml " > > "wms_exceptions_format" "application-vnd.ogc.se_inimage" > > "wms_ature_info_mime_type" "text/html" > > END > > STATUS ON > > PROJECTION "+init=epsg:4326" > > END #projection > > CLASS > > NAME "lt 1" > > STYLE > > COLOR 255 255 250 > > SYMBOL 'circle' > > SIZE 8.5 > > END > > STYLE > > COLOR 255 0 0 > > SYMBOL 'thickcross' > > SIZE 7.5 > > END > > END #class > > HEADER "/opt/CGA/newam/htdocs/gtest/header.html" > > TEMPLATE "/opt/CGA/newam/htdocs/gtest/query.html" > > FOOTER "/opt/CGA/newam/htdocs/gtest/footer.html" > > END #layer > > > > > _______________________________________________ > mapserver-users mailing list > mapserver-us...@...<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2206440&i=0> > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > ------------------------------ > This email is a reply to your post @ > http://n2.nabble.com/Get-Feature-Info-into-gmaps-balloon-tp2206135p2206440.html > You can reply by email or by visting the link above. > > -- Giovanni Zambotti 34 Prince st, Cambridge MA 02139 USA Phone: (617) 492 - 0359 -- View this message in context: http://n2.nabble.com/Get-Feature-Info-into-gmaps-balloon-tp2206135p2218219.html Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
