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

addtocells Parameter in shp2vec

Messages
74
Country
germany
Looking thru the documentation I could not make out what excatly is the scope of a cvx file produced without the -addtocells parameter. As I understand a cvx file made without that parameter would overwrite the files(s) in the original scenery.
Two questions for which I could not find an answer:
- is that true for _all_ vector data in the original cvx file, even if the new file contains only data of one category (e.g. only roads) ?
- Probably only those vectors are overwritten which are within a "cell" for which new data are provided, but how large is a "cell" that will be overwritten this way?
I gather that in some cases knowing this could allow us to make scenery without including unnecessary exlude files, if all or some vectors are excluded automatically just by making a cell without the -addtocells parameter.
 

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
5,944
Country
us-wisconsin
The clip level is QMID 11 ( LOD 9 ), so without any experimentation, that is the replacement level. ( traffic is QMID 15 )

If you wish to replace exactly the contents of that "cell", then first clip the shapefile to the QMID 11, then compile without -addtocells. This should replace traffic as well, as the QMID 15 is a subset of the QMID 11.

It might be a matter of semantics, but you aren't actually excluding. Excluding takes out entire lines or polys ( including flattens if desired ) that are intersected with the exclude poly. For example, if a lake straddles more than one QMID 11, then the portion of the lake not in the replacement cell is left untouched.

Without experimenting, I do not know what happens to the flattens/mesh.

Dick
 
Messages
288
Country
us-washington
The clip level is QMID 11 ( LOD 9 ), so without any experimentation, that is the replacement level. ( traffic is QMID 15 )

If you wish to replace exactly the contents of that "cell", then first clip the shapefile to the QMID 11, then compile without -addtocells. This should replace traffic as well, as the QMID 15 is a subset of the QMID 11.

It might be a matter of semantics, but you aren't actually excluding. Excluding takes out entire lines or polys ( including flattens if desired ) that are intersected with the exclude poly. For example, if a lake straddles more than one QMID 11, then the portion of the lake not in the replacement cell is left untouched.

Without experimenting, I do not know what happens to the flattens/mesh.

Dick

Flattens are vector data, so they are affected. Mesh would not be affected by this mechanism.

-Doug
 
Top