Hi,
Is there any way to project GCP point into new coord system using GDAL executables? I know how to translate whole image but i have problem with putting changed image (with gdal_translate and gdalwarp) onto the other image that it has been translated against.
If it's not possible to do it only with executables, is there any easy way to do it?
Projecting GCP points
-
- Новоприбывший
- Сообщения: 2
- Зарегистрирован: 09 авг 2012, 22:31
- Репутация: 0
- Максим Дубинин
- MindingMyOwnBusiness
- Сообщения: 9129
- Зарегистрирован: 06 окт 2003, 20:20
- Репутация: 748
- Ваше звание: NextGIS
- Откуда: Москва
- Контактная информация:
Re: Projecting GCP points
If you need to project some points, but not an image, try
if you need to go from latlong
or
if you need to go back to latlong
Код: Выделить всё
cs2cs +proj=latlong +datum=WGS84 +to +proj=utm +zone=42 +datum=WGS84
50 50
or
Код: Выделить всё
proj -I -f '%.8f' +init=epsg:28355
301964.225304 6172911.602455
439497.461276 6230476.242273
пристегивайтесь, турбулентность прямо по курсу
-
- Новоприбывший
- Сообщения: 2
- Зарегистрирован: 09 авг 2012, 22:31
- Репутация: 0
Re: Projecting GCP points
OK, my fault as long as I did not precise the problem.
I need to combine two images and I'm trying to do it by gdalwarp. Lets call them A.png and B.png. I can warp A.png into B.png with gdal_translate and gdalwarp and list of GCP points "listGCP". But i cannot combine them as I dont have any "newGCP" list that i could fit them.
So is there any way to combine the images within gdal binaries or to translate the A.png part of "listGCP" points into new warped image?
I need to combine two images and I'm trying to do it by gdalwarp. Lets call them A.png and B.png. I can warp A.png into B.png with gdal_translate and gdalwarp and list of GCP points "listGCP". But i cannot combine them as I dont have any "newGCP" list that i could fit them.
So is there any way to combine the images within gdal binaries or to translate the A.png part of "listGCP" points into new warped image?
Кто сейчас на конференции
Сейчас этот форум просматривают: нет зарегистрированных пользователей и 4 гостя