[Geoserver-users] Again with Geotiff or raster files.

Hello

I'm try to add a file raster in coverage Data Set configuration and i can't
do it. I readed in this mailing list that is not easy add geotiff files. Is
true?. Any alternative solution.
I am stoped, very stoped. I try diferents software to generate geotiff and
anyone is good for Geoserver. What can i do?. Which is the file format ok
for Geoserver?.
I accept any solution for to continue. Whitch is the format more used in
Geoserver for raster files?
Which is the software for generate this files?

Thanks.
Fran.

--
View this message in context: http://www.nabble.com/Again-with-Geotiff-or-raster-files.-tp14631881p14631881.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

jfranky ha scritto:

Hello

I'm try to add a file raster in coverage Data Set configuration and i can't
do it. I readed in this mailing list that is not easy add geotiff files. Is
true?. Any alternative solution. I am stoped, very stoped. I try diferents software to generate geotiff and
anyone is good for Geoserver. What can i do?. Which is the file format ok
for Geoserver?. I accept any solution for to continue. Whitch is the format more used in
Geoserver for raster files?

GeoTiff is the best format. Provided is a true geotiff, not the mutilated version some software produce. A true geotiff is a single tiff
file with all the georeferencing information inside, including a CRS.

Here is the result of gdalinfo running against a real one:

Driver: GTiff/GeoTIFF
Files: 01.tiff
Size is 6750, 6000
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
     GEOGCS["WGS 84",
         DATUM["WGS_1984",
             SPHEROID["WGS 84",6378137,298.2572235630016,
                 AUTHORITY["EPSG","7030"]],
             AUTHORITY["EPSG","6326"]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433],
         AUTHORITY["EPSG","4326"]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",0],
     PARAMETER["central_meridian",9],
     PARAMETER["scale_factor",0.9996],
     PARAMETER["false_easting",500000],
     PARAMETER["false_northing",0],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]],
     AUTHORITY["EPSG","32632"]]
Origin = (663341.701881218350000,5173420.982341781300000)
Pixel Size = (0.100000000000000,-0.100000000000000)
Metadata:
   AREA_OR_POINT=Area
Image Structure Metadata:
   COMPRESSION=JPEG
   INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 663341.702, 5173420.982) ( 11d 8'11.00"E, 46d41'39.83"N)
Lower Left ( 663341.702, 5172820.982) ( 11d 8'10.23"E, 46d41'20.40"N)
Upper Right ( 664016.702, 5173420.982) ( 11d 8'42.76"E, 46d41'39.23"N)
Lower Right ( 664016.702, 5172820.982) ( 11d 8'41.99"E, 46d41'19.81"N)
Center ( 663679.202, 5173120.982) ( 11d 8'26.49"E, 46d41'29.82"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
   Overviews: 1688x1500, 422x375, 211x188, 106x94
   Metadata:
     LAYER_TYPE=athematic
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
   Overviews: 1688x1500, 422x375, 211x188, 106x94
   Metadata:
     LAYER_TYPE=athematic
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
   Overviews: 1688x1500, 422x375, 211x188, 106x94
   Metadata:
     LAYER_TYPE=athematic

As you can see the file contains origin, pixel size, corner coordinates
and a coordinate reference system that allows to georeference it.
This one is particularly good in that it has a tiled structure (Block=256x256) and overviews to get good performance when rendering
it (tiles and overvies are not a requirement, just a nice to have
if you want to render the raster with good performance).

A good tool to generate real geotiffs is gdal (you can pick an incomplete one generated by another software and add srs, tiles
and overviews using gdal_translate and gdaladdo).

Cheers
Andrea

aaime wrote:

jfranky ha scritto:

Hello

I'm try to add a file raster in coverage Data Set configuration and i
can't
do it. I readed in this mailing list that is not easy add geotiff files.
Is
true?. Any alternative solution.
I am stoped, very stoped. I try diferents software to generate geotiff
and
anyone is good for Geoserver. What can i do?. Which is the file format ok
for Geoserver?.
I accept any solution for to continue. Whitch is the format more used in
Geoserver for raster files?

GeoTiff is the best format. Provided is a true geotiff, not the
mutilated version some software produce. A true geotiff is a single tiff
file with all the georeferencing information inside, including a CRS.

Here is the result of gdalinfo running against a real one:

Driver: GTiff/GeoTIFF
Files: 01.tiff
Size is 6750, 6000
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
     GEOGCS["WGS 84",
         DATUM["WGS_1984",
             SPHEROID["WGS 84",6378137,298.2572235630016,
                 AUTHORITY["EPSG","7030"]],
             AUTHORITY["EPSG","6326"]],
         PRIMEM["Greenwich",0],
         UNIT["degree",0.0174532925199433],
         AUTHORITY["EPSG","4326"]],
     PROJECTION["Transverse_Mercator"],
     PARAMETER["latitude_of_origin",0],
     PARAMETER["central_meridian",9],
     PARAMETER["scale_factor",0.9996],
     PARAMETER["false_easting",500000],
     PARAMETER["false_northing",0],
     UNIT["metre",1,
         AUTHORITY["EPSG","9001"]],
     AUTHORITY["EPSG","32632"]]
Origin = (663341.701881218350000,5173420.982341781300000)
Pixel Size = (0.100000000000000,-0.100000000000000)
Metadata:
   AREA_OR_POINT=Area
Image Structure Metadata:
   COMPRESSION=JPEG
   INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 663341.702, 5173420.982) ( 11d 8'11.00"E, 46d41'39.83"N)
Lower Left ( 663341.702, 5172820.982) ( 11d 8'10.23"E, 46d41'20.40"N)
Upper Right ( 664016.702, 5173420.982) ( 11d 8'42.76"E, 46d41'39.23"N)
Lower Right ( 664016.702, 5172820.982) ( 11d 8'41.99"E, 46d41'19.81"N)
Center ( 663679.202, 5173120.982) ( 11d 8'26.49"E, 46d41'29.82"N)
Band 1 Block=256x256 Type=Byte, ColorInterp=Red
   Overviews: 1688x1500, 422x375, 211x188, 106x94
   Metadata:
     LAYER_TYPE=athematic
Band 2 Block=256x256 Type=Byte, ColorInterp=Green
   Overviews: 1688x1500, 422x375, 211x188, 106x94
   Metadata:
     LAYER_TYPE=athematic
Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
   Overviews: 1688x1500, 422x375, 211x188, 106x94
   Metadata:
     LAYER_TYPE=athematic

As you can see the file contains origin, pixel size, corner coordinates
and a coordinate reference system that allows to georeference it.
This one is particularly good in that it has a tiled structure
(Block=256x256) and overviews to get good performance when rendering
it (tiles and overvies are not a requirement, just a nice to have
if you want to render the raster with good performance).

A good tool to generate real geotiffs is gdal (you can pick an
incomplete one generated by another software and add srs, tiles
and overviews using gdal_translate and gdaladdo).

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Thank you Andrea I Can use Geothetiff.
I use your information and at the end i use GDAL library and Er Mapper .

--
View this message in context: http://www.nabble.com/Again-with-Geotiff-or-raster-files.-tp14631881p14635882.html
Sent from the GeoServer - User mailing list archive at Nabble.com.