[Mapbender-users] Projection problem

Stephan Holl stephan.holl at intevation.de
Fri Mar 9 02:25:06 EST 2007


Hello Arnulf,

"Arnulf Christl" <arnulf.christl at wheregroup.com>, [20070308 - 22:48:12]

> 
> On Thu, March 8, 2007 20:39, Stephan Holl wrote:
> > Dear Mapbenderers,
> >
> > I have set up MB 2.4 with PG/PGIS as DB. Starting the gui1 from the
> > original configuration the germany-map and the MP-users are shown as
> > intendet. But, changing the projection to 34369 (or any other
> > projection except 31467) does not show up an image.
> 
> Hey,
> probably something wrong in mapbender.conf.
> 
> It depends on the version you are using how the reproject is
> processed. Up until V.2.3 you needed to have (must have) PostgreSQL
> with PostGIS to be able to reproject. As of V.2.4 you can also use
> MySQL, then Mapbender falls back to use GEOS.

We use 2.4.x with postgis. The mapbender-setup.php tells me that
everything is installed nicely inside the postgresql-db.

> If you use PG you should also enable PostGIS in the mapbender db so
> that MB can use the reprojection methods to calculate the new bboxes.

Also done. 

> Maybe ./tools/mapbender_setup.php helps to identify the problem.

Well, not really. It tells me that PostGIS is enabled. I need to
recheck if the spatial_ref_sys-table is available and if the
postgis-installation is correct. (dont ahve access to the maschine in
question right now).

Any other pointers?

Best regards
	
	Stephan

> > I assue the transformation is somewhat faulty and the resulting
> > BBOX-Parameters are wrong. The follwing request is generated when
> > selecting EPSG:31469 from the menu:
> > BBOX contains 0,NaN,0,NaN.
> > The following are taken from the metadata-document:
> >
> > before transformation
> > http://wms1.ccgis.de/cgi-bin/mapserv?map=/data/umn/mapbender_user/mapbender_
> > user.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=Mapbender_User,Mapb
> > ender_Names&STYLES=,&SRS=EPSG:31467&BBOX=2931821.5625,5248260,4262868.4375,6
> > 100130&WIDTH=625&HEIGHT=400&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TR
> > UE&EXCEPTIONS=application/vnd.ogc.se_xml
> >
> > After transformation:
> > http://wms1.ccgis.de/cgi-bin/mapserv?map=/data/umn/mapbender_user/mapbender_
> > user.map&VERSION=1.1.1&REQUEST=GetMap&SERVICE=WMS&LAYERS=Mapbender_User,Mapb
> > ender_Names&STYLES=,&SRS=EPSG:31469&BBOX=0,NaN,0,NaN&WIDTH=625&HEIGHT=400&FO
> > RMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.
> > ogc.se_xml
> >
> > Is this a known problem?
> >
> > Best
> >
> > 	Stephan
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
> 
> 


-- 
Stephan Holl <stephan.holl at intevation.de>, http://intevation.de/~stephan
Tel: +49 (0)541-33 50 8 32 | Intevation GmbH | AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mapbender_users mailing list