Time to run ogr-decode overnight, and see if it will be processed tommorow morning
![Wink ;)](./images/smilies/icon_e_wink.gif)
![Image](https://cdn.pbrd.co/images/HLcrQVE.jpg)
P.S. To everybody wondering, no I dont use linux just for terragear to work.
IAHM-COL wrote:Ok. Then it shouldn't take Overnight. But who knows. Let's see how this go.
do you have harddrive space to catch at whatever this throws at you? If you recovered the other part of the harddrive I guess yes. If you are still trying to do this (serious work) on the 20GB you are up to hitting a wall.
wiki wrote:When building roads and/or railroads, ogr-decode may terminate with some error because elements do not have the correct coordinates. If it does, check the work directory, chances are most of the polys in your area have compiled fine and you don't need to worry about it. To prevent bogus data from killing ogr-decode, you may patch the following file in two places: terragear-cs/src/Lib/Polygon/chop-bin.cxx
Lines 222 and 375 replace with:Code: Select all
if ( (dx > 2880) || (dy > 1440) )
//throw sg_exception("something is really wrong in split_polygon()!!!!");
return;
Bogus data will be skipped, ogr-decode will continue. In order to use OSM road data at maximum potential, you can also use SQL-like queries on the dataset using the --where option. Eg:Code: Select all
./ogr-decode --max-segment 500 --line-width 12 --area-type Freeway --where "TYPE=trunk" work/Freeway data/shapefiles/road
./ogr-decode --max-segment 500 --line-width 14 --area-type Freeway --where "TYPE=motorway" work/Freeway data/shapefiles/road
./ogr-decode --max-segment 500 --line-width 10 --area-type Road --where "TYPE=primary" work/Road data/shapefiles/road
./ogr-decode --max-segment 500 --line-width 7 --area-type Road --where "TYPE!=primary AND TYPE!=motorway AND TYPE!=trunk" work/Road data/shapefiles/road
These are suggested road and freeway widths for SE Europe. Your local mileage may vary. At this time, Road and Freeway are mapped as the same material in materials.xml but that may change in the future so build your scenery with that in mind.
SHM wrote:
@Lester No plans for now.
Because its small I may do it sometime in the future.
SHM
LesterBoffo wrote:Well if you would consider it in the future, I'd like to ride the mountain valley roads North out of Kandy on my FG Yamaha motorbike.
SM wrote:Do I've to compile again?
Users browsing this forum: No registered users and 5 guests