Re: [Flightgear-devel] Using shapefiles other than VMAP

2009-09-11 Thread Jon Stockill
cullam Bruce-Lockhart wrote:
> Hey gang. I'm not sure if the answer to this will turn out to be retardedly 
> simple, or ludicrously complex, but here goes. 
> 
> I've build scenery for the island of Newfoundland with very high resolution 
> for the elevation. But now the low-res, VMAP0 looks awful. In many cases, it 
> cuts canyons and builds wall through an otherwise rugged landscape. I can't 
> find VMAP1 for Canada, but I found a set of vector data in some sort of 
> shapefile format that is at 50,000:1 as opposed to VMAP0's 1,000,000. It's 
> called CanVec. I've got a descriptive html file for one section of land 
> attached to this e-mail.  The question is, how do I format this data, or 
> modify my build commands to use it? For one section of the smallest size the 
> data is cut into, I have a file with a name of the format 
> 001n10_2_0_BS_1250009_1 where: 
> -> 001n10 is the land area described in this file (this is the same numbering 
> system that the elevation data I'm using used)
> 
> -> 2_0 is the same for every one I've got, I'm not sure what the significance 
> is. 
> 
> -> BS is a two letter code that varies from file to file. It might refer to 
> the coverage described by the given shapefile. The others are EN, FO, HD, IC, 
> LX, SS, TO, TR, and VE. Every section has some of each of these. 
> 
> -> 1250009 is changes for each file name. But ALL file names end in 0009. So 
> the 125, versus 176 or any other number is the distinctive thing in the file 
> name. 
> 
> -> some of the filenames have two or three copies, where the only difference 
> is this last number. It's varries between 0, 1 and 2. 
> 
> -> for EVERY file name, I have a .dbf, .prj, .shp, and .shx file. 
> 
> Every section is in it's own folder, so all the 001n10s are grouped together. 
> In each group, is an html file like the one attached, which might tell you 
> far more than I just have. If somebody could give me some tips, or point to 
> some documentation as to how I could use this data to build my scenery in 
> Terragear, it would be really helpful! Up till now, I've been using tgvpf, 
> but that works directly on the VMAP0 stuff, so I'm guessing it won't work 
> without some modification to structures, commands or parameters here. Thanks 
> a lot guys! 
> -cullam

shapedecode or ogrdecode should process those files for you - you just 
need to ensure the coordinates are wgs84 and not some other projection 
(if they are then they can be converted with the ogr2ogr tool from gdal/ogr)

Jon

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Using shapefiles other than VMAP

2009-09-11 Thread cullam Bruce-Lockhart
Hey gang. I'm not sure if the answer to this will turn out to be retardedly 
simple, or ludicrously complex, but here goes. 

I've build scenery for the island of Newfoundland with very high resolution for 
the elevation. But now the low-res, VMAP0 looks awful. In many cases, it cuts 
canyons and builds wall through an otherwise rugged landscape. I can't find 
VMAP1 for Canada, but I found a set of vector data in some sort of shapefile 
format that is at 50,000:1 as opposed to VMAP0's 1,000,000. It's called CanVec. 
I've got a descriptive html file for one section of land attached to this 
e-mail.  The question is, how do I format this data, or modify my build 
commands to use it? For one section of the smallest size the data is cut into, 
I have a file with a name of the format 001n10_2_0_BS_1250009_1 where: 
-> 001n10 is the land area described in this file (this is the same numbering 
system that the elevation data I'm using used)

-> 2_0 is the same for every one I've got, I'm not sure what the significance 
is. 

-> BS is a two letter code that varies from file to file. It might refer to the 
coverage described by the given shapefile. The others are EN, FO, HD, IC, LX, 
SS, TO, TR, and VE. Every section has some of each of these. 

-> 1250009 is changes for each file name. But ALL file names end in 0009. So 
the 125, versus 176 or any other number is the distinctive thing in the file 
name. 

-> some of the filenames have two or three copies, where the only difference is 
this last number. It's varries between 0, 1 and 2. 

-> for EVERY file name, I have a .dbf, .prj, .shp, and .shx file. 

Every section is in it's own folder, so all the 001n10s are grouped together. 
In each group, is an html file like the one attached, which might tell you far 
more than I just have. If somebody could give me some tips, or point to some 
documentation as to how I could use this data to build my scenery in Terragear, 
it would be really helpful! Up till now, I've been using tgvpf, but that works 
directly on the VMAP0 stuff, so I'm guessing it won't work without some 
modification to structures, commands or parameters here. Thanks a lot guys! 
-cullam




  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel