В Сб., 16/06/2012 в 11:31 -0700, Frank Warmerdam пишет: > On 12-06-16 09:13 AM, Alexander Drozdov wrote: > > Hi all! > > > > I have png map file, .pwg World file and .prj file with projection in > > WKT format. > > I try to create GeoTIFF with next command: > > gdal_translate -of GTiff -a_srs O-50-103-D.prj O-50-103-D.png > > O-50-103-D.tif > > > > but, gdalinfo printf LOCAL_CS coordinate system instead PROJCS, so > > different applications like QLandkarteGT can't open result GeoTiff. > > > > Why coordinate system is LOCAL_CS, but not PROJCS? > > > > My example files in archive: > > http://htrd.su/~hatred/maps/O-50-103-D.tar.gz > > > > testepsg tool say that prj file is correct. > > Alexander, > > The .prj file looks ok. When I run your command with gdal trunk > I get a TIFF file with the following gdalinfo report: > > Coordinate System is: > PROJCS["unnamed", > GEOGCS["Krassovsky, 1942", > DATUM["unknown", > SPHEROID["krass",6378245,298.3], > TOWGS84[23.9,-141.3,-80.9,0,-0.37,-0.85,-0.12]], > PRIMEM["Greenwich",0], > UNIT["degree",0.0174532925199433]], > PROJECTION["Transverse_Mercator"], > PARAMETER["latitude_of_origin",0], > PARAMETER["central_meridian",117], > PARAMETER["scale_factor",1], > PARAMETER["false_easting",20500000], > PARAMETER["false_northing",0], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]]] > GeoTransform = > 20513343.29170791, 4.59598418645, -9.994925266010001e-13 > 6338767.084816154, 1.43747239781e-12, -4.58751230964 > > I'm not clear on why you are running into problems.
Frank, I compile gdal from SVN and issue does not present now. By the way, gdalinfo from new version show correct output on tiff generated with old gdal_translate. Thanks a lot again! :-) _______________________________________________ Discuss mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/discuss
