« Return to Thread: Raster display problem

Re: Raster display problem

by Per S :: Rate this Message:

Reply to Author | View in Thread

I have also tried PNG and JPG with the same negative result. (I had this working in GS 1.6.x.)

gdalinfo Kbakarta8_99_jpg.jpg:

Driver: JPEG/JPEG JFIF
Size is 5967, 5964
Coordinate System is `'
Origin = (141373.450000000010000,6387245.500000000000000)
Pixel Size = (6.000000000000000,-6.000000000000000)
Corner Coordinates:
Upper Left  (  141373.450, 6387245.500)
Lower Left  (  141373.450, 6351461.500)
Upper Right (  177175.450, 6387245.500)
Lower Right (  177175.450, 6351461.500)
Center      (  159274.450, 6369353.500)
Band 1 Block=5967x1 Type=Byte, ColorInterp=Red
Band 2 Block=5967x1 Type=Byte, ColorInterp=Green
Band 3 Block=5967x1 Type=Byte, ColorInterp=Blue

gdalinfo Kbakarta8_99_png.png:

Driver: PNG/Portable Network Graphics
Size is 5967, 5964
Coordinate System is `'
Origin = (141373.450000000010000,6387245.500000000000000)
Pixel Size = (6.000000000000000,-6.000000000000000)
Corner Coordinates:
Upper Left  (  141373.450, 6387245.500)
Lower Left  (  141373.450, 6351461.500)
Upper Right (  177175.450, 6387245.500)
Lower Right (  177175.450, 6351461.500)
Center      (  159274.450, 6369353.500)
Band 1 Block=5967x1 Type=Byte, ColorInterp=Red
Band 2 Block=5967x1 Type=Byte, ColorInterp=Green
Band 3 Block=5967x1 Type=Byte, ColorInterp=Blue

The prj file:

PROJCS["SWEREF99 12 00",GEOGCS["SWEREF99",DATUM["SWEREF99",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6619"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4619"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",12],PARAMETER["scale_factor",1],PARAMETER["false_easting",150000],PARAMETER["false_northing",0],AUTHORITY["EPSG","3007"],AXIS["y",EAST],AXIS["x",NORTH]]

Kbakarta8_99_jpg.jgw:
6.0000000000
0.0000000000
0.0000000000
-6.0000000000
141376.4500000000
6387242.5000000000

Kbakarta8_99_png.pgw:
6.00000000
0.00000000
0.00000000
-6.00000000
141374.9500
6387244.0000

The geotiff file in the previous post also had a world file and the same prj file.

Any ideas?
/Per S

 « Return to Thread: Raster display problem