Calibration of a map for Dummies

Everything related to creation of new sceneries for Condor...

Moderators: Uros, OXO

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Calibration of a map for Dummies

Post by Lurik » Tue Dec 01, 2009 3:07 am

Hello,

I'm working on a new scenery. After some problems for calibration, i found this old very nice post : http://forum.condorsoaring.com/viewtopi ... 1&start=15

Then I try to make the things easier. I create a program with excel to do everything you need for calibration.

It use the HDR files produce by 3DEM with UTM coordinates and create the CalibrationFile nedd by Landscape Editor.

If you have any question or detect bug, leave a message.


CALIBRATION TOOL USER MANUAL

- Open the "Calibration Tools - Condor Soaring.xls" wth excel
- allow execution of macros (important)
- Clic on the "1 : Select HDR file" button and select the HDR file created by 3DEM
- Clic on the "2 : Generate Calibration File" and save the "CalibrationPoints.csv" file in the condor/landscape/map/working directory. You should overwrite the existing file.
- Open the Landscape Editor
- Selection your map.
- Select "Calibration Points". You should see all the yellow mark of the calibrations points
- Clic on the "Calibrate" button

That's all.

Tips :
- There will be one calibration point for each corner of terragen tiles
- There will be a map of your terragen tile on the second tab of the excel document.

Edit : V1.1 to correct the mapping tiles : http://forum.condorsoaring.com/viewtopi ... =3&t=10934
Last edited by Lurik on Sat Feb 20, 2010 10:53 am, edited 3 times in total.
Image
Creation Scenery Tutorial : http://www.lurik.fr

User avatar
OXO
Condor Team
Posts: 6360
Joined: Mon Feb 13, 2006 1:08 am
Location: France 42
Contact:

Re: Calibration of a map for Dummies

Post by OXO » Tue Dec 01, 2009 10:02 am

Is this the technique which gives 100% accuracy?
Chris Wedgwood,
Condor Team

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Post by Lurik » Tue Dec 01, 2009 10:27 am

With this method, the only error is in the UTM -> lat/lon conversion.

The verification to do : when the map covers 2 different UTM Zone

I update the file in the first post with a missing HTML link
Image
Creation Scenery Tutorial : http://www.lurik.fr

MaintenanceMan
Posts: 265
Joined: Thu Jun 25, 2009 6:44 am
Location: Australia

Re: Calibration of a map for Dummies

Post by MaintenanceMan » Tue Dec 01, 2009 10:29 am

Certainly looks accurate to me, nice job Lurik!
Fiordlands NZ (all artwork) due around October 2010

Image

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Post by Lurik » Wed Dec 02, 2009 12:21 am

Lurik wrote:...
The verification to do : when the map covers 2 different UTM Zone
...
I made a test with a map which is on 2 UTM Zone. The Calibration File is OK.
Even if you crop the map during the raw -> TRN convertion the file will be OK.
Image
Creation Scenery Tutorial : http://www.lurik.fr

User avatar
Pit_R
Posts: 1348
Joined: Mon Feb 27, 2006 7:16 pm

Re: Calibration of a map for Dummies

Post by Pit_R » Wed Dec 02, 2009 12:49 pm

Thank you very much Lurik!
Very important add-on for all scenery creators!
No matter where you go... There you are...

Image
:::: Please use this envelope
Image
to send me a PM.

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Post by Lurik » Wed Dec 02, 2009 3:30 pm

Hello,

This is the new version of the Calibration Tool.

The Calibration File was good, but there was an error in the mapping of the tiles (the order of the tiles was wrong).

This new version have a correct Mapping Tiles
new version : http://forum.condorsoaring.com/viewtopi ... =3&t=10934
Last edited by Lurik on Sat Feb 20, 2010 10:52 am, edited 2 times in total.
Image
Creation Scenery Tutorial : http://www.lurik.fr

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Post by Lurik » Thu Jan 07, 2010 12:57 am

The future version of this tool can be found on the "new tutorial subject" : http://forum.condorsoaring.com/viewtopi ... =3&t=10934

This process to calibrate is still available.

The new version will have more feature.
Image
Creation Scenery Tutorial : http://www.lurik.fr

Fulcrum
Posts: 6
Joined: Mon Feb 08, 2010 11:33 pm

Re: Calibration of a map for Dummies

Post by Fulcrum » Tue Feb 09, 2010 10:12 pm

Heeeeeeeeeeeeeeeelp!!!
i have tried everything... (at least everything I know...) and it still doesn't work :(
I have done it in Open Office but the resulting figures are wrong... The rows and collums ARE multiples of 64 so that is not the problem.

The *.hdr file: 35N
left_map_x = 168480
lower_map_y = 4994910
right_map_x = 398790
upper_map_y = 5202180
number_of_rows = 2304
number_of_columns = 2560

and the resultig figures are

0,0,0.000.000.000.045,0.000.000.000.026
230400,0,0.000.000.000.045,22.79
230400,207360,46.89,0.000.000.000.023
0,207360,0.000.000.000.047,0.000.000.000.026

Landscape editor will not open the scenery with this data in the *.csv file
so pleeeeeeeeeeeeeeeeeease help :?
regards
F
Image

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Post by Lurik » Wed Feb 10, 2010 8:05 am

with the last version of the tool (2.7 light) i have theses result for your calibration :

excel :
0,0,45.1000122299,25.7141902376
230400,0,45.0293437919,22.79096884
230400,207360,46.89042155,22.6473614476
0,207360,46.9658259172,25.6701689711

open office
0,0,45.1000122299,25.7141902376
230400,0,45.0293437919,22.79
230400,207360,46.89,22.6473614476
0,207360,46.9658259172,25.6701689711

excel have more digit for 2 points, but the result are the same

Where are you? Which is your decimal separator?
Image
Creation Scenery Tutorial : http://www.lurik.fr

Fulcrum
Posts: 6
Joined: Mon Feb 08, 2010 11:33 pm

Re: Calibration of a map for Dummies

Post by Fulcrum » Thu Feb 11, 2010 2:23 am

Hi!
Merci pour les numéros :D

I live in Germany decimal separator is , (comma) We've figured this out (very late) last night
But thanks for your quick reply, I reaaaaly appreciate this :D The figures We've commed up with
are the same (OpenOffice2.0)
Thanx once again

Filip
Image

User avatar
macsimc
Posts: 303
Joined: Thu Jul 03, 2008 1:22 pm
Location: Romania
Contact:

Re: Calibration of a map for Dummies

Post by macsimc » Sat Feb 20, 2010 9:57 am

I have one small wish if you can , and wish to help me.
I need the corners of each tile in utm units.
I manage to look in your excel and saw that you work with utm units and convert at the end so it should not be dificult to modify ...
Thanks in advance!

User avatar
Lurik
Posts: 108
Joined: Tue Dec 09, 2008 12:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Post by Lurik » Sat Feb 20, 2010 10:50 am

If you want the utm coordinate, you have just to add/substract 90*256 = 23040 from 1 corner coordinate to find the next corner.
Start with the right_x and botoom_y for the right south corner.
Image
Creation Scenery Tutorial : http://www.lurik.fr

User avatar
macsimc
Posts: 303
Joined: Thu Jul 03, 2008 1:22 pm
Location: Romania
Contact:

Re: Calibration of a map for Dummies

Post by macsimc » Sat Feb 20, 2010 12:55 pm

great, didn't know it's so simple, tks :D

User avatar
macsimc
Posts: 303
Joined: Thu Jul 03, 2008 1:22 pm
Location: Romania
Contact:

Re: Calibration of a map for Dummies

Post by macsimc » Sat Feb 20, 2010 2:51 pm

Made a few test and mainly it's ok but i have some issues:

- My scenery header data (cut with condor 3dem):

left_map_x = 152190
lower_map_y = 4876740
right_map_x = 612900
upper_map_y = 5429610
number_of_rows = 6144
number_of_columns = 5120

width in meters:
by columns: 5120 * 90 = 460800
by difference: 612900 - 152190 = 460710

So after your calculations i'm 90m less in one tile :)

Please tell me where i am wrong.

Post Reply