Hi, Andreas, I do specify for ViewContext <BoundingBox SRS="EPSG:26986" minx="..." miny="..." maxx="..." maxy=".."/>
I found something interesting, when I palyed around with "?bbox=..." string, one time by mistake I lost the last digital for all the 4 numbers, and the map zoom-in to a new extent instead keeping the same. So I go back to the demo, I found http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html?bbox=-180,-90,90,180 doesn't get exactly as http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html. And when you mouse over the map of http://demo.communitymapbuilder.org/demo/mapbuilder/demo/basic/index.html?bbox=0,0,50,50 (0,0) and (50, 50) doesn't seems to be the bounding box of the map. I know openlayer map image expand 1/2 to both North, West, South, East for the purpose of tiling/catching. But this doesn't seems like the reason. Many thanks again. HuaiNing Andreas Hocevar-2 wrote: > > Hi, > > On 9/14/07, hzhu <[EMAIL PROTECTED]> wrote: >> Maybe I need add the projection definition somewhere else in the package >> to >> make it accept bbox in EPSG26986? > > Make sure that you have specified your SRS as attribute in your > context.xml, eg.: > > <BoundingBox SRS="EPSG:26986" minx="..." miny="..." maxx="..." > maxy=".."/> > > for ViewContext, or > > <ows:BoundingBox crs="EPSG:26986"> > ... > </ows:BoundingBox> > > for OwsContext. > > Regards, > Andreas. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > > -- View this message in context: http://www.nabble.com/Bbox-from-querystring-window.cgiArgs-%22bbox%22--tf4442933.html#a12682127 Sent from the MapBuilder Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
