• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

OpenStreetMap Datas

Messages
2,231
Country
france
Hello,
if you remember, I made French Guiana Autogen using OSM and ScenProc (Arno did an amazing tool)
but something is clearly missing, and I never had success on doing it...
On the Forum, I saw a "mini-tutorial" by MOUSY: http://www.fsdeveloper.com/forum/threads/caribsky-barbados-2017.440096/

A synopsis:
1. Get OSM data of all roads for your area
2. Filter out tracks and trails that aren't likely to be lit.
3. Load them into scenproc.
4. PLACEPOINTSALONGLINE about 40-60m apart. (50m was my real world estimate). I filter by road types for different colours (example: orange for primary roads, yellow for secondary, white for tertiary)
5. POINTTOPOLYGON to make the points usable for the next step, which is...
6. CREATEAGNLIBOBJECT. A different libary object GUID for each type of light point.

So, the first step is the one I fail, I don't know how to get roads datas (I asked Google, he told me to go on Geofabrik..... not sure its the right way...

I hope your light will guide me to the right way :)

Regards, Marc
 
Thanks for fast reply, here is the result (Using QGIS)

upload_2017-9-17_22-25-28.png


Sor some reasons, I have littoral and rivers too, and no difference between Primary, secondary and tertiary roads (Its the first time I use QGIS, or at least the first time I success of loading something it)

Regards, Marc
 
Hey Marc, the tutorial I wrote used GlobalMapper. In QGIS you will have to open the Attribute Table (1) and then sort by Highway (2). Then you can see the different types of roadways in your data and get rid of the rest. I don't work very much in QGIS but hopefully this can get you started on your way.

QGIS.JPG
 
Thanks MOUSY :)
I finally got the Attribute Table, still have to remove Non-roads items (I guess I can also remove footway, cycleway?) but I don't know how, I installed Table Manager but no changes....

upload_2017-9-18_11-26-53.png


Also, I only need littoral areas, as the photoreal only covers FG Littoral

And when done, how to select differents roads for ScenProc? (will I have to export 3 files (Primary, secondary and tertiary) on only one, and how to attribute the ligt modeln to the roads type (as you, I did Orange, Yellow and White; but verry simple textures as its a freeware autogen ;))

Thank you for Helping me :)
 
I have very basic knwoledge about Scenproc but I working a Little with it, you just need to assign the tag in the Scenproc file with the atribute tag of interest. don't need to delete anything. just search for the tag of the roads involved and so any other objects.
 
Marc, Bernardo is correct, I forgot that scenproc can filter out unwanted data when you first load the data. Sometimes I tend to clean up my data before loading into Scenproc and I rarely ever use filters when loading, so it slipped my mind.
Here is an example of the type of filters that you should be looking for:


Code:
ImportOGR|D:\Program Files (x86)\gmax\gamepacks\FSX_GmaxGamePack\TBPB\OSM\BIM_roads.shp|*|GM_TYPE = "State Highway";GM_TYPE = "Major/US Highway";GM_TYPE = "Residential Road";GM_TYPE = "Collector Road";GM_TYPE = "Arterial Road";GM_TYPE = "Alley or Driveway"|NOREPROJ

These same filters can be used later when placing points along lines.

P.S: I am unsure of what you mean by "Littoral Areas".

Regards,
Zev.
 
P.S: I am unsure of what you mean by "Littoral Areas".


I mean the cities and roads of the littoral only (as the datas cover the whole country, I want to remove these, as the Photoreal only cover the littoral cities)
 
Im back,
so som, I will tell you what I have:
form Geofrbrik, I download a file named: guyane-latest.osm.pbf
I load it on QGIS and I have the result I show you on my pics.
Now, what I have to do? export as .OSM (I used "map.osm" for the autogen) or shp? if so, how to export, it only propose me to export in DXF.
 
Marc, if you want only the areas that your photoreal covers, you will have to remove the rest of the data that you do not want. You can manually select and delete the areas that you do not need, or perhaps you can research how to get the bounding areas of your photoreal into a shapefile that you can use to cull your data. But that is an entirely different topic. We should concentrate on getting you started first.

It is best to export ESRI Shapefiles for Scenproc to work with.
The following link explains how to get Shapefiles from QGIS and how to work with OSM data for autogen:
http://www.fsdeveloper.com/wiki/index.php?title=Autogen_from_OpenStreetMap_data_with_scenProc

Regards,
Zev.
 
so, Shape Files are for Streets lights only right? I know how to work with .OSM as I did my autogen this way ;)
I will have a look at the link and complete my 3 lights models (there are still DAE models. waht setting do you use in MCX to have them working, I have white, orange and yellow)

Also, I will switch to another photoreal I have to understand the method better (smaller area, full area, its Wallis Island)

Regards, Marc
 
Shapefiles are for everything in Scenproc. If you did autogen already then it is the same procedure.

These are my settings. The most important ones for bright enough lights are Destination Blend = One and Source Blend = One.
Dest Source Blend.JPG
Look on the forums for the other ways that people have created light halos:
http://fsdeveloper.com/forum/threads/new-way-to-make-light-splash.273813/
I also recommend researching how to edit and brighten mipmaps, otherwise you may find that your lights fade very quickly.

Zev.
 
okay, on QGIS, I extracted the file as ESRI Shapefile, and it given me 5 files: .dbf , .prj , .qpj , .shp , .shx .

I tried to load the shp on ScenProc... and I cried...

upload_2017-9-18_21-52-57.png


I guess it mean I did the wrong way...

Regards,
Marc
 
Marc, I think you need to take a read of the scenproc manual and the link I sent.
Importing shapefiles are done via the IMPORTOGR step.
 
Hi,

scenProc can also work with OSM files directly. Often that is easier than first going to Shapefiles and it works around the restriction that some OSM attributes are not in the SHP files on GeoFabrik.

As far as using scenProc, check the manual that comes with the tool, it comes with sample configurations you can use as a starting point.
 
Back
Top