<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi, again!<BR>
<BR>
Many thanks Len and Astrid for your quick responses!<BR>
<BR>
Len, I have edited the changeEPSG and added a row with the 32761 EPSG.<BR>Now I can select 32761 in the GUI but it doesn't work because I get the following error message:<BR>
<BR>
"Failed to load WMS .. from server ... Do you want to try it in a new window?"<BR><BR>
To avoid more problems right now I have only one WMS loaded, mine from geoserver. It's true that in the WMS to GUI settings menu it is set to 4326, but I don't know how to change it...<BR>
<BR>
Astrid, I have looked at the layer_epsg and it seems that there is a layer only with EPSG 4326. I think it is not really a layer in geoserver, but the Title I gave to the WMS configuration. That's what I see:<BR>
<BR>
....<BR>
id: <B>0</B> parent: <B></B>name: <B>Elefante WMS</B> title: <B>Elefante WMS</B> queryable: <B>0</B> minScale: <B>0</B> maxScale: <B>0</B><BR>dataurl: <B></B><BR>metadataurl: <B></B><BR>
<TABLE border=1>
<TBODY>
<TR>
<TD>EPSG:4326</TD>
<TD>-178.20351006019976</TD>
<TD>-50.07764976069634</TD>
<TD>-177.64443958125736</TD>
<TD>-49.81625887166632</TD></TR></TBODY></TABLE><BR>
layerstyle: <BR>
<TABLE border=1>
<TBODY>
<TR>
<TD>name</TD>
<TD>title</TD>
<TD>legendurl</TD>
<TD>legendurlformat</TD></TR></TBODY></TABLE><BR>
id: <B>1</B> parent: <B>0</B> name: <B>ele:Linea de costa</B> title: <B>coast_Type</B> queryable: <B>1</B> minScale: <B>0</B> maxScale: <B>0</B><BR>dataurl: <B></B><BR>metadataurl: <B></B>
<TABLE border=1>
<TBODY>
<TR>
<TD>EPSG:4326</TD>
<TD>-178.20351006019976</TD>
<TD>-50.07764976069634</TD>
<TD>-177.64443958125736</TD>
<TD>-49.81625887166632</TD></TR>
<TR>
<TD>EPSG:32761</TD>
<TD>-2644018.138249832</TD>
<TD>1809033.7193695423</TD>
<TD>-2609670.4495129166</TD>
<TD>1855366.7973831547</TD></TR></TBODY></TABLE><BR>
...<BR>
<BR>
I have added a row to the table with the BoundingBox limits as you told me. But now my question is (perhaps a very simple one) how do I update this values in mapbender? I have tried it with the update WMS but I don't see any changes???<BR>
<BR>
I would be very, very thankful if you help me to solve this! <BR>
Vielen, vielen Dank!!<BR>
<BR>
Sandra<BR><BR><BR><BR><BR>
<HR id=stopSpelling>
> Date: Tue, 17 Jun 2008 11:23:26 +0200<BR>> Subject: RE: [Mapbender-users] Problems with EPSG<BR>> From: astrid.emde@wheregroup.com<BR>> To: mapbender_users@lists.osgeo.org<BR>> <BR>> Hello Sandra,<BR>> <BR>> the problem is that GeoServer does not serve the BoundingBox-Tag in the<BR>> XML. GeoServer only offers the LatLonBoundingBox in 4326.<BR>> <BR>> Here is an examle with UMN MapServer:<BR>> -----------<BR>> <Layer queryable="0" opaque="0" noSubsets="0"><BR>> <Name>myRootLayer</Name><BR>> <Title>myRootLayer</Title><BR>> <SRS>epsg:31466</SRS><BR>> <SRS>epsg:31467</SRS><BR>> <SRS>epsg:4326</SRS><BR>> <LatLonBoundingBox minx="6.93635" miny="50.8018" maxx="7.01256"<BR>> maxy="50.8501" /><BR>> <BoundingBox SRS="EPSG:31466" minx="2.566e+006" miny="5.62995e+006"<BR>> maxx="2.5713e+006" maxy="5.63525e+006" /><BR>> ....<BR>> ------<BR>> <BR>> Mapbender can only start with the EPSG-Code, where Mapbender has a<BR>> corresponding BBOX.<BR>> <BR>> If you want to add a BoundingBox and an EPSG to start your gui with this<BR>> EPSG, you have to add a new row in the Mapbender table layer_epsg.<BR>> <BR>> Find out the layer_id of you root layer and add a new row for the<BR>> EPSG-Code you are interested in.<BR>> <BR>> After that you should have the possiblity to choose this new EPSG from the<BR>> dropdown list in the WMS GUI Settings.<BR>> <BR>> Greetings from Bonn<BR>> <BR>> astrid<BR>> <BR>> On Mon, June 16, 2008 6:17 pm, Len Kne wrote:<BR>> > Sandra<BR>> ><BR>> > I'm not familiar with geoserver, but it sounds like geoserver is rendering<BR>> > the map properly and not the issue. Couple ideas in Mapbender. First, I<BR>> > would suggest turning off the change ESPG module while troubleshooting -<BR>> > once it works, bring it back. Depending on which version of Mapbender you<BR>> > are using, you may have may have to add a line of code to changeESPG.php<BR>> > to<BR>> > include your projection. The scale bar also does not work properly in<BR>> > lat/lon (4326), but should be ok once you get to your projection.<BR>> ><BR>> > In the Admin module, look at "WMS GUI settings". The top WMS of an<BR>> > application/gui sets the default projection. I'm guessing your first WMS<BR>> > is<BR>> > set to 4326. You might have to move your WMS from geoserver to the top<BR>> > position, thus allowing you to select 32761 projection.<BR>> ><BR>> > Len<BR>> ><BR>> ><BR>> > _____<BR>> ><BR>> > From: mapbender_users-bounces@lists.osgeo.org<BR>> > [mailto:mapbender_users-bounces@lists.osgeo.org] On Behalf Of Sandra Mink<BR>> > Sent: Monday, June 16, 2008 10:58 AM<BR>> > To: mapbender_users@lists.osgeo.org<BR>> > Subject: [Mapbender-users] Problems with EPSG<BR>> ><BR>> ><BR>> > Hi list,<BR>> ><BR>> > I'm using geoserver 1.6.4 and mapbender with a Postgis database to put my<BR>> > maps on the web as a part of a project. I'm really a newbie to all this.<BR>> > After having a lot of trouble I finally made it and I got to see my<BR>> > layers,<BR>> > but ... they appear to be a mirror image and distorted. I realized they<BR>> > are<BR>> > projected in EPSG 4326, although I defined EPSG 32761 in geoserver, where<BR>> > everything worked well. Also the scale doesn't seem to work.<BR>> > When I change EPSG in the Mapbender GUI it returns an error. And I don't<BR>> > know how to add other EPSG in the dropdown list in the WMS GUI Settings<BR>> > Menu. I've tried to make some edits but haven't had luck!<BR>> ><BR>> > I need to use EPSG: 32761: Universal Polar Stereographic because I'm<BR>> > working<BR>> > on a area near Antarctica.<BR>> ><BR>> > I've seen on the posts that somebody else had similar problems. I would<BR>> > appreaciate every kind of help! Is there a way to solve this?<BR>> ><BR>> > Many thanks!<BR>> ><BR>> > Sandra<BR>> ><BR>> ><BR>> > _____<BR>> ><BR>> > Sigue de cerca las últimas tendencias y lo que más rompe MSN Vídeo<BR>> > <http://video.msn.com/video.aspx?mkt=es-es><BR>> ><BR>> > _______________________________________________<BR>> > Mapbender_users mailing list<BR>> > Mapbender_users@lists.osgeo.org<BR>> > http://lists.osgeo.org/mailman/listinfo/mapbender_users<BR>> ><BR>> <BR>> <BR>> Mit freundlichen Grüßen<BR>> <BR>> Astrid Emde<BR>> <BR>> ----------------------------------<BR>> <BR>> Astrid Emde<BR>> WhereGroup GmbH & Co.KG<BR>> Siemensstraße 8<BR>> D-53121 Bonn<BR>> <BR>> Fon: +49(0)228 90 90 38 - 19<BR>> Fax: +49(0)228 90 90 38 - 11<BR>> <BR>> astrid.emde@wheregroup.com<BR>> www.wheregroup.com<BR>> <BR>> ----------------------------------<BR>> <BR>> _______________________________________________<BR>> Mapbender_users mailing list<BR>> Mapbender_users@lists.osgeo.org<BR>> http://lists.osgeo.org/mailman/listinfo/mapbender_users<BR><br /><hr />Tecnología, moda, motor, viajes,.suscríbete a nuestros boletines para estar siempre a la última <a href='http://newsletters.msn.com/hm/maintenanceeses.asp?L=ES&C=ES&P=WCMaintenance&Brand=WL&RU=http%3a%2f%2fmail.live.com' target='_new'>MSN Newsletters</a></body>
</html>