[Mapbender-users] Problems with my initial view (BBOX)
Lluís Vicens
lluis at sigte.udg.es
Tue Oct 27 06:24:40 EDT 2009
Sorry, I forgot to say that I am working on an Ubuntu 8.04...
Thanks!
Lluís
En/na Lluís Vicens ha escrit:
> Hi Michael,
>
> A lot of thanks for your answer. The setBBOX module is definitely
> enabled in my gui as you can see in the attached image, but it doesn't
> works. I'm working with mapbender_2.6_rc1. But looking at
> http://www.mapbender.org/Mb_mybbox I can see that my mod_setBBOX1.php
> is different from the one you can download from:
>
> http://trac.osgeo.org/mapbender/browser/trunk/mapbender/http/javascripts/mod_setBBOX1.php?format=raw
>
>
> How should I proceed? Which is the problem? Which mod_setBBOX1.php I
> have to use: the script that originally comes from 2.6_rc1 (15 lines
> of code) or the one that can be downloaded from the link posted above
> (97 lines of code). The difference between them is notable.
>
> ¿Any advise?
> Thanks in advance!
>
> Lluís
>
> En/na Michael Schulz ha escrit:
>> Hi Lluís,
>>
>> you need to have the module setBBOX enabled for the GUI you want to
>> set a start extent with mb_myBBOX. Have you checked that this module
>> is present an enabled in your GUI? See here:
>> http://www.mapbender.org/Mb_mybbox
>>
>> If it still not working, please give us teh Mapbender Version you're
>> working with. I think to recall there was a MB 2.5 Version that had a
>> typo in ./conf/session.conf wrt. to the mb_myBBOX parameter, but I am
>> not sure...
>>
>> HTH, michael
>>
>>
>> 2009/10/21 Lluís Vicens <lluis at sigte.udg.es>:
>>
>>> Hi,
>>>
>>> I have a little problem (well, in fact this is one of my problems!)
>>> that I
>>> tried to solve for myself reading the wiki (mapbender documentation)
>>> as well
>>> as some of the mailing list archives but I cannot find a solution.
>>> How can I
>>> define my initial extent with mapbender? I tried several options
>>> regarding
>>> to the BBOX even I put manually the parameter &mb_myBBOX= into the
>>> URL but
>>> it doesn't work :(
>>>
>>> I want to fix my initial view based on EPSG:4326 where
>>> minx,miny,maxx,maxy
>>> are 2.4354,41.7065,3.1989,42.2430. My base cartography WMS is
>>> "http://shagrat.icc.es:80/lizardtech/iserv/ows?" and if I check
>>> (firebug)
>>> which is the request that mapbender is doing to this server the
>>> result is
>>>
>>> http://shagrat.icc.cat/lizardtech/iserv/ows?VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=sat250m&STYLES=&SRS=EPSG:4326
>>>
>>> &BBOX=-24.5,27.14789603960396,34.5,75.85210396039604&WIDTH=808&HEIGHT=667&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE
>>>
>>> &EXCEPTIONS=application/vnd.ogc.se_xml&
>>>
>>> ¿How could I define my initial bbox?
>>>
>>> Thanks in advance for your help and sorry if this is a question
>>> answered so
>>> many times before... :-[
>>>
>>> Regards,
>>> Lluís
>>>
>>> _______________________________________________
>>> Mapbender_users mailing list
>>> Mapbender_users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>
>>>
>>
>>
>>
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
More information about the Mapbender_users
mailing list