Page 1 of 1

Error importing asc file

PostPosted: Tue Jan 06, 2015 7:18 pm
by Cassie_Sortin
Aaron, I use Global Mapper to open my elevation data file, then export an asc file, which I try to import in L3DT.

But it keeps giving me this error:

L3DTio_ASC::LoadMapFile error:
- Unexpected token on line 4 (cellsize expected)
L3DTio_ASC::LoadMapFile error:
- File load aborted following errors
CMapGroup::HF_ImportFromFile error:
- call to LoadMapFile failed

Re: Error importing asc file

PostPosted: Tue Jan 06, 2015 10:01 pm
by Aaron
Hi Cassie,

I apologise for this inconvenience. If the file is small (<10MB), can you e-mail it to aaron@bundysoft.com for testing? If larger, can you open the file in a text editor such as notepad, and copy the top 100 lines or so and paste it here in the forum? I'd like to have a little look at it.

Best regards,
Aaron.

Re: Error importing asc file

PostPosted: Tue Jan 06, 2015 11:23 pm
by Cassie_Sortin
I sent you an email with a dropbox link with the file.

Re: Error importing asc file

PostPosted: Wed Jan 07, 2015 10:03 am
by Aaron
Hi Cassie,

All fixed. The updated plugin is available here:

http://www.bundysoft.com/L3DT/downloads ... SC-bin.zip

Unzip it somewhere, then copy the plugin file (.zeo) to the extensions folder, which should be at:

Code: Select all
C:\Program Files (x86)\Bundysoft\L3DT [version]\Extensions


This is the result I get with your file:

pop.jpg


Cheers,
Aaron.

PS: Since you map contains 'no data' regions (which aren't used by L3DT), you will find the outside of your map will have values of -9999 metres altitude. This isn't a big problem except for in the 3D renderer, as it will initially place the camera at the edge in a nodata region, putting it down in a steep, dark trench. To get out of the trench, press the forwards key ('w') a few times.

Cheers,
Aaron.

Re: Error importing asc file

PostPosted: Wed Jan 07, 2015 2:44 pm
by Cassie_Sortin
As always, thank you so much.