|
|
|
Lluís Vicens
|
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 [hidden email] http://lists.osgeo.org/mailman/listinfo/mapbender_users |
||||||||||||||||
|
Michael Schulz
|
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 <[hidden email]>: > 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 > [hidden email] > http://lists.osgeo.org/mailman/listinfo/mapbender_users > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Aufwind durch Wissen! Qualifizierte Open Source Schulungen bei der http://www.foss-akademie.de/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------------------------------------------------- Michael Schulz [hidden email] in medias res Gesellschaft für Informationstechnologie mbH +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++ Schwimmbadstraße 2 D-79100 Freiburg i. Br. Tel: +49 (0)761 705798-102 Tel: +49 (0)761 705798-0 Fax: +49 (0)761 705798-09 +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++ http://www.webgis.de / http://www.zopecms.de -------------------------------------------------------------- Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg _______________________________________________ Mapbender_users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapbender_users |
||||||||||||||||
|
Lluís Vicens
|
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 <[hidden email]>: > >> 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 >> [hidden email] >> http://lists.osgeo.org/mailman/listinfo/mapbender_users >> >> > > > > _______________________________________________ Mapbender_users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapbender_users |
||||||||||||||||
|
Lluís Vicens
|
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 <[hidden email]>: >> >>> 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 >>> [hidden email] >>> http://lists.osgeo.org/mailman/listinfo/mapbender_users >>> >>> >> >> >> >> > ------------------------------------------------------------------------ > > _______________________________________________ > Mapbender_users mailing list > [hidden email] > http://lists.osgeo.org/mailman/listinfo/mapbender_users > Mapbender_users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapbender_users |
||||||||||||||||
|
Michael Schulz
|
Hi Lluís,
you should definitely stick to the version that ships with your mapbender installation. The link you mention points to the trunk aka development version. Are there any JavaScript errors... also have a look at the mapbender error log file. Is the extent you're providing in the correct srs? Hm, just read your first post again. You *have* to start Mapbender with the mb_myBBOX parameter set, and especially you'll need to start it with http://mydomain/login.php?name=name&password=password&mb_user_myGUI=gui&mb_myBBOX=.... You can find it here: http://www.mapbender.org/GUI_Start_Parameters Cheers, Michael 2009/10/27 Lluís Vicens <[hidden email]>: > 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 <[hidden email]>: >>> >>>> >>>> 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 >>>> [hidden email] >>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users >>>> >>>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Mapbender_users mailing list >> [hidden email] >> http://lists.osgeo.org/mailman/listinfo/mapbender_users >> > > _______________________________________________ > Mapbender_users mailing list > [hidden email] > http://lists.osgeo.org/mailman/listinfo/mapbender_users > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Aufwind durch Wissen! Qualifizierte Open Source Schulungen bei der http://www.foss-akademie.de/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ----------------------------------------------------------- Michael Schulz [hidden email] in medias res Gesellschaft für Informationstechnologie mbH +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++ Schwimmbadstraße 2 D-79100 Freiburg i. Br. Tel: +49 (0)761 705798-102 Tel: +49 (0)761 705798-0 Fax: +49 (0)761 705798-09 +++ Bitte beachten Sie unsere neue Adresse und Durchwahl +++ http://www.webgis.de / http://www.zopecms.de -------------------------------------------------------------- Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg _______________________________________________ Mapbender_users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapbender_users |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |