[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] wms BoundingBox question
|
Hello.
I ended up specifying a special BoundingBox for EPSG:3301 in my
GetCapabilities
<BoundingBox SRS="EPSG:3301" maxx="800000.0" maxy="6700000.0"
minx="300000.0" miny="6300000.0"/>
I did not report the issue and have not sent in any code that tries to
fix the issue.
Regards,
- Tore.
On Jan 21, 2009, at 1:58 AM, Jody Garnett wrote:
Now that we use the real epsg database on trunk we should be able to
figure out a better "default" area. I went through the
BasicWMSRenderer2 code on trunk and the code you mentioned here is
commented out. Did you have a bug report for this problem; or am I
looking at your fix here on trunk.
Jody
On Tue, Dec 9, 2008 at 11:59 PM, Tore Halset <halset@xxxxxxxxxxx>
wrote:
Hello.
In BasicWMSRenderer2.getLayersBoundingBox(), layer.getEnvelope(crs)
returns a GeneralEnvelope with [-180.0, -90.0, 180.0, 90.0] as
ordinates and EPSG:3301 as the crs. [-180.0, -90.0, 180.0, 90.0] is
from the LatLonBoundingBox and should not be used with a non-deegree
crs like EPSG:3301.
Doing the same thing with one of the CRSs that works (like ED50 UTM
34n) show that layer.getEnvelope(crs) returns a GeneralEnvelope with
ordinates converted to the units of the CRS.
Could it be that the coordinates of the LatLonBoundingBox can not be
converted to the Lambert Conformal Conic projected coordinate system
in EPSG:3301?
- Tore.
On 9. des.. 2008, at 09.35, Tore Halset wrote:
Hello.
I am working on a OpenMap based WMS server with uDig as the client.
Over a period of time, I have added some new SRSs to the
Capabilities for UTMs in different datums and so on. It has worked
very well.
This time, I added EPSG:3301. The strange thing is that uDig display
the orange warning sign when I switch to EPSG:3301 in uDig and the
error message is something like "could not render". The even
stranger thing is that uDig never tried to issue a GetMap to the
server.
The solution was to add a BoundingBox to the Capabilities like
"<BoundingBox SRS="EPSG:3301" maxx="800000" maxy="6.7e+06"
minx="300000" miny="6.3e+06"/>"
Why did uDig need that? I have not added such BoundingBoxs for any
other SRS that I have added. I have not found a reference in the wms
standard requiring this BoundingBox. What SRSs need such a
BoundingBox?
Regards,
- Tore.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel