Re: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-10 Thread Barend Kobben
> yes I haved named every layers but I haven't bounding box. I guess you mean there's no BBOX in the GetCapabilities reply?. That's not good. I think (but others may correct me) that there is a bug/hidden feature in teh PostGIS connector of Mapserver that it does not get the extent of a layer if o

Re: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-10 Thread Quentin Page
hi barend, yes I haved named every layers but I haven't bounding box. I wrote this in every my layers lAYER NAME "routes" STATUS DEFAULT METADATA "wms_title" "routes" END CONNECTION "us

Re: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-09 Thread Barend Kobben
Yes, this is (part of) a valid getCapabilities. Further down there should be a section that describes the LAYERs, with for each layer at least a TITLE and a valid BBOX (= bounding box). Check if this bounding box is there and is corresponding with the actual data you have. If not, there is an erro

Re: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-09 Thread Quentin Page
yes I tried http://localhost/cgi-bin/mapserv.exe?map=ms4w/apache/htdon cs/projet2009/ICPE.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities and I received a file mapserver.exe what I rename "mapserver.xml" this file wasn't empty. the message is for sevreal lines text/xml

Re: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-09 Thread Barend Kobben
OK, but did you try to get it working by just typing the URL in a browser? That tests the actual Mapserver request, to see if that part of the setup works... Something like: http://localhost/cgi-bin/mapserv?map=/projet2009/ICPE.map&SERVICE=WMS&VERSIO N=1.1.1&REQUEST=GetCapabilities should result i

RE: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-09 Thread Quentin Page
thanks for your reponce but i have the same probleme the data doesnt viewed. quentin page ecole des sciences géographique france > did you try this 'just'on mapserver, ie. without OpenLayers...? To me the > URL to mapserver just seems to be wrong , I suspect that i.s.o. > 'http://localhost/cg

RE: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-09 Thread Quentin Page
thanks for your reponce but i have the same probleme the data doesnt viewed. quentin page ecole des sciences géographique france > did you try this 'just'on mapserver, ie. without OpenLayers...? To me the > URL to mapserver just seems to be wrong , I suspect that i.s.o. > 'http://localhost/cg

RE: [postgis-users] pb OpenLayers using a local Mapserver

2009-03-08 Thread Barend Köbben
did you try this 'just'on mapserver, ie. without OpenLayers...? To me the URL to mapserver just seems to be wrong , I suspect that i.s.o. 'http://localhost/cgi-bin/mapserv?/projet2009/ICPE.map', it should read 'http://localhost/cgi-bin/mapserv?map=/projet2009/ICPE.map', -- Barend Köbben Inte