Hello, i have a cuestion to calculate coordinate corner image, for the
construct the file .meta georeference image.
The user do two click in the image and insert the value coordinates for the
two point. I have calculate whith two point the coordinates corners image.
how can calculate the
Hello Michael, i have show georeference gif image. The user select image and
my application show this image. The user do click in two point in the image
and insert the two coordinate corresponding with the point.
I have calculate the corners coordinate utilize the image and the two
coordinate
Hi Abel,
Here is one approach...
After the user has identified 2 control points (image coords and geo
coords known) you can calculate a MathTransform using this helper
class:
http://javadoc.geotools.fr/2.5/org/geotools/referencing/operation/builder/SimilarTransformBuilder.html
With the
Ciao Abel,
quick question before you dwelve into complex mat.
Your use case needs to be clarified a bit. Are these images georectified or not?
Simone.
---
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
Hello, in the example:
Point 1:
Mouse image x,y: 28,158
Coordinate x,y: 44N
0095000W
Point 2:
Mouse image x,y: 215,3582
Coordinate x,y: 555700N
002E
With this data,
2009/5/25 Preciado Venero, Abel wrote:
Hello, some solution of this problem?
Yes, sorry Abel. Contrary time zones sometimes mean you don't get a
split-second response on the list :-)
Assuming that, as Simone said, your image is properly rectified etc.
MathTransform mt;