Posted by: wmap | March 31, 2011

gdalwarp ตัดภาพ ลืมทุกที ซิน่า

จะตัดภาพแต่ละที ต้องขอร้อง น้า goo ลุง gle ทุกครั้งให้มันได้อย่างนี้ซิ

ฝากเอาไว้ที่นี่นะ ว่า ตัดภาพต้อง gdalwarp

ตัวอย่าง ต้องการภาพ มุมล่างซ้าย(99, 6) ถึง มุมขวาบน(105, 18) ก็ใช้

gdalwarp -te 99 6 105 18 infile.tif outfile.tif

หากยังลืม หน้านี้อีก ก็สมน้ำหน้าแล้วละ

ที่มา http://research.dmsolutions.ca/?p=350

เค้ายังมี gdaldem อีกนะ

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.