OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 OkMap Forum - English
 Errors reporting
 Error when loading TIF map
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chis

New Zealand
8 Posts

Posted - 25/02/2013 :  13:24:06  Show Profile  Reply with Quote
When trying to load a GeoTIF file with releif shading as a map, OkMap crashes. I also tried saving the file as a normal TIF and had the same crash. I accepted all defaults as I loaded the file.

Version 10.8.5
Win7x64 (6.1.7601 Service Pack 1)
CLR version 2.0.50727.5466
Source: Cartography

Message: Arithmetic operational resulted in an overflow.

StackTrace: at Cartography.Functions.DistToPix(Double ZoomFact, CartMeters PointDist, Post RastMapScrollPix, map Map)
at OkMap.frmMap.LDistToPix(CartMeters meters)
at OkMap.fmMap.AddPoint(Point[]& ponts, GeoCoordRad geoCoordRad, datumType mapDatum, projType mapProjection)

okmap

Italy
2578 Posts

Posted - 25/02/2013 :  13:42:10  Show Profile  Visit okmap's Homepage  Reply with Quote
Hi Chis, please can you send us the GeoTiff file so we can do some tests?
You can use any of free services to send email with heavy attachments and then post, in this topic, the link to download your file.
Thanks.
Go to Top of Page

chis

New Zealand
8 Posts

Posted - 25/02/2013 :  14:04:40  Show Profile  Reply with Quote
https://docs.google.com/file/d/0B551NemEg4Vsb0dVTjFhWXVxWkE/edit?usp=sharing
Go to Top of Page

okmap

Italy
2578 Posts

Posted - 26/02/2013 :  11:57:10  Show Profile  Visit okmap's Homepage  Reply with Quote
I've download the file.
Please a little patience to analyze it.
Go to Top of Page

okmap

Italy
2578 Posts

Posted - 26/02/2013 :  12:10:23  Show Profile  Visit okmap's Homepage  Reply with Quote
Please do the following steps:
1. File - Load - Map
2. Select the file format = GeoTiff (*.tif)
3. Select your 1-0002-0002.tif file
4. See file information and press "Next >"
5. Select "Longitude / latitude" (IMPORTANT this must be compliant with your map. You can see this in previous "Information" form) and press "Ok"
Go to Top of Page

chis

New Zealand
8 Posts

Posted - 26/02/2013 :  23:01:10  Show Profile  Reply with Quote
That works fine.

So sorry if this was my silly error.
Go to Top of Page

okmap

Italy
2578 Posts

Posted - 27/02/2013 :  08:56:56  Show Profile  Visit okmap's Homepage  Reply with Quote
Don't worry, this is the purpose of the forum .
Ciao.
Go to Top of Page

okmap

Italy
2578 Posts

Posted - 18/11/2013 :  09:26:28  Show Profile  Visit okmap's Homepage  Reply with Quote
OkMap uses Freeimage (http://freeimage.sourceforge.net/) and it loads many image formats (TIFF included).
I don't understand if you have found some issues during map loading with OkMap.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07