请问可否用gdalinfo,查看是否存在Georeference信息

1 view
Skip to first unread message

Janet

unread,
Feb 27, 2009, 2:32:00 AM2/27/09
to gdal+python+GIS+geosings论坛
请问各位,看一张图片是否存在Georeference信息,是不是用gdalinfo看 Coordinate System 字段是否有内容,如果
仅仅是如两个单引号,是否就说明这张图片没有被Georeferenced过?

对GIS不熟,可能问题比较简单,见谅了~

linux23...@gmail.com

unread,
Feb 27, 2009, 5:24:43 AM2/27/09
to gdal+python+GIS+geosings论坛
gdalinfo确实可以看的。比如:
Driver: GTiff/GeoTIFF
Size is 190, 140
Coordinate System is:
PROJCS["NAD27 / UTM zone 13N",
GEOGCS["NAD27",
DATUM["North_American_Datum_1927",
SPHEROID["Clarke 1866",6378206.4,294.9786982139006,
AUTHORITY["EPSG","7008"]],
AUTHORITY["EPSG","6267"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4267"]],
PROJECTION["Transverse_Mercator"],
PARAMETER["latitude_of_origin",0],
PARAMETER["central_meridian",-105],
PARAMETER["scale_factor",0.9996],
PARAMETER["false_easting",500000],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]],
AUTHORITY["EPSG","26713"]]
Origin = (590000.000000000000000,4927700.000000000000000)
Pixel Size = (100.000000000000000,-100.000000000000000)
Metadata:
AREA_OR_POINT=Area
Corner Coordinates:
Upper Left ( 590000.000, 4927700.000) (103d52'4.61"W, 44d29'56.25"N)
Lower Left ( 590000.000, 4913700.000) (103d52'13.36"W,
44d22'22.59"N)
Upper Right ( 609000.000, 4927700.000) (103d37'44.47"W,
44d29'46.82"N)
Lower Right ( 609000.000, 4913700.000) (103d37'55.07"W,
44d22'13.21"N)
Center ( 599500.000, 4920700.000) (103d44'59.37"W, 44d26'4.94"N)

##############################################
Coordinate System is:要有内容,

Corner Coordinates:
Upper Left ( 590000.000, 4927700.000) (103d52'4.61"W, 44d29'56.25"N)
Lower Left ( 590000.000, 4913700.000) (103d52'13.36"W,
44d22'22.59"N)
Upper Right ( 609000.000, 4927700.000) (103d37'44.47"W,
44d29'46.82"N)
Lower Right ( 609000.000, 4913700.000) (103d37'55.07"W,
44d22'13.21"N)
Center ( 599500.000, 4920700.000) (103d44'59.37"W, 44d26'4.94"N)

坐标系统类似这样。就说明有Georeference

另外API也可以

Janet

unread,
Mar 2, 2009, 5:10:17 AM3/2/09
to gdal+python+GIS+geosings论坛
谢谢,你解释的非常清楚! 我的文件不仅Coordinate System is ''是空的,而且Corner Coordinates: 也没有
经纬度信息,那就是没有georeference 信息了。明白了!

On 2月27日, 下午6时24分, "linux23maill...@gmail.com"
> > 对GIS不熟,可能问题比较简单,见谅了~- 隐藏被引用文字 -
>
> - 显示引用的文字 -
Reply all
Reply to author
Forward
0 new messages