2014-07-24 16:43 GMT+02:00 Christian Mueller <
[email protected]>:

> mage IO cannot read from ByteInputStream,use less efficient jai methods
>
> I do not want to write a long explanation, but it seems that it is not
> possible to decode your image data. Can you send me your xml configuration
> files.
>

Hi Christian,

Thank you for your answer.
I used the png image from the tutorial,
Here the gdalinfo output after the rcp conversion

Driver: PNG/Portable Network Graphics
Files: start.png
       start.wld
Size is 1060, 588
Coordinate System is `'
Origin = (8.996226000000000,49.002550999999997)
Pixel Size = (0.007547169800000,-0.005102040800000)
Corner Coordinates:
Upper Left  (   8.9962260,  49.0025510)
Lower Left  (   8.9962260,  46.0025510)
Upper Right (  16.9962260,  49.0025510)
Lower Right (  16.9962260,  46.0025510)
Center      (  12.9962260,  47.5025510)
Band 1 Block=1060x1 Type=Byte, ColorInterp=Palette
  Color Table (RGB with 256 entries)
    0: 156,188,144,255
...
  255: 248,248,248,255

Attached to the email you can find the three xml files I used to configure
the mosaic.

Cheers,

Stefano

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

Attachment: connect.postgis.xml.inc
Description: Binary data

Attachment: mapping.postgis.xml.inc
Description: Binary data

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE ImageMosaicJDBCConfig [
  <!ENTITY mapping PUBLIC "mapping"  "mapping.postgis.xml.inc">
  <!ENTITY connect PUBLIC "connect"  "connect.postgis.xml.inc">]>
<config version="1.0">
  <coverageName name="osm"/>
  <coordsys name="EPSG:4326"/>
  <!-- interpolation 1 = nearest neighbour, 2 = bilinear, 3 = bicubic -->
  <scaleop  interpolation="1"/>
  <verify cardinality="false"/>
  &mapping;
  &connect;
</config>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to