Hello everybody,
I'm struggeling with this problem for days now. I used SID files with
the GeoServer and the GDAL Plugin, but unfortunately geoserver needs a
lot of more time to display the sid files than a for instance a
geotiff. Therefor I want to used the GeoTiff files (I know they are
much bigger), but converting SID to geotiff with MrSID Geoviewer does
a wrong or bad geo convertion. Maybe some of u can help me with that.
The interestion thing is, geoserver takes the sid files as they are, I
just need to tell him its EPGS:4326 and it works.
So, my question is: How can I convert the SID Files to GeoTiff witht
the correct coordinates, so Geoserver can used it?
Original Metadata From SID:
GEOTIFF_CHAR::
GTModelTypeGeoKey: ModelTypeProjected
GTRasterTypeGeoKey: RasterPixelIsArea
GeographicTypeGeoKey: GCS_WGS_84
ProjCoordTransGeoKey: CT_TransverseMercator
ProjLinearUnitsGeoKey: Linear_Meter
ProjectedCSTypeGeoKey: User-Defined
ProjectionGeoKey: User-Defined
GEOTIFF_NUM::
1024:: GTModelTypeGeoKey: 1
1025:: GTRasterTypeGeoKey: 1
2048::GeographicTypeGeoKey: 4326
3072::ProjectedCSTypeGeoKey: 32767
3073::PCSCitationGeoKey:
Projection=TransverseMercator
3074::ProjectionGeoKey: 32767
3075:: ProjCoordTransGeoKey: 1
3076::ProjLinearUnitsGeoKey: 9001
3080:: ProjNatOriginLongGeoKey: 31
3081::ProjNatOriginLatGeoKey: 0
3082:: ProjFalseEastingGeoKey: 0
3083:: ProjFalseNorthingGeoKey: 0
3092:: ProjScaleAtNatOriginGeoKey: 1
IMAGE::
BITS_PER_SAMPLE: 8
COLOR_SCHEME: 3
COMPRESSION_BLOCK_SIZE: 512
COMPRESSION_GAMMA: 2
COMPRESSION_NLEV: 7
COMPRESSION_VERSION[3]:
2 0 0
COMPRESSION_WEIGHT: 2
CREATION_DATE: ThuOct2711:11:262005
DATA_TYPE: 0
DYNAMIC_RANGE_LEVEL: 127,5
DYNAMIC_RANGE_WINDOW: 256
HEIGHT: 7797
INPUT_FILE_SIZE: 55717908
INPUT_FORMAT: TIFFw/WorldFile
INPUT_NAME:
E:\Rectified_Images\Tif\WGS84\498_437_Phelindaba\498_437_01_0022_rect.tif
TARGET_COMPRESSION_RATIO: 10
WIDTH: 7145
XY_ORIGIN[2]:^
-25479 -2710534
X_RESOLUTION: 0,75
Y_RESOLUTION: 0,75
GeoServer Information of SID File:
...
<styles default = "raster" />
<envelope crs = "GEOGCS['WGS 84',
DATUM['World Geodetic System 1984',
SPHEROID['WGS 84', 6378137.0, 298.257223563, AUTHORITY['EPSG','7030']],
AUTHORITY['EPSG','6326']],
PRIMEM['Greenwich', 0.0, AUTHORITY['EPSG','8901']],
UNIT['degree', 0.017453292519943295],
AXIS['Geodetic longitude', EAST],
AXIS['Geodetic latitude', NORTH],
AUTHORITY['EPSG','4326']]" srsName = "EPSG:4326" >
<pos>30.748510284876335 -24.551435586381977</pos>
<pos>30.801485617549876 -24.498563349392</pos>
</envelope>
<grid dimension = "2" >
<low>0 0 </low>
<high>7145 7797 </high>
<axisName>GRAY</axisName>
<geoTransform >
<scaleX>0.75</scaleX>
<scaleY>-0.75</scaleY>
<shearX>0.0</shearX>
<shearY>0.0</shearY>
<translateX>-25479.75</translateX>
<translateY>-2710533.25</translateY>
</geoTransform>
</grid>
...
SID to GeoTiff:
0,75
0
0
-0,75
-25479,00
-2710534,00
Thanks,
Sebastian