TransDEM Forum

TransDEM News, Support, Hints and Resources
It is currently 01 Nov 2024 00:56

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Can't use vector data...
PostPosted: 20 Feb 2011 21:26 
Offline

Joined: 13 Feb 2011 18:48
Posts: 15
I always get this error when I try to import a .shp file to but the blue line down on the DEM map.

Image


Top
 Profile  
 
PostPosted: 21 Feb 2011 10:21 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1489
What is the source of this file? Did you download it in shp format yourself (where from?) or did you use a tool (which?) to convert to shp?


Top
 Profile  
 
PostPosted: 22 Feb 2011 00:12 
Offline

Joined: 13 Feb 2011 18:48
Posts: 15
I got this file directly from mrscsi. He has used it successfully. See this thread:
http://forums.auran.com/trainz/showthre ... 937&page=3


Top
 Profile  
 
PostPosted: 22 Feb 2011 10:57 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1489
But wouldn't this be "railroad_USGS_2005.shp", not "tgr29167lkB.shp"? As I illustrated later in the Auran forum thread "railroad_USGS_2005.shp" opened without problems for me too.


Top
 Profile  
 
PostPosted: 22 Feb 2011 15:10 
Offline

Joined: 13 Feb 2011 18:48
Posts: 15
I've tried several shp files. Here's another screen shot.

Image


Top
 Profile  
 
PostPosted: 22 Feb 2011 15:48 
Offline

Joined: 05 Jan 2011 16:45
Posts: 1489
Right. Just did a few tests myself.

Did you open the shp file from the directory where you unpacked the zip packages?

One peculiarity with the Shape format is that is does not consist of a single file. It's a whole bunch of files. TransDEM only uses a minimum, but this minimum is two files, not one. While we only see the .shp file, TransDEM also requires the .shx file. If the .shx file is not present in the directory where the .shp file is found, TransDEM will throw this error.

So usually you will leave the unpacked Shape file directories untouched, do not copy any of its files but open the .shp file from that directory.


Top
 Profile  
 
PostPosted: 22 Feb 2011 23:53 
Offline

Joined: 13 Feb 2011 18:48
Posts: 15
I got it working correctly now. Thanks. Yes it must have been how I was extracting the file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Imprint & Privacy

Powered by phpBB® Forum Software © phpBB Group