[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Problems with SRS's
|
My initial guess is that EPSG:3035 is not supported by GeoTools. Would
you be able to create a JIRA task for uDig for this?
http://jira.codehaus.org
(Just copy this email into the bug description)
I might be able to have a closer look later this week.
Richard
Ari Jolma wrote:
Hi,
I just joined this list. This is a uDig-user/WMS-developer question.
I'm playing with a simple WMS server I'm setting up myself, so I'm
generating the GetCapabilities XML myself.
I don't seem to be able to tell to uDig that I have data only in
certain, non-WGS 84 projection -- i.e. uDig does not even make an
attempt to query, it just says "Layer not rendered". When I say that I
have it also in WGS 84 (adding <SRS>EPSG:4326</SRS>), I can see the data
but I'm not able to change the projection. When I attempt to do this,
using the button in the bottom of the window, I get an error:
!MESSAGE java.lang.StringIndexOutOfBoundsException: String index out of
range: -1
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at
org.geotools.referencing.crs.AUTOCRSAuthorityFactory$Code.<init>(AUTOCRSAuthorityFactory.java:299)
at
org.geotools.referencing.crs.AUTOCRSAuthorityFactory.createCoordinateReferenceSystem(AUTOCRSAuthorityFactory.java:144)
at
org.geotools.referencing.crs.AUTOCRSAuthorityFactory.createObject(AUTOCRSAuthorityFactory.java:149)
at
net.refractions.udig.project.internal.provider.CRSChooser.createCRS(CRSChooser.java:324)
...
I piece of my GetCapabilities looks like this:
<Layer>
<Title>Europe</Title>
<SRS>EPSG:3035</SRS>
<SRS>EPSG:4326</SRS>
<LatLonBoundingBox maxy="67.4196537517406" maxx="48.9252122255605"
miny="33.9062191836389" minx="-8.66900612135772"/>
<BoundingBox maxy="5384500" SRS="EPSG:3035" maxx="5900103.36066028"
miny="1417286.86159906" minx="2592000"/>
<Layer>
<Name>Physical (relief)</Name>
<Title>Physical (relief)</Title>
</Layer>
</Layer>
the whole document may be available at
http://clime.tkk.fi/wms.pl?SERVICE=WMS&REQUEST=GetCapabilities
I'm using uDig 1.05
Does anybody have any information, what's going on and what I'm doing wrong?
Thanks,
Ari