<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Thank you soooo much!!!! It works... :-)<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Tue, 17 Jun 2008 14:15:35 +0200<BR>> Subject: RE: [Mapbender-users] Problems with EPSG<BR>> From: astrid.emde@wheregroup.com<BR>> To: mapbender_users@lists.osgeo.org<BR>> <BR>> Hi Sandra,<BR>> <BR>> just some more information to get your WMS runnig:<BR>> <BR>> Go to admin2_en - WMS GUI settings. Klick on your WMS and have a look at<BR>> the layers. The Layer with Nr. 0 i your root layer. Find out the layer_id.<BR>> <BR>> Run the following SQL (replace the <layer_id>):<BR>> INSERT INTO layer_epsg (fkey_layer_id, epsg, minx, miny, maxx, maxy)<BR>> VALUES (<layer_id>, 'EPSG:32761',<BR>> -2644018.138249832,1809033.7193695423,-2609670.4495129166,1855366.7973831547);<BR>> <BR>> Go again to admin2_en - WMS GUI settings and coose the WMS. You should<BR>> now have the possibility to choose the new EPSG.<BR>> <BR>> Best regards astrid<BR>> <BR>> On Tue, June 17, 2008 12:57 pm, Sandra Mink wrote:<BR>> > 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.Now<BR>> > I can select 32761 in the GUI but it doesn't work because I get the<BR>> > following error message:<BR>> ><BR>> > "Failed to load WMS .. from server ... Do you want to try it in a new<BR>> > window?"<BR>> > To avoid more problems right now I have only one WMS loaded, mine from<BR>> > geoserver. It's true that in the WMS to GUI settings menu it is set to<BR>> > 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<BR>> > only with EPSG 4326. I think it is not really a layer in geoserver, but<BR>> > the Title I gave to the WMS configuration. That's what I see:<BR>> ><BR>> > ....<BR>> > id: 0 parent: name: Elefante WMS title: Elefante WMS queryable: 0<BR>> > minScale: 0 maxScale: 0dataurl: metadataurl:<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > EPSG:4326<BR>> > -178.20351006019976<BR>> > -50.07764976069634<BR>> > -177.64443958125736<BR>> > -49.81625887166632<BR>> > layerstyle:<BR>> ><BR>> ><BR>> ><BR>> ><BR>> > name<BR>> > title<BR>> > legendurl<BR>> > legendurlformat<BR>> > id: 1 parent: 0 name: ele:Linea de costa title: coast_Type queryable: 1<BR>> > minScale: 0 maxScale: 0dataurl: metadataurl:<BR>> ><BR>> ><BR>> ><BR>> > EPSG:4326<BR>> > -178.20351006019976<BR>> > -50.07764976069634<BR>> > -177.64443958125736<BR>> > -49.81625887166632<BR>> ><BR>> > EPSG:32761<BR>> > -2644018.138249832<BR>> > 1809033.7193695423<BR>> > -2609670.4495129166<BR>> > 1855366.7973831547<BR>> > ...<BR>> ><BR>> > I have added a row to the table with the BoundingBox limits as you told<BR>> > me. But now my question is (perhaps a very simple one) how do I update<BR>> > this values in mapbender? I have tried it with the update WMS but I don't<BR>> > 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>> ><BR>> ><BR>> >> Date: Tue, 17 Jun 2008 11:23:26 +0200> Subject: RE: [Mapbender-users]<BR>> >> Problems with EPSG> From: astrid.emde@wheregroup.com> To:<BR>> >> mapbender_users@lists.osgeo.org> > Hello Sandra,> > the problem is that<BR>> >> GeoServer does not serve the BoundingBox-Tag in the> XML. GeoServer only<BR>> >> offers the LatLonBoundingBox in 4326.> > Here is an examle with UMN<BR>> >> MapServer:> -----------> <Layer queryable="0" opaque="0" noSubsets="0">><BR>> >> <Name>myRootLayer</Name>> <Title>myRootLayer</Title>><BR>> >> <SRS>epsg:31466</SRS>> <SRS>epsg:31467</SRS>> <SRS>epsg:4326</SRS>><BR>> >> <LatLonBoundingBox minx="6.93635" miny="50.8018" maxx="7.01256"><BR>> >> maxy="50.8501" />> <BoundingBox SRS="EPSG:31466" minx="2.566e+006"<BR>> >> miny="5.62995e+006"> maxx="2.5713e+006" maxy="5.63525e+006" />> ....><BR>> >> ------> > Mapbender can only start with the EPSG-Code, where Mapbender<BR>> >> has a> corresponding BBOX.> > If you want to add a BoundingBox and an<BR>> >> EPSG to start your gui with this> EPSG, you have to add a new row in the<BR>> >> Mapbender table layer_epsg.> > Find out the layer_id of you root layer<BR>> >> and add a new row for the> EPSG-Code you are interested in.> > After<BR>> >> that you should have the possiblity to choose this new EPSG from the><BR>> >> dropdown list in the WMS GUI Settings.> > Greetings from Bonn> > astrid><BR>> >> > On Mon, June 16, 2008 6:17 pm, Len Kne wrote:> > Sandra> >> > I'm not<BR>> >> 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<BR>> >> Mapbender you> > are using, you may have may have to add a line of code<BR>> >> to changeESPG.php> > to> > include your projection. The scale bar also<BR>> >> does not work properly in> > lat/lon (4326), but should be ok once you<BR>> >> get to your projection.> >> > In the Admin module, look at "WMS GUI<BR>> >> settings". The top WMS of an> > application/gui sets the default<BR>> >> projection. I'm guessing your first WMS> > is> > set to 4326. You might<BR>> >> have to move your WMS from geoserver to the top> > position, thus<BR>> >> allowing you to select 32761 projection.> >> > Len> >> >> > _____> >> ><BR>> >> From: mapbender_users-bounces@lists.osgeo.org> ><BR>> >> [mailto:mapbender_users-bounces@lists.osgeo.org] On Behalf Of Sandra<BR>> >> Mink> > Sent: Monday, June 16, 2008 10:58 AM> > To:<BR>> >> mapbender_users@lists.osgeo.org> > Subject: [Mapbender-users] Problems<BR>> >> with EPSG> >> >> > Hi list,> >> > I'm using geoserver 1.6.4 and<BR>> >> mapbender with a Postgis database to put my> > maps on the web as a part<BR>> >> of a project. I'm really a newbie to all this.> > After having a lot of<BR>> >> trouble I finally made it and I got to see my> > layers,> > but ... they<BR>> >> appear to be a mirror image and distorted. I realized they> > are> ><BR>> >> projected in EPSG 4326, although I defined EPSG 32761 in geoserver,<BR>> >> where> > 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<BR>> >> don't> > know how to add other EPSG in the dropdown list in the WMS GUI<BR>> >> Settings> > Menu. I've tried to make some edits but haven't had luck!><BR>> >> >> > I need to use EPSG: 32761: Universal Polar Stereographic because<BR>> >> I'm> > working> > on a area near Antarctica.> >> > I've seen on the<BR>> >> posts that somebody else had similar problems. I would> > appreaciate<BR>> >> every kind of help! Is there a way to solve this?> >> > Many thanks!> >><BR>> >> > Sandra> >> >> > _____> >> > Sigue de cerca las últimas tendencias y lo<BR>> >> que más rompe MSN Vídeo> > <http://video.msn.com/video.aspx?mkt=es-es>><BR>> >> >> > _______________________________________________> > Mapbender_users<BR>> >> mailing list> > Mapbender_users@lists.osgeo.org> ><BR>> >> http://lists.osgeo.org/mailman/listinfo/mapbender_users> >> > > Mit<BR>> >> freundlichen Grüßen> > Astrid Emde> ><BR>> >> ----------------------------------> > Astrid Emde> WhereGroup GmbH &<BR>> >> Co.KG> Siemensstraße 8> D-53121 Bonn> > Fon: +49(0)228 90 90 38 - 19><BR>> >> Fax: +49(0)228 90 90 38 - 11> > astrid.emde@wheregroup.com><BR>> >> www.wheregroup.com> > ----------------------------------> ><BR>> >> _______________________________________________> Mapbender_users mailing<BR>> >> list> Mapbender_users@lists.osgeo.org><BR>> >> http://lists.osgeo.org/mailman/listinfo/mapbender_users<BR>> > _________________________________________________________________<BR>> > MSN Video.<BR>> > http://video.msn.com/?mkt=es-es<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><br /><hr />Sigue los principales acontecimientos deportivos en directo. <a href='http://video.msn.com/video.aspx?mkt=es-es' target='_new'>MSN Motor</a></body>
</html>