So is your problem fixed now?

Thomas Rokkjær wrote:
> Thanks Cameron.
>  
> It was a simple as the WMS URL.
> The reason was that the GetCapabilities was located at one URL but the 
> layers I needed was at another. I had to use the URL, which was 
> specified in at the layer tag in the GetCapabilities instead. Besides 
> this, I needed to add the parameter "servicename=wms" in the URL.
>  
> If someone want to give it a try (layer extent close to Copenhagen, 
> Denmark):
>   <LayerList>
>     <Layer hidden="0" queryable="0">
>       <Server service="OGC:WMS" title="WMS information for Brondby 
> Kommune" version="1.1.1">
>         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"; 
> method="GET" xlink:href=" 
> http://sandkasse.brondby.dk/wms?servicename=wms"; xlink:type="simple"/>
>       </Server>
>       <Name>theme-matrikel-skel</Name>
>       <Title>matrikelskel</Title>
>       <SRS>EPSG:25832</SRS>
>       <FormatList>
>         <Format current="1">image/png</Format>
>       </FormatList>
>     </Layer>
>  
> Best regards
> Thomas Rokkjaer
> NIRAS Informatik
>  
> On 6/17/07, *Cameron Shorter* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Some debugging tips:
>     1. Check to see if you have any Javascript errors. (Sometimes of cause
>     of layers not loading)
>     2. Look at the generated HTML, and find the WMS URL you are trying to
>     load. See if you can load the URL by itself outside of Mapbuilder.
>     This
>     should help you determine if the problem is with the WMS server or
>     your
>     Mapbuilder client.
>
>     See also http://communitymapbuilder.org/display/MAP/Debugging
>
>     Thomas Rokkjær wrote:
>     > Hi
>     >
>     > Now I got a problem getting a layer presented in my MapPane in my
>     > MapBuilder solution.
>     > The layer is for instance the *theme-teknisk-grundkort *from the WMS
>     > at
>     >
>     
> http://webkort.brondby.dk/wms?service=wms&servicename=wms&version=1.1.1&request=GetCapabilities
>     
> <http://webkort.brondby.dk/wms?service=wms&servicename=wms&version=1.1.1&request=GetCapabilities>
>     > <
>     
> http://webkort.brondby.dk/wms?service=wms&servicename=wms&version=1.1.1&request=GetCapabilities
>     
> <http://webkort.brondby.dk/wms?service=wms&servicename=wms&version=1.1.1&request=GetCapabilities>>.
>     >
>     > The context map file looks like this:
>     > <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
>     > <ViewContext version="1.0.0" id="atlas_world" xmlns="
>     > http://www.opengis.net/context";
>     > xmlns:xlink=" http://www.w3.org/1999/xlink";
>     > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
>     > < http://www.w3.org/2001/XMLSchema-instance>"
>     > xsi:schemaLocation="http://www.opengis.net/context
>     > http://schemas.opengeospatial.net/context/1.0.0/context.xsd
>     > <http://schemas.opengeospatial.net/context/1.0.0/context.xsd>">
>     >   <General>
>     >     <Window width="600" height="400"/>
>     >     <BoundingBox SRS="EPSG:25832" minx="710084.36" miny="6168442.59"
>     > maxx=" 719205.09 " maxy="6175139.87"/>
>     >     <!--BoundingBox SRS="EPSG:4326" minx="12.35" miny="55.61"
>     > maxx="12.46" maxy="55.67"/-->
>     >     <Title xml:lang="en">World Base Map</Title>
>     >     <Title xml:lang="fr">Carte mondiale de base</Title>
>     >     <KeywordList>
>     >       <Keyword>world</Keyword>
>     >       <Keyword>atlas</Keyword>
>     >     </KeywordList>
>     >     <Abstract xml:lang="en">Atlas of Canada, World Base Map. Small
>     > scale vector based map served by Mapserver WMS.</Abstract>
>     >     <Abstract xml:lang="fr">L`atlas du Canada, Carte mondiale de
>     base.
>     > Une carte de petite échelle servis par Mapserver WMS.</Abstract>
>     >     <LogoURL width="34" height="35" format="image/jpg">
>     >       <OnlineResource xlink:type="simple" xlink:href="
>     > http://atlas.gc.ca/site/english/atlas_identifier.jpg"/
>     > <http://atlas.gc.ca/site/english/atlas_identifier.jpg%22/
>     <http://atlas.gc.ca/site/english/atlas_identifier.jpg%22/>>>
>     >     </LogoURL>
>     >     <DescriptionURL format="text/html">
>     >       <OnlineResource xlink:type="simple" xlink:href="
>     > http://atlas.gc.ca/"/ <http://atlas.gc.ca/%22/>>
>     >     </DescriptionURL>
>     >     <ContactInformation>
>     >       <ContactPersonPrimary>
>     >         <ContactPerson>Michael Adair</ContactPerson>
>     >         <ContactOrganization>Canada Centre for Remote
>     > Sensing</ContactOrganization>
>     >       </ContactPersonPrimary>
>     >       <ContactPosition>Systems Scientist</ContactPosition>
>     >       <ContactAddress>
>     >         <AddressType>postal</AddressType>
>     >         <Address>615 Booth Street, room 650</Address>
>     >         <City>Ottawa</City>
>     >         <StateOrProvince>Ontario</StateOrProvince>
>     >         <PostCode>K1A 0E9</PostCode>
>     >         <Country>Canada</Country>
>     >       </ContactAddress>
>     >       <ContactVoiceTelephone>+1 613 947 1342</ContactVoiceTelephone>
>     >       <ContactFacsimileTelephone>+1 613 947
>     > 2410</ContactFacsimileTelephone>
>     >       <ContactElectronicMailAddress>[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>     > <mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]> ></ContactElectronicMailAddress>
>     >     </ContactInformation>
>     >   </General>
>     >   <LayerList>
>     >     <Layer hidden="0" queryable="0">
>     >       <Server service="OGC:WMS" title="My GeoServer WMS"
>     version=" 1.1.1">
>     >         <OnlineResource method="GET"
>     > xlink:href="http://infudv1:8080/geoserver/wms?SERVICE=WMS";
>     > xlink:type="simple"/>
>     >       </Server>
>     >       <Name>brnby:DasLedning</Name>
>     >       <Title>dasledning</Title>
>     >       <SRS>EPSG:25832</SRS>
>     >       <FormatList>
>     >         <Format current="1">image/gif</Format>
>     >       </FormatList>
>     >     </Layer>
>     >     <Layer hidden="1" queryable="1">
>     >       <Server service="OGC:WMS" title="My GeoServer WMS"
>     version=" 1.1.1">
>     >         <OnlineResource method="GET"
>     > xlink:href="http://infudv1:8080/geoserver/wms?SERVICE=WMS";
>     > xlink:type="simple"/>
>     >       </Server>
>     >       <Name>brnby:DasKnude</Name>
>     >       <Title>dasknude</Title>
>     >       <SRS>EPSG:25832</SRS>
>     >       <FormatList>
>     >         <Format current="1">image/gif</Format>
>     >       </FormatList>
>     >     </Layer>
>     >     <Layer hidden="0" queryable="0">
>     >       <Server service="OGC:WMS" title="WMS information for Brondby
>     > Kommune" version=" 1.1.1">
>     >         <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink";
>     > method="GET" xlink:href=" http://webkort.brondby.dk/wms?service=WMS";
>     > xlink:type="simple"/>
>     >       </Server>
>     >       <Name>theme-teknisk-grundkort</Name>
>     >       <Title>theme-teknisk-grundkort</Title>
>     >       <SRS>EPSG:25832</SRS>
>     >       <FormatList>
>     >         <Format current="1">image/gif</Format>
>     >       </FormatList>
>     >     </Layer>
>     >   </LayerList>
>     > </ViewContext>
>     >
>     >
>     > Best regards
>     > Thomas Rokkjaer
>     > NIRAS Informatik
>     >
>     ------------------------------------------------------------------------
>
>     >
>     >
>     -------------------------------------------------------------------------
>     > This SF.net email is sponsored by DB2 Express
>     > Download DB2 Express C - the FREE version of DB2 express and take
>     > control of your XML. No limits. Just data. Click to get it now.
>     > http://sourceforge.net/powerbar/db2/
>     >
>     ------------------------------------------------------------------------
>
>     >
>     > _______________________________________________
>     > Mapbuilder-users mailing list
>     > [email protected]
>     <mailto:[email protected]>
>     > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>     >
>
>
>     --
>     Cameron Shorter
>     Systems Architect, http://lisasoft.com.au
>     Tel: +61 (0)2 8570 5050
>     Mob: +61 (0)419 142 254
>
>
>
>
> -- 
> Med venlig hilsen
>
> Thomas Rokkjær
> Mobil 3095 0774
>
> http://picasaweb.google.com/thomas.rokkjaer 
> <http://picasaweb.google.com/thomas.rokkjaer> 


-- 
Cameron Shorter
Systems Architect, http://lisasoft.com.au
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to