Har du et link til en vejledning John? Eller kan du forklare det, i dummy-terms, uden at skulle bruge særlig tid på det?
På forhånd tak, og undskyld.

Code: Select all
Driver: GTiff/GeoTIFF
Files: ekts_40cm_wgs84.tif
Size is 18053, 8469
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (8.677585285995500,57.088312309278862)
Pixel Size = (0.000005533485428,-0.000005533485428)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 8.6775853, 57.0883123) ( 8d40'39.31"E, 57d 5'17.92"N)
Lower Left ( 8.6775853, 57.0414492) ( 8d40'39.31"E, 57d 2'29.22"N)
Upper Right ( 8.7774813, 57.0883123) ( 8d46'38.93"E, 57d 5'17.92"N)
Lower Right ( 8.7774813, 57.0414492) ( 8d46'38.93"E, 57d 2'29.22"N)
Center ( 8.7275333, 57.0648808) ( 8d43'39.12"E, 57d 3'53.57"N)
Band 1 Block=18053x1 Type=Byte, ColorInterp=Red
Band 2 Block=18053x1 Type=Byte, ColorInterp=Green
Band 3 Block=18053x1 Type=Byte, ColorInterp=Blue
Code: Select all
Driver: GTiff/GeoTIFF
Files: ekts_40cm.tif
EKTS_40cm.tfw
Size is 15093, 12981
Coordinate System is:
LOCAL_CS["LOCAL",
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (480460.336380654650000,6327238.543855036600000)
Pixel Size = (0.400000000000000,-0.400000000000000)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
COMPRESSION=LZW
INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left ( 480460.336, 6327238.544)
Lower Left ( 480460.336, 6322046.144)
Upper Right ( 486497.536, 6327238.544)
Lower Right ( 486497.536, 6322046.144)
Center ( 483478.936, 6324642.344)
Band 1 Block=15093x1 Type=Byte, ColorInterp=Red
Band 2 Block=15093x1 Type=Byte, ColorInterp=Green
Band 3 Block=15093x1 Type=Byte, ColorInterp=Blue
Hvorfra har du den information, at source projektionen er "utm +zone=32 +datum=EUREF89"?Kommandolinien for ovennævnte fil ville være:
gdalwarp -of GTiff -co "INTERLEAVE=PIXEL" -s_srs "+proj=utm +zone=32 +datum=EUREF89" -t_srs "+proj=latlong +datum=WGS84" -r cubic Test.tif Test_wgs84.tif
Code: Select all
gdalwarp -of GTiff -co "INTERLEAVE=PIXEL" -s_srs "+proj=utm +zone=32 +datum=EUREF89" -t_srs "+proj=latlong +datum=WGS84" -r cubic ekav_ground.tif ekav_ground_wgs84.tif
UTM zonerne for Danmark (32 og 33) kan man finde online, f.eks.: http://www.dmap.co.uk/utmworld.htm.Hvorfra har du den information, at source projektionen er "utm +zone=32 +datum=EUREF89"?Kommandolinien for ovennævnte fil ville være:
gdalwarp -of GTiff -co "INTERLEAVE=PIXEL" -s_srs "+proj=utm +zone=32 +datum=EUREF89" -t_srs "+proj=latlong +datum=WGS84" -r cubic Test.tif Test_wgs84.tif
Hmm, for mit ganske utrænede øje ser det da ellers ud, som om der (mindst) er sket en clockwise rotation på en grad eller to ...Jeg har i øvrig eksperimenteret med at bruge .tif billeder fra Erdgas Viewer, uden at ændre projektion, altså undlade "gdalwarp" operationen:
...
Som det fremgår er der ingen forskel. Det ser ud til, at det ikke er nødvendigt at "warpe" output billederne fra Erdgas Viewer
Return to “Add-on development”
Users browsing this forum: No registered users and 0 guests