[Mapbender-users] Re: Mapbender 2.7.1 and GeoServer 2.0.3 - Connection Problem

Armin Retterath armin.retterath at lvermgeo.rlp.de
Tue Apr 26 03:41:09 EDT 2011


hello sebastian,

does the standard guis (gui/gui1) work as expected - do you see a map? do you 
copy a standard gui for your gui? - please use 'gui' first cause 'gui1' has a 
change epsg module which does not include your crs. do you have more than one 
wms loaded into the gui? 
i think you copied another gui than 'gui'.
please test it with gui and change the epsg in admin1->EDIT GUI-WMS to 4326 
(select box) than try again.

together:
1. check if gui works normal
2. copy gui to mygui
3. admin1->LOAD myWMS - load your service to mygui
4. set default crs in admin1->EDIT GUI-WMS for your service
5. post results to mailing list

regards 

armin

Am Dienstag 26 April 2011, um 09:26:16 schrieb sebweller:
> Hi Michele,
> i have made a mistake with the coordinate system. I used EPSG:4281
> (Palestine 1923) instead of the Jordan Transverse Mercator (EPSG 3066). I
> corrected it within GeoServer and the Layerpreview still works fine.
> 
> Then i reloeded the WMS Capabilities into Mapbender (to gui1) and it does
> not work. I took a look into the Metadata of the wms. there is a map
> prewiv, which does not work,too. Under this Preview i ca select between
> different projections. Either 3066 nor 4281 are listed there... Is this a
> Problem within Mapbender or the Mapfile?
> 
> Mapfile:
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> &lt;!DOCTYPE WMT_MS_Capabilities SYSTEM
> &quot;http://nwmp-geoserver:8080/geoserver/schemas/wms/1.1.1/WMS_MS_Capabil
> ities.dtd&quot;&gt; <WMT_MS_Capabilities version="1.1.1"
> updateSequence="175">
>   <Service>
>     <Name>OGC:WMS</Name>
>     <Title>NWMP-GeoServer Web Map Service</Title>
>     <Abstract>Map Server of the Ministry of Water and Irrigation
> Jordan</Abstract>
>     <KeywordList>
>       <Keyword>WFS</Keyword>
>       <Keyword>WMS</Keyword>
>       <Keyword>GEOSERVER</Keyword>
>     </KeywordList>
>     <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple" xlink:href="http://nwmp-geoserver:8080/geoserver/wms"/>
>     <ContactInformation>
>       <ContactPersonPrimary>
>         <ContactPerson>Sebastian Weller</ContactPerson>
>         <ContactOrganization>GIZ-Jordan</ContactOrganization>
>       </ContactPersonPrimary>
>       <ContactPosition/>
>       <ContactAddress>
>         <AddressType/>
>         <Address/>
>         <City/>
>         <StateOrProvince/>
>         <PostCode/>
>         <Country/>
>       </ContactAddress>
>       <ContactVoiceTelephone/>
>       <ContactFacsimileTelephone/>
> 
> <ContactElectronicMailAddress>sebweller at web.de</ContactElectronicMailAddres
> s> </ContactInformation>
>     <Fees>NONE</Fees>
>     <AccessConstraints>NONE</AccessConstraints>
>   </Service>
>   <Capability>
>     <Request>
>       <GetCapabilities>
>         <Format>application/vnd.ogc.wms_xml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Get>
>             <Post>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Post>
>           </HTTP>
>         </DCPType>
>       </GetCapabilities>
>       <GetMap>
>         <Format>image/png</Format>
>         <Format>application/atom xml</Format>
>         <Format>application/atom+xml</Format>
>         <Format>application/openlayers</Format>
>         <Format>application/pdf</Format>
>         <Format>application/rss xml</Format>
>         <Format>application/rss+xml</Format>
>         <Format>application/vnd.google-earth.kml</Format>
>         <Format>application/vnd.google-earth.kml xml</Format>
>         <Format>application/vnd.google-earth.kml+xml</Format>
>         <Format>application/vnd.google-earth.kmz</Format>
>         <Format>application/vnd.google-earth.kmz xml</Format>
>         <Format>application/vnd.google-earth.kmz+xml</Format>
>         <Format>atom</Format>
>         <Format>image/geotiff</Format>
>         <Format>image/geotiff8</Format>
>         <Format>image/gif</Format>
>         <Format>image/jpeg</Format>
>         <Format>image/png8</Format>
>         <Format>image/svg</Format>
>         <Format>image/svg xml</Format>
>         <Format>image/svg+xml</Format>
>         <Format>image/tiff</Format>
>         <Format>image/tiff8</Format>
>         <Format>kml</Format>
>         <Format>kmz</Format>
>         <Format>openlayers</Format>
>         <Format>rss</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </GetMap>
>       <GetFeatureInfo>
>         <Format>text/plain</Format>
>         <Format>text/html</Format>
>         <Format>application/vnd.ogc.gml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Get>
>             <Post>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Post>
>           </HTTP>
>         </DCPType>
>       </GetFeatureInfo>
>       <DescribeLayer>
>         <Format>application/vnd.ogc.wms_xml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </DescribeLayer>
>       <GetLegendGraphic>
>         <Format>image/png</Format>
>         <Format>image/jpeg</Format>
>         <Format>image/gif</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </GetLegendGraphic>
>       <GetStyles>
>         <Format>application/vnd.ogc.sld+xml</Format>
>         <DCPType>
>           <HTTP>
>             <Get>
>               <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:type="simple"
> xlink:href="http://nwmp-geoserver:8080/geoserver/wms?SERVICE=WMS&amp;"/>
>             </Get>
>           </HTTP>
>         </DCPType>
>       </GetStyles>
>     </Request>
>     <Exception>
>       <Format>application/vnd.ogc.se_xml</Format>
>       <Format>application/vnd.ogc.se_inimage</Format>
>     </Exception>
>     <UserDefinedSymbolization SupportSLD="1" UserLayer="1" UserStyle="1"
> RemoteWFS="1"/>
>     <Layer>
>       <Title>NWMP-GeoServer Web Map Service</Title>
>       <Abstract>Map Server of the Ministry of Water and Irrigation
> Jordan</Abstract>
> 
>       <SRS>AUTO:42001</SRS>
>       <SRS>AUTO:42002</SRS>
>       <SRS>AUTO:42003</SRS>
>       <SRS>AUTO:42004</SRS>
>       <SRS>EPSG:WGS84(DD)</SRS>
>       <SRS>EPSG:2000</SRS>
>       <SRS>EPSG:2001</SRS>
>     ... i cut it her, because there are all epsg listed in here
> 
>       <SRS>EPSG:68206405</SRS>
>       <SRS>EPSG:69036405</SRS>
>       <SRS>EPSG:42302</SRS>
>       <SRS>EPSG:42301</SRS>
>       <SRS>EPSG:900913</SRS>
>       <SRS>EPSG:45556</SRS>
>       <SRS>EPSG:45555</SRS>
>       <SRS>EPSG:54004</SRS>
>       <SRS>EPSG:41001</SRS>
>       <SRS>EPSG:42311</SRS>
>       <SRS>EPSG:42310</SRS>
>       <SRS>EPSG:18001</SRS>
>       <SRS>EPSG:100003</SRS>
>       <SRS>EPSG:42106</SRS>
>       <SRS>EPSG:100002</SRS>
>       <SRS>EPSG:42105</SRS>
>       <SRS>EPSG:100001</SRS>
>       <SRS>EPSG:42309</SRS>
>       <SRS>EPSG:42104</SRS>
>       <SRS>EPSG:42308</SRS>
>       <SRS>EPSG:42103</SRS>
>       <SRS>EPSG:42307</SRS>
>       <SRS>EPSG:42102</SRS>
>       <SRS>EPSG:42306</SRS>
>       <SRS>EPSG:42101</SRS>
>       <SRS>EPSG:42305</SRS>
>       <SRS>EPSG:42304</SRS>
>       <SRS>EPSG:42303</SRS>
>       <LatLonBoundingBox minx="33.917" miny="36.065" maxx="35.901"
> maxy="38.18"/>
>       <Layer queryable="1">
>         <Name>MWI:Azraq_GW_Basin</Name>
>         <Title>Azraq_GW_Basin</Title>
>         <Abstract/>
>         <KeywordList/>
>         <SRS>EPSG:3066</SRS>
> 
>         <LatLonBoundingBox minx="33.919" miny="36.065" maxx="35.882"
> maxy="38.118"/>
>         <BoundingBox SRS="EPSG:3066" minx="229759.986" miny="996244.164"
> maxx="399307.515" maxy="1220566.368"/>
> 
> 
>       </Layer>
>       <Layer queryable="1">
>         <Name>MWI:Azraq_GW_Basin_with_part_inside_syria</Name>
>         <Title>Azraq_GW_Basin_with_part_inside_syria</Title>
>         <Abstract/>
>         <KeywordList/>
>         <SRS>EPSG:3066</SRS>
> 
>         <LatLonBoundingBox minx="33.917" miny="36.065" maxx="35.881"
> maxy="38.18"/>
>         <BoundingBox SRS="EPSG:3066" minx="229758.63" miny="996245.212"
> maxx="399256.321" maxy="1227386.224"/>
> 
> 
>       </Layer>
>       <Layer queryable="1">
>         <Name>MWI:Azraq_Surface_water_Basin</Name>
>         <Title>Azraq_Surface_water_Basin</Title>
>         <Abstract/>
>         <KeywordList/>
>         <SRS>EPSG:3066</SRS>
> 
>         <LatLonBoundingBox minx="34.175" miny="36.614" maxx="35.901"
> maxy="38.087"/>
>         <BoundingBox SRS="EPSG:3066" minx="252119.403" miny="1056562.373"
> maxx="401725.751" maxy="1217043.805"/>
> 
> 
>       </Layer>
>       <Layer queryable="0">
>         <Name>testfiles</Name>
>         <Title>testfiles</Title>
>         <Abstract>Layer-Group type layer: testfiles</Abstract>
>         <SRS>EPSG:3066</SRS>
>         <LatLonBoundingBox minx="33.829994891755064"
> miny="36.030584591962146" maxx="35.91173106706805"
> maxy="38.21517229456924"/>
>         <BoundingBox SRS="EPSG:3066" minx="222279.693" miny="992698.05"
> maxx="401990.004" maxy="1231292.339"/>
>       </Layer>
>     </Layer>
>   </Capability>
> </WMT_MS_Capabilities>
> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Mapbender-2-7-1-and-GeoServer-2-0-3
> -Connection-Problem-tp6293465p6304870.html Sent from the mapbender-users
> mailing list archive at Nabble.com.
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 
Im Auftrag
--
Armin Retterath

Zentrale Stelle Geodateninfrastruktur
LVermGeo RP

Ferdinand-Sauerbruch-Straße 15
56073 Koblenz
Telefon 0261/492-466
Telefax 0261/492-492
armin.retterath at lvermgeo.rlp.de
http://www.geoportal.rlp.de


More information about the Mapbender_users mailing list