[Mapbender-users] Problems with EPSG

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Tue Jun 17 05:23:26 EDT 2008

Hello Sandra,

the problem is that GeoServer does not serve the BoundingBox-Tag in the
XML. GeoServer only offers the LatLonBoundingBox in 4326.

Here is an examle with UMN MapServer:
<Layer queryable="0" opaque="0" noSubsets="0">
  <LatLonBoundingBox minx="6.93635" miny="50.8018" maxx="7.01256"
maxy="50.8501" />
  <BoundingBox SRS="EPSG:31466" minx="2.566e+006" miny="5.62995e+006"
maxx="2.5713e+006" maxy="5.63525e+006" />

Mapbender can only start with the EPSG-Code, where Mapbender has a
corresponding BBOX.

If you want to add a BoundingBox and an EPSG to start your gui with this
EPSG, you have to add a new row in the Mapbender table layer_epsg.

Find out the layer_id of you root layer and add a new row for the
EPSG-Code you are interested in.

After that you should have the possiblity to choose this new EPSG from the
dropdown list in the WMS GUI Settings.

Greetings from Bonn


On Mon, June 16, 2008 6:17 pm, Len Kne wrote:
> Sandra
> I'm not familiar with geoserver, but it sounds like geoserver is rendering
> the map properly and not the issue.  Couple ideas in Mapbender.  First, I
> would suggest turning off the change ESPG module while troubleshooting -
> once it works, bring it back.  Depending on which version of Mapbender you
> are using, you may have may have to add a line of code to changeESPG.php
> to
> include your projection.  The scale bar also does not work properly in
> lat/lon (4326), but should be ok once you get to your projection.
> In the Admin module, look at "WMS GUI settings".  The top WMS of an
> application/gui sets the default projection.  I'm guessing your first WMS
> is
> set to 4326.  You might have to move your WMS from geoserver to the top
> position, thus allowing you to select 32761 projection.
> Len
>   _____
> From: mapbender_users-bounces at lists.osgeo.org
> [mailto:mapbender_users-bounces at lists.osgeo.org] On Behalf Of Sandra Mink
> Sent: Monday, June 16, 2008 10:58 AM
> To: mapbender_users at lists.osgeo.org
> Subject: [Mapbender-users] Problems with EPSG
> Hi list,
> I'm using geoserver 1.6.4 and mapbender with a Postgis database to put my
> maps on the web as a part of a project. I'm really a newbie to all this.
> After having a lot of trouble I finally made it and I got to see my
> layers,
> but ... they appear to be a mirror image and distorted. I realized they
> are
> projected in EPSG 4326, although I defined EPSG 32761 in geoserver, where
> everything worked well. Also the scale doesn't seem to work.
> When I change EPSG in the Mapbender GUI it returns an error. And I don't
> know how to add other EPSG in the dropdown list in the WMS GUI Settings
> Menu. I've tried to make some edits but haven't had luck!
> I need to use EPSG: 32761: Universal Polar Stereographic because I'm
> working
> on a area near Antarctica.
> I've seen on the posts that somebody else had similar problems. I would
> appreaciate every kind of help! Is there a way to solve this?
> Many thanks!
> Sandra
>   _____
> Sigue de cerca las últimas tendencias y lo que más rompe MSN Vídeo
> <http://video.msn.com/video.aspx?mkt=es-es>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users

Mit freundlichen Grüßen

Astrid Emde


  Astrid Emde
  WhereGroup GmbH & Co.KG
  Siemensstraße 8
  D-53121 Bonn

  Fon: +49(0)228 90 90 38 - 19
  Fax: +49(0)228 90 90 38 - 11

  astrid.emde at wheregroup.com


More information about the Mapbender_users mailing list