[OpenLayers-Users] "Bad Request" messages

Martin, Will will.martin at library.und.edu
Wed Sep 12 14:41:37 PDT 2012


Thanks for taking the time to answer my message!

I can run a GetCapabilities on the server here:

http://opencache.statkart.no/gatekeeper/gk/gk.open?&SERVICE=WMS&REQUEST=GetCapabilities

It looks like the relevant bit is this:

    <Layer>
      <Name>topo2</Name>
      <Title>topo2</Title>
      <SRS>EPSG:4326</SRS>
      <SRS>EPSG:3035</SRS>
      <SRS>EPSG:900913</SRS>
      <SRS>EPSG:32635</SRS>
      <SRS>EPSG:32633</SRS>
      <SRS>EPSG:32632</SRS>
      <LatLonBoundingBox minx="-180.0" miny="-422.0" maxx="332.0" maxy="90.0"/>
      <BoundingBox SRS="EPSG:4326" minx="-180.0" miny="-422.0" maxx="332.0" maxy="90.0"/>
      <BoundingBox SRS="EPSG:3035" minx="2426378.0132" miny="-2288679.69439904" maxx="6293974.62149952" maxy="5446513.5222"/>
      <BoundingBox SRS="EPSG:900913" minx="-2.003750834E7" miny="-2.0037508345578495E7" maxx="2.0037508345578495E7" maxy="2.003750834E7"/>
      <BoundingBox SRS="EPSG:32635" minx="-3500000.0" miny="3500000.0" maxx="2045984.0" maxy="9045984.0"/>
      <BoundingBox SRS="EPSG:32633" minx="-2500000.0" miny="3500000.0" maxx="3045984.0" maxy="9045984.0"/>
      <BoundingBox SRS="EPSG:32632" minx="-2000000.0" miny="3500000.0" maxx="3545984.0" maxy="9045984.0"/>
    </Layer>

I'm not entirely sure which of these values need to be plugged into the resolutions property in order to make it work right.  Is it the ones in the LatLonBoundingBox, or in the BoundingBox for the EPSG:4326 projection?  Do I also need to specify a maxExtent?

I wish I knew why this happened all of a sudden.  It worked fine for years, and then just stopped.  Sigh.

Thanks again!

Will Martin

Web Services Librarian
Chester Fritz Library
University of North Dakota


P.S.  "Martin" is my family name -- I go by "Will".


More information about the Users mailing list