fwiw, here is the pastebin link to the XML response to my GetCapabilities request. http://pastebin.com/zu8kjNDX
On Sep 8, 2011, at 6:44 PM, Mr. Puneet Kishor wrote: > Great suggestions Daniel. Here is what I have to report -- > > > On Sep 8, 2011, at 6:27 PM, Daniel Morissette wrote: > >> Hi Puneet, >> >> A few things to try: >> >> 1- Reduce your map to a single layer if that's not already the case for your >> first round of tests. > > > It is already reduced to a single layer. > > >> >> 2- Try a GetCapabilities instead of GetMap, and make sure your layer shows >> up properly and with no WARNING in the GetCapabilities XML output. Make sure >> the name of the layer is not changed: if you have multiple layers with the >> same name then the WMS handler will rename them to make them unique (WMS >> spec requirement) > > > That was very useful. No errors, but I do notice the following funky issue > (see below) > > <Layer queryable="0" opaque="0" cascaded="0"> > <Name>gmna</Name> > <Title>gmna</Title> > <SRS>EPSG:4326</SRS> > <LatLonBoundingBox minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07" > maxy="2.5e+07" /> > <BoundingBox SRS="EPSG:4326" > minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07" > maxy="2.5e+07" /> > <Style> > <Name>default</Name> > <Title>default</Title> > <LegendURL width="167" height="7029"> > <Format>image/png</Format> > <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" > xlink:type="simple" > xlink:href="http://lucknow-2.local/test/mapscript/test3.cgi?version=1.1.0&service=WMS&request=GetLegendGraphic&layer=gmna&format=image/png&STYLE=default"/> > </LegendURL> > </Style> > > > Where the heck did that (+-)2.5e+07 business get into the BoundingBox? I > didn't add that. All I did was query in lat/lon. Maybe that is where my error > remains now. > > >> .. >> >> 4- Frank's earlier suggestion to start by making things work from a regular >> mapfile first and then converting/moving stuff to mapscript progressively >> still stands as a great option. >> .. > > Indeed, a great suggestion. Actually, that is exactly how I started. Got > everything working with a Mapfile, then migrated to MapScript (I am touching > MapScript after many years now, perhaps half a decade), got that working, and > am now on to WMS. > > Anyway, I seem to be close to a resolution. Something is going on with my > BoundingBox. > > Puneet. > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
