Skip to main content
Question

georeferencing

  • June 29, 2017
  • 8 replies
  • 278 views

Hello. I would like to know how to produce tiff or jpg with georeference. As an input I have tiff or jpg with no information stored inside the file about the image position. I have separate csv file with coordinates for upper left corner of the image and image rotation. Which tools should I use , can I find somewhere a workflow for this task? Which tool should I use to connect information from csv with images. I a using FME since 2 weeks so everything is new for me and I dont have full understanding. I saw a video on youtube that someone made a workflow for images from drones but unfortunately it was not described how it was done in details. Raw input images have no coordinate system, in csv I have an exterior image orientation for every image and there I have information about the coordinate system. How many tools I should use.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

8 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • June 29, 2017

Hi! I found another user trying to do something similar. Check out this post https://knowledge.safe.com/questions/45629/error-using-rastergeoreferencer-on-jpg-with-point.html


takashi
Celebrity
  • 7843 replies
  • June 29, 2017

Hi @kbachmatiuk, the RasterGeoreferencer could be used here, but georeference processing requires not only upper-left coordinates and rotation angle but also x and y cell spacing (otherwise requires all coordinates of the four corners). Does your csv table contain all the required information?


  • Author
  • 6 replies
  • June 29, 2017

Thank you for the answer. Is cell spacing defining size of the picture ? I know GSD and i know how big is my picture ( size in pixels).


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • June 29, 2017

Thank you for the answer. Is cell spacing defining size of the picture ? I know GSD and i know how big is my picture ( size in pixels).

Cell spacing is the pixel size, so that along with the number of pixels in each direction ends up defining the picture size.

 

 


  • 2 replies
  • June 29, 2017

Hi @kbachmatiuk...So there is 2 approach if you know the size of your pixel (for example 1 pixel represent 10cm in reality)

Georeferencing information can be embedded in the TIFF files or in the JPG files (in this case we say that picture is a Geotiff) or you can just write a "TFW" file or "JGW" files that contains the informations.

1st approach is to do it with the transformer mentioned by takashi

If you decide to write it in TFW file for example, you can just use a "String Concatenator", where you concatenate the info in this way:

Line1 = Pixel size in X direction

Line 2 = Rotation X

Line 3 = Rotation Y

Line 4 = Pixel size in Y direction

Coordinate of Upper left pixel in X

Coordinate of Upper left pixel in Y

Example of TFW file

50.00000000000000

 

0.00000000000000

 

0.00000000000000

 

-50.00000000000000

 

157999.9547888

 

339000.1459853

So you just have to save the TFW file with the same name than the picture and at the same location (example Brasilia.tif / Brasilia.tfw)


  • Author
  • 6 replies
  • June 29, 2017

I finished playing with FME for today (busy with other tasks), I didn't try yet proposed solutions for multiple images but I tried on one single image and it works. I am so excited but it is close to midnight in here so I will have to proceed tomorrow. Thank you a lot to all of you. I will report tomorrow. I am so excited :)


  • 2 replies
  • June 20, 2018

@kbachmatiuk if images are aerial photos then RasterGeoreferencer is not enough to solve your problem. The process is known as ortho rectification or orthophoto projection. Take a look at the wikipedia.


muzhnasto
Contributor
Forum|alt.badge.img+12
  • Contributor
  • 105 replies
  • September 22, 2020

I finished playing with FME for today (busy with other tasks), I didn't try yet proposed solutions for multiple images but I tried on one single image and it works. I am so excited but it is close to midnight in here so I will have to proceed tomorrow. Thank you a lot to all of you. I will report tomorrow. I am so excited :)

And where is the report?😃