On Thu, Jun 7, 2012 at 1:41 AM, Garey Mills <[email protected]> wrote: > Hi - > > I have some .tifs with associated .prj and .tfw loaded into > Geoserver 2.2-snapshot. If I try downloading one of these layers as a > GeoTiff, I get a file much, much smaller than the original TIFF. Not > only that, when I take that file, put it in Geoserver's data dir, and > attempt to load it as a GeoTiff, I get the error > > Could not list layers for this store, an error occurred > retrieving them: Argument "value" should not be null > > Is it naive to expect that a layer downloaded as a GeoTiff could be > loaded into Geoserver as a GeoTiff?
Nope, it's not, but there are two issues: - ESRI calls "GeoTiff" stuff that is not actually a Geotiff according to the standard (http://trac.osgeo.org/geotiff/), typically a world + image file (not your case I understand) - GeoServer is unable to read GeoTiffs that is georeferenced by a custom CRS (not an official EPSG code) Both issues could be solved by some coding, the first by being lenient and look for the ancilliary files if the georeferencing is not present in the tif file, the second by adding support for parsing a custom CRS. That said, code does not write itself (at least for the moment!), contributions welcomed. To see if your case is the second one can you run gdalinfo and report back the output? Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
