curt
47771c9bb4
Several changes related to [trying to] make more effective use of the global
...
land cover/land use raster data, but there seem to be some very significant
issues no matter how you cut it ....
2003-08-22 19:46:28 +00:00
curt
460d6349b0
Add a check for additional degeneracy.
2003-08-22 19:15:48 +00:00
curt
7a4f52e98b
Fixes corresponding to slightly different terrafit output.
2003-08-22 19:13:02 +00:00
curt
38bb74f339
Add a routine to catch/remove some addition degeneracy our polygon clipper
...
can produce.
2003-08-22 17:34:56 +00:00
curt
0dc39b1911
Try to be just a bit smarter about how to assign an area type to a triangle.
2003-08-20 17:18:50 +00:00
curt
83ebd1eba7
Use the correct number of parameters when calling the gen_runway_area()
...
functions.
2003-08-20 16:52:43 +00:00
curt
5937926a0b
Ok, big oops here. I was passing 3 parameters to a 4 parameter function,
...
but because of the use of default arguments, the compiler wasn't flagging
this as an error. This caused a) much stupidity and b) additional stupidity.
I also found a case where I passed in a length and width extention parameters
but, used the length parameter twice ignoring the width parameter. This
yields much more sensible and expected results when building the grass buffer
zone around a runway.
2003-08-20 16:52:04 +00:00
curt
9e9a13bbdf
Do some additional processing on the airport surface grid to try to clip
...
out spikes and other wierdness and generally keep a reasonable bounds
on how much the surface can vary.
2003-08-20 16:49:12 +00:00
david
fafab4a3a0
Ignore another app.
2003-08-20 12:25:14 +00:00
curt
5943155bad
Try an idea that is hopefully slightly more intelligent about what land
...
cover area to assign a "default cover" triangle to.
2003-08-19 02:51:08 +00:00
curt
4ff5acb28c
Still support a minimum angle threshold for quality refinement in the
...
trangulator wrapper, but this isn't used by the calling layer any more.
2003-08-19 02:38:08 +00:00
curt
fe6ff15206
Remove --min-angle option.
2003-08-19 02:36:10 +00:00
curt
730c454320
- Test a different approach for assigning land cover attributes to "default'
...
cover" areas. Rather than artificially cut in polygon areas, just lookup
a land cover type for unassigned triangles. I think this has potential, but
it needs more work to eliminate some odd artifacts.
- Revove --min-angle= option.
- Don't re-fit() triangle array to try to achieve a particular range of
node quantities ... this is all pre-computed with a much smarter, much
more efficient algorithm.
2003-08-19 02:35:35 +00:00
curt
f5f961b8c0
Remove support for a "minimum triangle angle" quality constraint when
...
triangulating a tile. A better strategy is to have better input that doesn't
need to hide behind this trick.
2003-08-19 02:32:11 +00:00
curt
eb3a3a4fa2
Update examples.
2003-08-19 02:30:05 +00:00
curt
efbe6af104
calc_tex_coords() -> sgCalcTexCoords()
2003-08-19 02:29:44 +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
39222a737e
Handle .zip'd SRTM data files directly.
2003-08-19 02:25:48 +00:00
curt
aec29df1c8
Working towards completely depricating the previous insanely stupid array fit
...
algorithm.
2003-08-19 02:24:38 +00:00
curt
af6dc9bb0d
Various parameter tweaks.
2003-08-19 02:23:25 +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
05c765b397
- Make the bucket/dem coverage check slightly fuzzy in case of slight
...
numerical rounding errors.
- Convert several usages of int = 0 or 1 to bool = false or true
2003-06-12 20:01:34 +00:00
curt
f7a4a8bfa0
Rainer Emrich:
...
Updates to DEM parser to make it more compliant with the spec.
2003-04-02 17:39:46 +00:00
david
3169a0255f
Roll out the last changes, since they were making far too narrow
...
polygons out of roads.
2003-04-02 16:39:52 +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
david
51d5fe00ea
Install arrayfit along with the other utilities.
2003-03-20 14:50:54 +00:00
david
67ea97f704
Oops -- the array wasn't being read when there was no *.fit file (my fault).
2003-03-20 14:50:33 +00:00
curt
0cbbe80488
Changes to track libArray api tweaks.
2003-03-19 22:52:04 +00:00
curt
bab9af52b3
Just ignore "void" data points when doing the surface fit. I think this
...
is probably better than guessing at a value and fitting to the guessed value.
For corner points (where we *need* a value to do the fit) use the elevation
of the "closest" euclidean-wise valid point.
2003-03-19 22:51:26 +00:00
curt
869f0412a3
Updates to match libArray api changes.
2003-03-19 22:49:13 +00:00
curt
f526985854
Update counter index names to make the code more explicite.
2003-03-19 22:48:35 +00:00
curt
123fb92d40
Updates to libArray and a few interface tweaks to allow more sensible
...
handling of void (non-data) in the original DEM/SRTM.
2003-03-19 22:47:45 +00:00
david
dbdc51696e
Make sure fitted_in is always allocated, to avoid a segfault.
2003-03-19 01:59:02 +00:00
david
a0b4097f5d
Fix iterator assignment.
2003-03-19 00:30:42 +00:00
david
077f32fc60
Ignore generated files.
2003-03-19 00:28:49 +00:00
curt
119d46058b
I wrote arrayfit and it worked.
...
Then I needed to modify libArray code so that other portions of the code
could use the pre-computed fit data.
Today I discovered that arrayfit was messed up. That is now fixed.
2003-03-17 17:25:11 +00:00