1
0
Fork 0
Commit graph

126 commits

Author SHA1 Message Date
curt
2e93d6c7a6 Add a script to preprocess a USA radio tower database into something we
can use.
2004-04-14 18:16:25 +00:00
curt
eea57f81b8 Add some end time estimation code to keep myself entertained while I wait
for the program to finish.
2004-04-14 14:35:09 +00:00
curt
92650b6ded Need to #include <stdio.h> if we are using printf() 2004-04-10 14:22:08 +00:00
curt
e779c45679 Output a % done periodically. 2004-04-09 15:55:07 +00:00
curt
1399eb9de3 Rename tgSplitPolygon() -> tgChopPolygon() which is slightly more descriptive
and doesn't sound so much like the split long edges function.
2004-04-08 19:47:39 +00:00
curt
b6be77e5da Add an option to subdivide polygon edges so that no single edge segment is
longer than the specified length (in meters).  Defaults to no edge subdividing.
2004-04-08 19:36:43 +00:00
curt
65ea77978f Make a couple function calls a bit more "name space friendly".
Expose a polygon function that will split up long edge lines to keep the
  max edge distance below some threshold.  This could be used for instance
  to reduce long lines in polygon area shapes so they can better follow
  the underlying terrain changes.
2004-04-08 19:20:19 +00:00
ehofman
791b1bb4fc David Luff:
The patches deal with three separate issues, all rolled up into one
tarball:

Currently, arrayfit always appends .arr.gz onto the name passed on the
command line, meaning that only tile names can be passed.  The patch strips
off .arr or .arr.gz if present prior to it's appending, meaning that tile
names or filenames can be passed on the command line.

The interface to the OSGB36 conversion functions is cleaned up a lot.  I
can't believe I originally wrote it in such an ugly manner!

A lot of console output (> 5000 lines per tile) is removed from the final
construction process, meaning that the output left can actually be read.
2004-03-08 09:47:42 +00:00
ehofman
a71d62c859 David Luf:
The attached patches significantly quieten the output from genapts, which in it's current form resembles the universe flying by on a bad hair day   Remember chaps, console output on Windows is slooowwwwww...  Normal service may be resumed using --verbose or -v.  I've also added a short help, obtainable with --help or -h.  I've also added a couple of extra options, --airport=abcd for just generating a particular airport, and --tile=<[we]xxx[ns]xx> for generating a 1x1 degree tile.  We currently have --chunk=<[we]xxx[ns]xx> for generating a 10x10 degree chunk, and I'd like to eventually add --tile as an option to all tools that take --chunk.

This one adds the tile option to
tgvpf.

Erik Hofman:

Some small code changes for IRIX.
2004-02-26 15:33:32 +00:00
curt
d0c14eef21 Tweak error thresholds. 2004-01-08 21:36:18 +00:00
curt
da71823a3e Tweak to build with latest simgear cvs. 2004-01-08 21:35:56 +00:00
curt
a27a7d9367 Updated to track a minor file naming change. 2003-12-15 16:44:27 +00:00
curt
a4ae777cf2 Add an example usage: 2003-12-15 16:34:09 +00:00
curt
ee4451de4d Initial revision. 2003-12-15 16:30:04 +00:00
curt
e8bcdaa4d0 Updates to track recent changes in simgear. 2003-11-12 22:16:22 +00:00
ehofman
52ef60a056 Reorginize the configure script to math the one from FLightGear more closely. Add checks for the presence of GLIB and GTS. 2003-08-29 18:32:28 +00:00
curt
5717e1df5f Patch from Norman to fix a slight oversite in file date querying. 2003-08-28 14:54:32 +00:00
ehofman
3ffd52820c Check whether the creatin time of the output file is after the creation time of the input file. If so, skip to next file 2003-08-28 14:44:31 +00:00
ehofman
a9ec1ccdb6 Fix some mistakes 2003-08-28 14:09:05 +00:00
ehofman
703fc67636 Make reads() more robust and easier to follow 2003-08-28 12:36:31 +00:00
ehofman
0599f873dc Don't forget to terminate the string 2003-08-28 12:03:15 +00:00
ehofman
da7d172d37 Convert \r to \n while reading the file 2003-08-28 09:40:50 +00:00
ehofman
6aaec038f8 Solve a dependancy problem 2003-08-28 09:17:19 +00:00
ehofman
fc9f7069ca Allow for header files that are generated on machines with non UNIX like line endings 2003-08-28 09:01:31 +00:00
curt
0a4cc36775 Use <simgear/compiler.h> functionality to make STL includes more portable. 2003-08-27 14:02:29 +00:00
david
20dc0cf8a0 Ignore generated files. 2003-08-25 19:35:50 +00:00
curt
e93197d1b5 David Luff:
Attached are patches to Terragear to enable it to compile out of the box on
Cygwin (once all the relavent libraries have been compiled).  Specifically
they fix a conflict with another version of min/max somewhere on the
system.
2003-08-25 19:12:20 +00:00
david
ced60ae2e2 Remove IOSTREAMH macro -- it turned out to be something specific to
SGI headers, rather than a program-specific compilation macro.  Always
assume that the iostream library is present.
2003-08-25 18:18:58 +00:00
ehofman
4516c4a9d6 Make it somewhat IRIX/MipsPro compliant again. We still need to resolve the IOSTREAMH declaration issue 2003-08-25 17:52:42 +00:00
david
631c9ab968 Fixed to compile and install using an ANSI C++ compiler like G++ 3.3.
Some conditionals may be required to build with other compilers.
2003-08-25 17:11:43 +00:00
ehofman
8c6c0c480c Satisfy a dependency 2003-08-24 18:55:21 +00:00
ehofman
4e1da3cedf Compiler fix 2003-08-24 18:48:18 +00:00
david
fafab4a3a0 Ignore another app. 2003-08-20 12:25:14 +00:00
curt
0b4b91c90f Unraise the verbosity level. 2003-08-19 02:27:08 +00:00
curt
b2d808f214 Tweak an output message. 2003-08-19 02:26:43 +00:00
curt
d0f17a2cd7 Fix for properly handling SRTM voids ... terrafit.py rescales the data range
so that all the values are positive this make things a little trickier inside
terra.
2003-08-16 16:28:55 +00:00
curt
9ab16521f4 Minor tweaks for better debugging/monitoring 2003-08-16 15:39:59 +00:00
curt
ad75df026d Ignore SRTM "void" values. 2003-08-16 14:53:00 +00:00
curt
a20d85ac0d Picky, picky :-) 2003-08-16 02:09:06 +00:00
curt
eb04a8771d Initial revision. 2003-08-16 01:59:37 +00:00
curt
bf32c9e447 Fix a compile error. 2003-08-16 01:58:15 +00:00
curt
df54cff836 The TerraGear version of Michael Garland's "Terra" program now supports
minnodes directly, so I have slightly tweaked the python wrapper script
in light of this.
2003-08-16 01:57:28 +00:00
curt
9e38f10dc6 Add src/Prep/Terra and src/Prep/TerraFit 2003-08-16 01:48:38 +00:00
curt
37d4e6f738 - Various tweaks to make the code build with gcc-2.95 under linux.
- added a -n <num> option to specify a minimum number of nodes to emit
  irregardless of the error threshold.
2003-08-16 01:38:22 +00:00
curt
1a3c24506b Original version of Michael Garlands terra program version 0.7 (public domain) 2003-08-16 01:35:54 +00:00
curt
d309a52bee Intial revision. 2003-08-16 01:18:39 +00:00
curt
170783ea73 The terrafit stuff is getting a much deserved and belated promotion ... 2003-08-16 01:18:01 +00:00
curt
533db6e82d Initial revision. 2003-06-12 20:05:01 +00:00
curt
c148689adc Fixes to match changes in SimGear-0.3.3 2003-06-12 20:02:08 +00:00
curt
07d17d2536 Initial revision of a scipt that leverages the "terra" utility to
impliment essentially the same thing as "ArrayFit".   Requires the terra
program, but the terrafit.py script should take care of the pre/post
processing.
2003-03-31 20:10:27 +00:00