[Mapbender-users] Projection problem

Arnulf Christl arnulf.christl at wheregroup.com
Thu Mar 8 16:48:12 EST 2007

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.

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.

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.

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

Regards, Arnulf.

> 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

Arnulf Christl

More information about the Mapbender_users mailing list