[Geoserver-devel] SRS problem

When i try to change the SRS of some Coverage i can't use anyother than 4326.
If i try any other i get the following error:

INFO: Unable to find crs, continuing with default WGS4 CRS
GEOGCS["WGS 84",
  DATUM["WGS_1984",
    SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
    AUTHORITY["EPSG","6326"]],
  PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
  UNIT["degree", 0.017453292519943295],
  AXIS["Lon", EAST],
  AXIS["Lat", NORTH],
  AUTHORITY["EPSG","4326"]]

I'm using 1.4.x WCS. Changing the Feature Type SRS works OK. And even if i
write in SRS 4326 i get the same error. help?

--
View this message in context: http://www.nabble.com/SRS-problem-tf2062764.html#a5682417
Sent from the GeoServer - Dev forum at Nabble.com.

has this got something to do with the error i get when tomcat starts
geoserver? (sorry for the long post)

  org.geotools.referencing.operation.DefaultCoordinateOperationFactory
  org.geotools.referencing.operation.AuthorityBackedFactory
547 [CONFIG] org.geotools.factory.FactoryRegistry - Factory implementations
for
category CoordinateOperationAuthorityFactory:
  org.geotools.referencing.factory.epsg.DefaultFactory
578 [CONFIG] org.geotools.factory.FactoryRegistry - Factory implementations
for
category DataSource:
  org.geotools.referencing.factory.epsg.HSQLDataSource
578 [CONFIG] org.geotools.factory.FactoryRegistry - Factory implementations
for
category CSFactory:
  org.geotools.referencing.factory.GeotoolsFactory
java.util.logging.ErrorManager: 5
java.lang.NullPointerException
        at java.io.Writer.write(Writer.java:126)
        at
org.vfny.geoserver.global.Log4JFormatter.format(Log4JFormatter.java:1
46)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:179)
        at
org.vfny.geoserver.global.Log4JFormatter$Stdout.publish(Log4JFormatte
r.java:344)
        at java.util.logging.Logger.log(Logger.java:428)
        at
org.geotools.referencing.factory.epsg.DefaultFactory.log(DefaultFacto
ry.java:339)
        at
org.geotools.referencing.factory.epsg.DefaultFactory.createFactory(De
faultFactory.java:327)
        at
org.geotools.referencing.factory.epsg.DefaultFactory.createBackingSto
re(DefaultFactory.java:357)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingS
tore(DeferredAuthorityFactory.java:139)
        at
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable
(BufferedAuthorityFactory.java:209)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable
(DeferredAuthorityFactory.java:127)
        at
org.geotools.factory.FactoryRegistry$DefaultFilter.filter(FactoryRegi
stry.java:78)
        at
javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:787)
        at
javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry
.java:491)
        at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegis
try.java:151)
        at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegis
try.java:113)
        at
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegist
ry.java:248)
        at
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegist
ry.java:227)
        at
org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator
.java:117)
        at
org.geotools.referencing.FactoryFinder.getCoordinateOperationAuthorit
yFactory(FactoryFinder.java:499)
        at
org.geotools.referencing.operation.AuthorityBackedFactory.getAuthorit
yFactory(AuthorityBackedFactory.java:144)
        at
org.geotools.referencing.operation.AuthorityBackedFactory.isAvailable
(AuthorityBackedFactory.java:418)
        at
org.geotools.factory.FactoryRegistry$DefaultFilter.filter(FactoryRegi
stry.java:78)
        at
javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:787)
        at
javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry
.java:491)
        at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegis
try.java:151)
        at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegis
try.java:113)
        at
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegist
ry.java:248)
        at
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegist
ry.java:227)
        at
org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator
.java:117)
        at
org.geotools.referencing.FactoryFinder.getCoordinateOperationFactory(
FactoryFinder.java:318)
        at org.geotools.referencing.CRS.transform(CRS.java:150)
        at org.geotools.referencing.CRS.transform(CRS.java:123)
        at
org.vfny.geoserver.util.CoverageStoreUtils.getWGS84LonLatEnvelope(Cov
erageStoreUtils.java:317)
        at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCoverageDTOFromXML(
XMLConfigReader.java:1665)
        at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCoverage(XMLConfigR
eader.java:1563)
        at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCoverages(XMLConfig
Reader.java:1514)
        at
org.vfny.geoserver.global.xml.XMLConfigReader.loadCatalog(XMLConfigRe
ader.java:335)
        at
org.vfny.geoserver.global.xml.XMLConfigReader.load(XMLConfigReader.ja
va:221)
        at
org.vfny.geoserver.global.xml.XMLConfigReader.<init>(XMLConfigReader.
java:169)
        at
org.vfny.geoserver.global.Config.setApplicationContext(Config.java:42
)
        at
org.springframework.context.support.ApplicationContextAwareProcessor.
postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:84)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanF
actory.java:248)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:362)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:226)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:147)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveReference(BeanDefinitionValueResolver.java:176)
        at
org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.resolveConstructorArguments(AbstractAutowireCapableBeanFactory.java:713)

        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:611)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:329)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:226)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:147)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:275)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:318)
        at
org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
        at
org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:230)
        at
org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:156)
        at
org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:48)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3729)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
187)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)

        at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698
)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:310)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)

        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)

        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709
)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
--
View this message in context: http://www.nabble.com/SRS-problem-tf2062764.html#a5684260
Sent from the GeoServer - Dev forum at Nabble.com.

Could you provide a bit more information?
As an sintance:
1>What do you mean with " When i try to change the SRS of some Coverage"?
2>Can you give some info about platform you are running on?
3>Can you give some information about the data you are working with? A
sample would also be great.

The other stacktrace you are seeing is a known issue but it does not
affect the GeoServer itself. It will be fixed soon but not tomorrow
:-).

Simone.
On 8/7/06, GeoUser <blazrepnik@anonymised.com> wrote:

When i try to change the SRS of some Coverage i can't use anyother than 4326.
If i try any other i get the following error:

INFO: Unable to find crs, continuing with default WGS4 CRS
GEOGCS["WGS 84",
DATUM["WGS_1984",
   SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
   AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Lon", EAST],
AXIS["Lat", NORTH],
AUTHORITY["EPSG","4326"]]

I'm using 1.4.x WCS. Changing the Feature Type SRS works OK. And even if i
write in SRS 4326 i get the same error. help?

--
View this message in context: http://www.nabble.com/SRS-problem-tf2062764.html#a5682417
Sent from the GeoServer - Dev forum at Nabble.com.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------