L3DT users' community
Large 3D terrain generator

Error importing asc file

Got a problem or need advice?

Error importing asc file

Postby Cassie_Sortin » Tue Jan 06, 2015 7:18 pm

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
Cassie_Sortin
Member
 
Posts: 10
Joined: Sat Jun 14, 2014 12:37 pm

Re: Error importing asc file

Postby Aaron » Tue Jan 06, 2015 10:01 pm

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Re: Error importing asc file

Postby Cassie_Sortin » Tue Jan 06, 2015 11:23 pm

I sent you an email with a dropbox link with the file.
Cassie_Sortin
Member
 
Posts: 10
Joined: Sat Jun 14, 2014 12:37 pm

Re: Error importing asc file

Postby Aaron » Wed Jan 07, 2015 10:03 am

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.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Re: Error importing asc file

Postby Cassie_Sortin » Wed Jan 07, 2015 2:44 pm

As always, thank you so much.
Cassie_Sortin
Member
 
Posts: 10
Joined: Sat Jun 14, 2014 12:37 pm


Return to Help and support

Who is online

Users browsing this forum: No registered users and 11 guests

cron