Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-330) WMS zoom to layer (and layer initial extent) not working

WMS zoom to layer (and layer initial extent) not working
--------------------------------------------------------

         Key: UDIG-330
         URL: http://jira.codehaus.org/browse/UDIG-330
     Project: uDIG
        Type: Bug
  Components: wms  
    Versions: UDIG 0.9    
 Environment: All
    Reporter: Paul Ramsey
 Assigned to: Richard Gould 
    Priority: Minor
     Fix For: UDIG 1.0


Drag'n'drop a WMS capabilities URL into a blank edit area (IE, first layer into a map).
This one, for example: http://orthos.refractions.net:4002/cgi-bin/mapserv?map=/opt/orthophotos/dra2_support.map&request=getcapabilities
A wizard to select a layer pops up. Select "orthophotos" and finish.
A new map is created, and the layer is added.
The layer is barely visible at the top of the map, instead of very visible, zoomed to the layer extent.
Right click on the layer and select "zoom to layer". (This is still "ZoomToLayer" as of this writing, BTW (note, no spaces in label)). The extent remains the same.
Opening the capabilities of this service directly, one find that the layer extent is explicitly available:
<LatLonBoundingBox minx="-133.816" miny="47.7824" maxx="-111.912" maxy="60.0369"/>
<BoundingBox SRS="EPSG:42102" minx="561355" miny="367704" maxx="1.79796e+06" maxy="1.67264e+06"/>
Something is happening betwixt and between.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



Back to the top