File format question

Vik Kumar <[email protected]> Tue, 21 Mar 2006 01:37:49 +0900
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
--===============1109221813==
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit

Hello,

My name is Vik Kumar, living in Tokyo. I've been looking for ways to
make the scenery for Japan better in flightgear.
While the easiest way to get better scenery for Japan will be to use the
50m DEM released by one of the gov't agencies here, it unfortunatley is
a product, and chances are I won't be able to feed back the resulting
scenery to the community...

So I found some downloadable data from the same agency and managed to
extract height data myself. Not quite sure about the license bit, but
for now, I want to give it a shot myself to see how the whole process of
scenery generation works.
I'm working on tile e130n30 which should give me a good coverage of big
cities and mountains, like Tokyo, and Mt Fuji.
The question is how to get this data into a terragear readable format.

The extracted data looks like this:
long lat height(meters)
502901.000000, 127621.000000, 2
502903.000000, 127621.000000, 2
502905.000000, 127621.000000, 2
502895.000000, 127623.000000, 1
502897.000000, 127623.000000, 2
502899.000000, 127623.000000, 2
...

The long/lat are in seconds, and they come in 2seconds increments, so if
I'm not mistaken, this should give me about a 50m resolution height
field. I believe the coordinates are in Japanese Geodetic
Datum2000(JGD2000) which apparently is GRS80. I know close to 0
cartography so I don't know what that actually means, but there you go.
The data integerety seems to be ok. I did a rasterization of the data
for a prefecture, and it came out pretty well.

From here, I guess I need to trim the data to fit the e130n30 boundary,
and somehow covert it to a format terragear can process. I was thinking
about making it readable in 3dem and use it to convert to a DEM, but not
sure if that will work.

Does anybody have any good suggestions for where to go from here?

Thanks
Vik

PS: If anybody is interested, I've uploaded a scaled down jpg version of
the rastered image here:
http://www.japanvik.net/files/kanagawa.jpg


--===============1109221813==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
--===============1109221813==--