From: Simone G. <sim...@gm...> - 2006-08-04 10:02:53
|
Cial Alexey, sory about that, I am in the process of rewriting the map producers for many formats and I just solved this issue. I am going to commit the changes shortly. Simone. On 8/4/06, Alexey Leybman <ale...@gm...> wrote: > > I have built Geoserver 1.4.x with latest geotools snapshot. The way described > at http://www.nabble.com/GeoServer-1.4.x-tf1985740.html by Saul Farber-2. > Everything is OK (bulding, installation, GML data loading, coverage > creating) but when i try to get map with WMS query > http://localhost:8081/geoserver/wms?bbox=56.112133,57.334564,56.429067,58.025123&styles=line&Format=image/png&request=GetMap&layers=track:tracks&width=550&height=250&srs=EPSG:4326 > i get an exception "Caused by:java.lang.IllegalArgumentException: The > provided format image/png is not the same as expected: image/png" > If image format "image/png" replace with "image/gif" error looks like > "Caused by: java.lang.NullPointerException". > Stacktrace part when "image/png" output format: > Caused by: java.lang.IllegalArgumentException: The provided format image/png > is > not the same as expected: image/png > at > org.vfny.geoserver.wms.responses.map.png.PNGMapProducer.formatImageOu > tputStream(PNGMapProducer.java:53) > at > org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.writeTo(Def > aultRasterMapProducer.java:124) > at > org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapRespons > e.java:359) > at > org.vfny.geoserver.servlets.AbstractService.doService(AbstractService > .java:572) > ... 38 more > > In 1.3.2_WCS the same query was fine. > > What's does it mean? > -- > View this message in context: http://www.nabble.com/Exception-at-PNGMapProducer-with-GeoServer-1.4.x-tf2050290.html#a5647603 > Sent from the GeoServer - User 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-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions http://www.geo-solutions.it ------------------------------------------------------- |