• 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.

SubtractFeatures questions...

Messages
119
Country
italy
:)

Excuse Arno you can subtract the streets (or even building) from processing
with SubtractFeatures from the airport zones type Aeroway = aerodrome,
This to prevent that when you create the lights on the roads does not also create at the airport because they use the roads "Service" and these are sometimes also at airports ....
use OSM data without being manipulated and do not want to create polygons to exclude them ...

tipe:
SubtractFeatures|FTYPE=LINE;highway=service|aeroway=aerodrome|1

thank you
 
Hi,

The SubtractFeature polygon only works with polygons. So you can't subtract the airport from the road lines.

What you could do is use the FilterFeatures step to remove those roads that are inside the airport polygon.
 
:oops:

Thanks Arno, I was back with versions of ScenProc and are no longer updated, I did not know that function ....
I installed the version 2 and tried to put the string with:

FilterFeatures | FTYPE = "highway" | type = "aerodrome" | OVERLAP_BBOX

but it does not work, definitely wrong syntax also because I know nothing of the function ...
Where am I wrong?

would you be so kind as to write a correct string if any?

oWAzEtO.jpg


:)
 
;)
Ok

The only string that seems to work is this:

FilterFeatures | highway = service | landuse = grass | OVERLAP_BBOX

because the service roads through the meadows or grass around the airport, is not the best but it works is this is important.

Very good and useful function ... Arno nice job.

Thank you.
 
:D

Great, I made a last test and it works perfectly now works on the area that interested me ....

FilterFeatures|highway=service|aeroway=aerodrome|OVERLAP_BBOX



Perfect was just what I needed.
Thanks again.
 
Since you are using a .osm file this should work:

FilterFeatures|highway="service"|aeroway="aerodrome"|OVERLAP_BBOX

Other modes then OVERLAP_BBOX are slightly more accurate. Now you can also loose roads near the airport.
 
:)

Arno Hello, sorry if I'm back on the topic, but am having a few problems with this filter on wide air.

If you use the FILTERFEATURES filter on a big airline like Paris sends me an error that I enclose you:
IMPORTGR Too many tags in relations 52411

It means that the area in question is too big?

If I remove the filter the error message does not appear.
Is there any limit or bugs?

Thank you.
Antonio

snNqjik.jpg
 
Hi,

How the ImportOGR step works is not influenced by other steps. So I suspect it is something in the data itself, nothing to do with the filter step. These are warnings and errors thrown by OGR when reading the OSM file. Some features are skipped, but in general it should proceed. Although this is the first time I have seen an error for it as well.
 
:)

OK...
Yes, the compilation continues the same until the end
and BGL file is generated.
But the filter is not activated:
Filtered out is 0 feautures
This seems the only thing I missed ....
I tried to divide the area into smaller parts, but the error is repeated ...

I will try to re-download the new data, maybe something is damaged archive.

I'll let you know ... Thanks for now.
 
:(

HI Arno, I have downloaded the data back but the error persists.

He's doing as streetlights throughout Europe and are about halfway through,
the strange thing is that I made the mistake only in a few areas:
Paris, Greece and Andorra (for now), if you want to check you can use as Andorra OSM file that is small and you can check the error
without losing too much time waiting.

How do you see the error occurs in both large area that even in very small areas, I think we know something maybe in the script
Blasting the filter, provided that effectively are not real errors in the OSM data files.

Not a big problem, but doing the lights if the filter does not work you also lights on the slopes, for example, if a road used
passes under the airport lights are generated the same as above and then on the track, such as the Airport of Paris Charles de Gaulle
where the highway and a main road passes under the tracks.

I am attaching the same mistake in Andorra ....

Good evening.
:)

aJFOZBf.jpg
 
I'll try with the Andorra data. I'm loading that data every build as a test and never saw such an error. I'll try with your script.
 
Ops.....:oops:

I tried to download the Andorra area directly
... from the map and the problem by filling does not occur.

with this evidence, perhaps, it shrinks to only archive of already compressed data
on the site...
I'm sorry the disorder .... I had not thought to do this test first ...
it would be nice thing to the error anyway.
 
Back
Top