Calibration of a map for Dummies

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

Moderators: Uros, OXO, GR, ASH33M

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

Calibration of a map for Dummies

Postby Lurik » Tue Dec 01, 2009 4:07 am

Hello,

I'm working on a new scenery. After some problems for calibration, i found this old very nice post : viewtopic.php?f=3&t=8141&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 : viewtopic.php?f=3&t=10934
Last edited by Lurik on Sat Feb 20, 2010 11:53 am, edited 3 times in total.
Image
Creation Scenery Tutorial : http://www.lurik.fr

User avatar
OXO
Condor Team
Posts: 4459
Joined: Mon Feb 13, 2006 2:08 am

Re: Calibration of a map for Dummies

Postby OXO » Tue Dec 01, 2009 11:02 am

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

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

Re: Calibration of a map for Dummies

Postby Lurik » Tue Dec 01, 2009 11: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

Postby MaintenanceMan » Tue Dec 01, 2009 11:29 am

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

Image

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

Re: Calibration of a map for Dummies

Postby Lurik » Wed Dec 02, 2009 1: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: 705
Joined: Mon Feb 27, 2006 8:16 pm

Re: Calibration of a map for Dummies

Postby Pit_R » Wed Dec 02, 2009 1:49 pm

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

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

Re: Calibration of a map for Dummies

Postby Lurik » Wed Dec 02, 2009 4: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 : viewtopic.php?f=3&t=10934
Last edited by Lurik on Sat Feb 20, 2010 11:52 am, edited 2 times in total.
Image
Creation Scenery Tutorial : http://www.lurik.fr

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

Re: Calibration of a map for Dummies

Postby Lurik » Thu Jan 07, 2010 1:57 am

The future version of this tool can be found on the "new tutorial subject" : viewtopic.php?f=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: Tue Feb 09, 2010 12:33 am

Re: Calibration of a map for Dummies

Postby Fulcrum » Tue Feb 09, 2010 11: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: 106
Joined: Tue Dec 09, 2008 1:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Postby Lurik » Wed Feb 10, 2010 9: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: Tue Feb 09, 2010 12:33 am

Re: Calibration of a map for Dummies

Postby Fulcrum » Thu Feb 11, 2010 3: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: 301
Joined: Thu Jul 03, 2008 1:22 pm
Location: Romania
Contact:

Re: Calibration of a map for Dummies

Postby macsimc » Sat Feb 20, 2010 10: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: 106
Joined: Tue Dec 09, 2008 1:25 am
Location: Vincennes - France

Re: Calibration of a map for Dummies

Postby Lurik » Sat Feb 20, 2010 11: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: 301
Joined: Thu Jul 03, 2008 1:22 pm
Location: Romania
Contact:

Re: Calibration of a map for Dummies

Postby macsimc » Sat Feb 20, 2010 1:55 pm

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

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

Re: Calibration of a map for Dummies

Postby macsimc » Sat Feb 20, 2010 3: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.


Return to “Scenery”

Who is online

Users browsing this forum: No registered users and 4 guests