[Geoserver-users] reprojection

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1

Hi Laurent,

I am not sure but it seems that you are trying to force the underlying
native type to be a different srs than the driver thinks is the native
one. Did you specify 27572 on the feature editor page when you added the
feature type?

-Justin

laurent pierre wrote:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to
reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when
native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is
EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1
!DSPAM:4007,475fbf6a306211336712104!

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fbf6a306211336712104!

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fbf6a306211336712104!

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

laurent pierre ha scritto:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Hmm... that looks more like a limitation of the wms reflector being
unable to handle map reprojection.
That error comes out of DefaultWebMapService.autoSetBoundsAndSize()
which is used by the reflector to guess map bounds and size...
Arne, afaik you were the last one to work on this. Any comment?

Cheers
Andrea

Yes, I made a mistake. I should had written crs instead of srs to choose another projection shouldn’t I ?

But when I write :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572

I get :

java.lang.IllegalArgumentException: Bad value 226! java.lang.IllegalArgumentException: Bad value 226!

Le 12 déc. 07 à 12:08, Justin Deoliveira a écrit :

Hi Laurent,

I am not sure but it seems that you are trying to force the underlying
native type to be a different srs than the driver thinks is the native
one. Did you specify 27572 on the feature editor page when you added the
feature type?

-Justin

laurent pierre wrote:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to
reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572>

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE

ServiceExceptionReport SYSTEM
http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd”>

java.lang.RuntimeException: Cannot force SRS EPSG:27572 when
native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is
EPSG:4326, try not specifying the SRS.

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1
!DSPAM:4007,475fbf6a306211336712104!



SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fbf6a306211336712104!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fbf6a306211336712104!


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


SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hmmm... not sure about this one. Is there any chance you can include the
entire stack trace. It should be on the console if running with jetty,
or in your servlet container logs.

-Justin

laurent pierre wrote:

Yes, I made a mistake. I should had written crs instead of srs to
choose another projection shouldn't I ?

But when I write :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572&gt;

I get :

<ServiceExceptionReport version="1.1.1">
<ServiceException>
      java.lang.IllegalArgumentException: Bad value 226!
     java.lang.IllegalArgumentException: Bad value 226!
</ServiceException>
</ServiceExceptionReport>

Le 12 déc. 07 à 12:08, Justin Deoliveira a écrit :

Hi Laurent,

I am not sure but it seems that you are trying to force the underlying
native type to be a different srs than the driver thinks is the native
one. Did you specify 27572 on the feature editor page when you added the
feature type?

-Justin

laurent pierre wrote:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to
reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;&gt;

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when
native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is
EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fbf6a306211336712104!

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fbf6a306211336712104!

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fc739319971336712104!

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fc739319971336712104!

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fc739319971336712104!

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

when the ‘ServiceExceptionReport’ is thrown nothing is modified in ‘/usr/local/apache-tomcat-6.0.10/logs’ …
But another strange thing is when I try to list the SRS in the entity manager I get :

GeoServer - Exception
The following exception was thrown:
org.geotools.factory.FactoryNotFoundException: Aucune fabrique de type “GeoserverCustomWKTFactory” n’a été trouvée.

Hum

Le 12 déc. 07 à 13:06, Justin Deoliveira a écrit :

Hmmm… not sure about this one. Is there any chance you can include the
entire stack trace. It should be on the console if running with jetty,
or in your servlet container logs.

-Justin

laurent pierre wrote:

Yes, I made a mistake. I should had written crs instead of srs to
choose another projection shouldn’t I ?

But when I write :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572>

I get :

java.lang.IllegalArgumentException: Bad value 226! java.lang.IllegalArgumentException: Bad value 226!

Le 12 déc. 07 à 12:08, Justin Deoliveira a écrit :

Hi Laurent,

I am not sure but it seems that you are trying to force the underlying
native type to be a different srs than the driver thinks is the native
one. Did you specify 27572 on the feature editor page when you added the
feature type?

-Justin

laurent pierre wrote:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to
reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572>
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572>>

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE

ServiceExceptionReport SYSTEM
http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd”>

java.lang.RuntimeException: Cannot force SRS EPSG:27572 when
native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is
EPSG:4326, try not specifying the SRS.

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1



SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fbf6a306211336712104!



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fbf6a306211336712104!


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


SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php


Geoserver-users mailing list
Geoserver-users@anonymised.comsourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fc739319971336712104!



SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fc739319971336712104!



Geoserver-users mailing list
Geoserver-users@anonymised.comurceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fc739319971336712104!


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

Are you sure that no logs are written to catalina.out? Perhaps they are
being buffered?

Well i dont have to speak french to know that there seems to be a
problem loading the geoserver wkt epsg factory.

Andrea: any ideas? I cant figure out much more without the entire
request log.

-Justin

laurent pierre wrote:

when the 'ServiceExceptionReport' is thrown nothing is modified in
'/usr/local/apache-tomcat-6.0.10/logs' ...
But another strange thing is when I try to list the SRS in the entity
manager I get :

GeoServer - Exception
The following exception was thrown:
org.geotools.factory.FactoryNotFoundException: Aucune fabrique de type
"GeoserverCustomWKTFactory" n'a été trouvée.

Hum

Le 12 déc. 07 à 13:06, Justin Deoliveira a écrit :

Hmmm... not sure about this one. Is there any chance you can include the
entire stack trace. It should be on the console if running with jetty,
or in your servlet container logs.

-Justin

laurent pierre wrote:

Yes, I made a mistake. I should had written crs instead of srs to
choose another projection shouldn't I ?

But when I write :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572&gt;
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&crs=EPSG:27572&gt;&gt;

I get :

<ServiceExceptionReport version="1.1.1">
<ServiceException>
      java.lang.IllegalArgumentException: Bad value 226!
     java.lang.IllegalArgumentException: Bad value 226!
</ServiceException>
</ServiceExceptionReport>

Le 12 déc. 07 à 12:08, Justin Deoliveira a écrit :

Hi Laurent,

I am not sure but it seems that you are trying to force the underlying
native type to be a different srs than the driver thinks is the native
one. Did you specify 27572 on the feature editor page when you added the
feature type?

-Justin

laurent pierre wrote:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to
reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;&gt;
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572
<http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572&gt;&gt;&gt;

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt;
<ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when
native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is
EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fbf6a306211336712104!

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fc739319971336712104!

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

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4007,475fc739319971336712104!

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

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,475fc739319971336712104!

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

!DSPAM:4007,475fe6dd32588992556831!

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

Justin Deoliveira ha scritto:

Are you sure that no logs are written to catalina.out? Perhaps they are
being buffered?

Well i dont have to speak french to know that there seems to be a
problem loading the geoserver wkt epsg factory.

Andrea: any ideas? I cant figure out much more without the entire
request log.

No, I don't know why the extension wkt factory cannot be loaded
(it's the one based on user defined srs types), that never
happened to me yet it's not the first user having troubles
with it... it's just that nobody reported enough info to
be able and track down the issue.

Btw, are the nightlies down?

Cheers
Andrea

Hi,

the task I was given was specifically limited to cached bounds (which
are 4326 + native). Native can be used, provided that all requested
layers have the same bounds, otherwise it reverts to 4326 (and yells at
you if you explicitly provide something else).

Andrea: Is there an easy way to reproject the cached bounding box?

In the mean time Laurent will probably have to use the regular WMS.

-Arne

Andrea Aime wrote:

laurent pierre ha scritto:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Hmm... that looks more like a limitation of the wms reflector being
unable to handle map reprojection.
That error comes out of DefaultWebMapService.autoSetBoundsAndSize()
which is used by the reflector to guess map bounds and size...
Arne, afaik you were the last one to work on this. Any comment?

Cheers
Andrea

Arne Kepp wrote:

Hi,

the task I was given was specifically limited to cached bounds (which
are 4326 + native). Native can be used, provided that all requested
layers have the same bounds, otherwise it reverts to 4326 (and yells at
you if you explicitly provide something else).

Sorry, what I meant was that all layers share the same native SRS.

-Arne

Ok thank you for your quick anwers

Laurent

Le 12 déc. 07 à 15:34, Arne Kepp a écrit :

Hi,

the task I was given was specifically limited to cached bounds (which
are 4326 + native). Native can be used, provided that all requested
layers have the same bounds, otherwise it reverts to 4326 (and yells at
you if you explicitly provide something else).

Andrea: Is there an easy way to reproject the cached bounding box?

In the mean time Laurent will probably have to use the regular WMS.

-Arne

Andrea Aime wrote:

laurent pierre ha scritto:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Hmm... that looks more like a limitation of the wms reflector being
unable to handle map reprojection.
That error comes out of DefaultWebMapService.autoSetBoundsAndSize()
which is used by the reflector to guess map bounds and size...
Arne, afaik you were the last one to work on this. Any comment?

Cheers
Andrea

I've added the code, see http://jira.codehaus.org/browse/GEOS-1603

It will show up in the next nightly and RC2.
-Arne

laurent pierre wrote:

Hi,

I have entities in a Postgis Datastore using EPSG:4326 and I try to reproject them with :

http://localhost:8081/geoserver/wms/reflect?format=image/gif&layers=edfgeo:agenceedf2&srs=EPSG:27572

but I get an error :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
java.lang.RuntimeException: Cannot force SRS EPSG:27572 when native is EPSG:4326, try not specifying the SRS.
</ServiceException></ServiceExceptionReport>

Any ideas ?

Thanks

Laurent

geoserver 1.6.0-RC1
!DSPAM:4038,475fbf6a306198362916074!
------------------------------------------------------------------------

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

!DSPAM:4038,475fbf6a306198362916074!
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,475fbf6a306198362916074!