[Geoserver-users] 1.6 beta3 and SRS problem

Hi Justin,

when I open up the SRS list it's quite long, and both EPSG:4326 and
EPSG:28992 are in there.

Using the Generate button in the admin tool the WKT is found (but the Lookup
SRS button fails), so I am quite sure this is a different problem or not?

Best regards,
Bart

Hi Bart,

This is actually an issue we have found that we have been having as
well. Can you check one thing. From the welcome page, open up the srs
list. Is 4326 in the list. If the list is short then you are having the
problem I am thinking of. An easy way to check is if 4326 is in the list.

So if this is indeed the problem here is what you can do:

1. Delete the "Geotools" directory under the Temp directory for your O/S.
2. Restart GeoServer

This should cause the internal epsg database to be rebuilt. I am not
exactly sure why this is happening as i havent had time to look into it
but we encountered this issue a few times at our workshop this week at
foss4g. I believe its a problem for people upgrading from 1.5 to 1.6.

Let us know if that is the problem.

-Justin

Bart van den Eijnden (OSGIS) wrote:

Hi list,

I am trying to upgrade our WFS to 1.6 beta3, but when I try to define the
SRS of a FeatureType which connects to an Oracle (OCI) datastore, I get an
error.

I am trying to use EPSG:28992 (the Dutch national grid), so I fill in

28992

in the SRS input field and press lookup SRS, but the admin tool comes back
with UNKNOWN and "Could not find a definition for: EPSG:UNKNOWN".

The log file says:
26 Sep 14:39:59 WARN [data.oracle] - Could not map SRID 90112 to
CRS:org.opengis.referencing.NoSuchAuthorityCodeException: No code
"EPSG:90112" from authority "European Petroleum Survey Group" found for
object of type "CoordinateReferenceSystem".

Any ideas on how to tackle this?

Oracle version is 10gR2.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

Hi Bart,

Apologies, I misread your initial email. The "LookupSRS" button does not
take the value in the text field and look it up in the epsg database.
What it does do is try to infer the srs from your dataset, and in this
case it cannot.

So the workflow is to just enter in the value 28992 and click the
generate button. You should then see the WKT for the srs appear in the
SRS WKT field.

So even though LookupSRS cannot find the SRS it should still work fine.
Let me know if i am still missing something.

-Justin

Bart van den Eijnden (OSGIS) wrote:

Hi Justin,

when I open up the SRS list it's quite long, and both EPSG:4326 and
EPSG:28992 are in there.

Using the Generate button in the admin tool the WKT is found (but the Lookup
SRS button fails), so I am quite sure this is a different problem or not?

Best regards,
Bart

Hi Bart,

This is actually an issue we have found that we have been having as
well. Can you check one thing. From the welcome page, open up the srs
list. Is 4326 in the list. If the list is short then you are having the
problem I am thinking of. An easy way to check is if 4326 is in the list.

So if this is indeed the problem here is what you can do:

1. Delete the "Geotools" directory under the Temp directory for your O/S.
2. Restart GeoServer

This should cause the internal epsg database to be rebuilt. I am not
exactly sure why this is happening as i havent had time to look into it
but we encountered this issue a few times at our workshop this week at
foss4g. I believe its a problem for people upgrading from 1.5 to 1.6.

Let us know if that is the problem.

-Justin

Bart van den Eijnden (OSGIS) wrote:

Hi list,

I am trying to upgrade our WFS to 1.6 beta3, but when I try to define the
SRS of a FeatureType which connects to an Oracle (OCI) datastore, I get an
error.

I am trying to use EPSG:28992 (the Dutch national grid), so I fill in

28992

in the SRS input field and press lookup SRS, but the admin tool comes back
with UNKNOWN and "Could not find a definition for: EPSG:UNKNOWN".

The log file says:
26 Sep 14:39:59 WARN [data.oracle] - Could not map SRID 90112 to
CRS:org.opengis.referencing.NoSuchAuthorityCodeException: No code
"EPSG:90112" from authority "European Petroleum Survey Group" found for
object of type "CoordinateReferenceSystem".

Any ideas on how to tackle this?

Oracle version is 10gR2.

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,46fb5a6182471628642973!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org