• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

TUTORIAL Race Track Builder - Inject elevation data and terrain texture

Pixelchaser

Well-Known Member
i believe RTB does do better job these days with exporting seperated data so you could try, for simplicity i would these things in max as opposed to rtb,
 

Les Neilson

Active Member
Yeah, I understand that. Personally, I quite like the tools in RTB for mesh generation and track layout. Comes down to what you're used to I suppose. I never touched 3d modelling software before getting into RTB. Same thing for me with sketchup for making buildings and other stuff.
 

Les Neilson

Active Member
Good morning, what could be the reason that this happened to me from the attached photo?
I've had this happen to me too, but I haven't found a way to fix it, unfortunately. I recommend you save your project regularly, and if this happens, quit out and replace the the current venue.bin file with a backup. What are you using to generate this?
 

Mendizalea

New Member
I've had this happen to me too, but I haven't found a way to fix it, unfortunately. I recommend you save your project regularly, and if this happens, quit out and replace the the current venue.bin file with a backup. What are you using to generate this?
I am using the latest stable version of RTB with IGN's WMS service following the manual from the first post with a local server mounted with the download of rtb_wms_inject_2017-11-15-zip (I don't know if there is a newer version)
 

Mendizalea

New Member
Another problem I am having is the following. In some areas, especially in wooded areas, the road comes out as buried.

Photo 1: coordinates where the slope rises
Photo 2: coordinates of the road
Photo 3: RTB screenshot
Photo 4: real photo from google maps

I am doing something wrong? Is it possible to solve these kinds of problems?

Thanks
 

Attachments

Les Neilson

Active Member
Do you know if the data on the server is DTM (with trees etc. filtered out)? Can you download the data? If you can give me the url I'll take a look. You could also try my RTB plugin, but depending on the location it mayor may not work...
 

Mendizalea

New Member
Do you know if the data on the server is DTM (with trees etc. filtered out)? Can you download the data? If you can give me the url I'll take a look. You could also try my RTB plugin, but depending on the location it mayor may not work...
Thanks for your reply. Yes is DTM, you can download from here:
Digital Terrain Model - DTM05
http://centrodedescargas.cnig.es/CentroDescargas/locale?request_locale=en

This is the URL WMS service for orto:
This is the URL WMS service for elevation:
This is the configuration that I have in the config.php:
$wms_orto_url = "https://www.ign.es/wms-inspire/pnoa-ma?";
$wms_orto_layer = "OI.OrthoimageCoverage";

$wms_elevation_url = "https://servicios.idee.es/wms-inspire/mdt?";
$wms_elevation_layer = "EL.GridCoverage";
$wms_elevation_querylayers = "EL.GridCoverage";

$wms_elevation_format = "text/plain";
$wms_elevation_response_start_str = "GRAY_INDEX = ";
$wms_elevation_response_end_str = "\n";​

I don't know if your plugin includes the northern part of Spain, it would be interesting to test if it includes.

Best regards
 

Les Neilson

Active Member
I can have a look and maybe try the plugin. Can't promise anything, but if I can help I'll do my best. I see the data is in .asc format, which is a good start!
 
Last edited:

Mendizalea

New Member
I can have a look and maybe try the plugin. Can't promise anything, but if I can help I'll do my best. I see the data is in .asc format, which is a good start!
Thanks you @Les Neilson.

I want to do another test in parallel creating a WMS server with geoserver but I cannot load the ECW files of topo and elevation ASC that I have downloaded from the web that I am telling you. I have seen that a long time ago in a previous post that you did. I don't know, I'm still doing something wrong but I can't and I don't see much documentation about it.
 

RedDragon69

New Member
Hey, quick question. Is this still working? Because I can't seem to get it to work. When I try to run the test it doesn't show the side by side pictures, only the text on the top.
And if I try to run it in RTB, it says error 500, internal server error.
Please help, I really wanted to start this project. Thanks in advance!
 

Les Neilson

Active Member
Hi there!

I'll be honest, I literally haven't touched AC or RTB for about a year now. I'd written a very basic plugin for RTB to import data directly, but it still needs some work to make it properly useable. Plus it probably only works correctly for the UK. But if you're interested, I'll let you have the plugin and the source code
 

DeepJKL_FIN

New Member
Does any one have the @Les Neilson codes that he made for lidar plugin? I have tried to contact him and also Brendon Pywell but can't reach them. Much appreciated if some one could pass a download link so i could start to figure out my version of them.
 

DeepJKL_FIN

New Member
upload_2022-2-10_17-14-46.png


(The ground texture is a slope image from used ASCII data and road is manually plotted in RTB)

So... figuring things out by my self i have managed to get to the point of the presented image. Steps taken:

-Lidar to 1 big groundfiltered ASCII GRID file with gaps filled (No-data values are bad. )
-Read the file to SQL table with X,Y,Z columns and a index for XY
-The file was 12001*12001 covering 12km*12km, so first point in the file gets X=-6000 and Y=6000. This how the center of the grid file is 0,0, so when the RTB asks for the first point at (0,0) it gets the correct answer.
-Using SQL typed object and BulkInsert made possible that the file is read and written to SQL table in 32minutes, resulting 144 00 000 lines, which is 12000*12000 points.
-Made a plugin to have Fetch(1) and Fetch(list) to work.
-The best results i got when using batch limit of 500. Used a temp table in sql to insert the queried Z values and then read that as a sql answer.

-Made a logging option for MyImagePlugin and figured out that the extension of the coverage is usuallu 1250px bigger then set/wanted venue size, so i had to calculate manually the image to hit the spot. This would be nice if the plugins could Override the RTB added value so manually calculating and manipulating the BackgrounMap would not be needed.

PROBLEMS:

1. The tool only works ok if the desired venue size is less than 8x8km.. after that the initial fetching z values some how fails and the plugin stops working... i am assuming that RTB is requesting a ton of points and there is a error when plugin can not respond as fast as desired.. or something else.. have to study more and try to figure it out.

2. It would nice to have more options to import KML since with my method, i can't directly use any KML. I need a way to transfer the X and Y to fit my manually created sandbox values.
 
Top