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

Error when RUN compile

Messages
173
Country
italy
Hello Arno, excuse the trouble here ...I am very inexperienced.

Based on your Workflow Video, I'm trying to get my scenery filled with autogen houses. I almost copied your script and put my Italian comments in.

# TEST FILE Autogen per Yaroslav
#
IMPORTOSM|C:\Users\Utente\Documents\Yaroslav.osm|*|highway;landuse;building
#
EXPORTSHP|*|Yaroslav
#
SPLITGRID|AGN|building=*
#
# AGGIUNGERE attributi per indicare il TIPO di edifici
# 1 = POLIGONI RETTANGOLARI
# 2 = POLIGONI Quasi Rettangolari (Sulla base di Rapporto di Superficie)
# 3 = POLIGONI di Forma Regolare (Molti Bordi paralleli)
# 4 = POLIGONI CONVESSI
# 5 = POLIGONI CONCAVI
ADDATTRIBUTE|FTYPE=POLYGON;building=*;FNUMVERT=4;FNUMPERPANG=4|BUILDTYPE|1|1
ADDATTRIBUTE|BUILDTYPE!1;FTYPE=POLYGON;building=*;FAREARAT>0.70|BUILDTYPE|2|1
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;FTYPE=POLYGON;building=*;FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10|BUILDTYPE|3|1
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;FTYPE=POLYGON;building=*;FCONVEX=1|BUILDTYPE|4|1
ADDATTRIBUTE|BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;BUILDTYPE!4;FTYPE=POLYGON;building|BUILDTYPE|5|1
#
# Aggiungere attributi per indicare la categoria degli edifici basati sull'uso del suolo dei poligoni
# 1 = RURALE
# 2 = RESIDENZIALE
# 3 = INDUSTRIALE
ADDATTRIBUTE|FTYPE=POLYGON;building=*|BUILDCAT|1|1
ADDATTRIBUTEIFINSIDE|FTYPE=POLYGON;building=*|FTYPE=POLYGON;landuse=residential|BUILDCAT|2|1
ADDATTRIBUTEIFINSIDE|FTYPE=POLYGON;building=*|FTYPE=POLYGON;landuse=industrial|BUILDCAT|3|1
#
# CREARE NUOVE CARATTERISTICHE
REPLACEPOLYGONBYBUILDINGRECTANGLES|BUILDTYPE=3
#
PLACEPOINTSALONGLINE|FTYPE=LINE;highway=secondary|150|5|type|licht|hdg
#
# PROPRIETA'
SETAGNBUILDINGHEIGHT|1.0;0.0;0.0;0.0
SETAGNBUILDINGTEXTURE|autogen_RU
#
# VEGETAZIONE
CREATEAGNPOLYVEG|FTYPE=POLYGON;landuse=forest|{c9dc45ae-f240-42a9-a137-b7617452a308}
#
# EDIFICI
CREATEAGNGENBUILD|BUILDCAT=1;BUILDTYPE<3|{5ae04eb6-934c-4f63-bb48-5e7dee601212}
CREATEAGNGENBUILD|BUILDCAT=2;BUILDTYPE<3;FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CREATEAGNGENBUILD|BUILDCAT=2;BUILDTYPE<3;FWIDTH>20|{311de8c7-e596-4e28-a94d-da09d0252ce4}
CREATEAGNGENBUILD|BUILDCAT=3;BUILDTYPE<3|{4eb68be7-2f1f-4cd2-920e-becfa2d8c888}
#
# LIBRERIA OGGETTI
CREATEAGNLIBOBJ|FTYPE=POINT;type=licht|{0017a236-464f-14fd-f77f-2996fed44864}|hdg|8;8
#
# SALVA I FILE AGN
WRITEAGNFILES|FSX|E:\Microsoft Games\Microsoft Flight Simulator X\Addon Scenery


From the Scan Attributes no errors. When I compile this is the result.

9.25 IMPORTOSM Information Reading OSM file Yaroslav.osm
9.25 IMPORTOSM Information Read 5341 features from file
9.25 EXPORTSHP Information Writing SHP file Yaroslav
9.25 SPLITGRID Information Splitting features in 0,0146484375 x 0,010986328125 grid...
9.25 SPLITGRID Information Features divided in 1 cells
9.25 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 1 to features FTYPE=POLYGON;building=*;FNUMVERT=4;FNUMPERPANG=4
9.25 ADDATTRIBUTE Information Added attribute to 0 features
9.25 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 2 to features BUILDTYPE!1;FTYPE=POLYGON;building=*;FAREARAT>0.70
9.25 ADDATTRIBUTE Information Added attribute to 0 features
9.25 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 3 to features BUILDTYPE!1;BUILDTYPE!2;FTYPE=POLYGON;building=*;FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10
9.25 ADDATTRIBUTE Information Added attribute to 0 features
9.25 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 4 to features BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;FTYPE=POLYGON;building=*;FCONVEX=1
9.25 ADDATTRIBUTE Information Added attribute to 0 features
9.25 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 5 to features BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;BUILDTYPE!4;FTYPE=POLYGON;building
9.25 SceneryProcessor Error Error while performing step ADDATTRIBUTE
9.25 SceneryProcessor Error Indice oltre i limiti della matrice.

9.25 ADDATTRIBUTE Information Adding attribute BUILDCAT with value 1 to features FTYPE=POLYGON;building=*
9.25 ADDATTRIBUTE Information Added attribute to 0 features
9.25 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDCAT with value 2 to features FTYPE=POLYGON;building=* that are inside FTYPE=POLYGON;landuse=residential
9.25 ADDATTRIBUTEIFINSIDE Information Added attribute to 0 features
9.25 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDCAT with value 3 to features FTYPE=POLYGON;building=* that are inside FTYPE=POLYGON;landuse=industrial
9.25 ADDATTRIBUTEIFINSIDE Information Added attribute to 0 features
9.25 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Replacing polygons with building rectangles for polygons that match filter BUILDTYPE=3
9.25 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Created 0 building rectangles
9.25 PLACEPOINTSALONGLINE Information Placing point features along lines with filter FTYPE=LINE;highway=secondary...


------------------
System Information
------------------
Time of this report: 12/8/2012, 13:51:09
Machine name: MIG
Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.120830-0333)
Language: Italian (Regional Setting: Italian)
System Manufacturer: System manufacturer
System Model: System Product Name
BIOS: BIOS Date: 04/13/12 13:10:25 Ver: 32.07
Processor: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz (8 CPUs), ~3.4GHz
Memory: 8192MB RAM
Available OS Memory: 8160MB RAM
Page File: 3696MB used, 12619MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 11
DX Setup Parameters: Not found
User DPI Setting: Using System DPI
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
DxDiag Version: 6.01.7601.17514 64bit Unicode

I have installed AccessDatabaseEngine_X64.exe / passive!

This is link on my SkyDrive where you can find. spc and. osm

https://skydrive.live.com/?cid=c52eb9c0532627a0

Thank you for your work and for your patience.
Giovanni
 

Attachments

Hi,

The last ADDATTRIBUTE step has a filter that only contains building, while you mean building=*. I think then it will work.
 
Hi,
thanks for your attention. Had poorly controlled. I relied on the Scan attibutes that did not detect errors. However, something still does not go perfectly.

22.02 IMPORTOSM Information Reading OSM file C:\Users\Utente\Documents\Yaroslav.osm
22.02 IMPORTOSM Information Read 3197 features from file
22.02 EXPORTSHP Information Writing SHP file Yaroslav
22.02 SPLITGRID Information Splitting features in 0,0146484375 x 0,010986328125 grid...
22.02 SPLITGRID Information Features divided in 1 cells
22.02 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 1 to features FTYPE=POLYGON;building=*;FNUMVERT=4;FNUMPERPANG=4
22.02 ADDATTRIBUTE Information Added attribute to 0 features
22.02 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 2 to features BUILDTYPE!1;FTYPE=POLYGON;building=*;FAREARAT>0.70
22.02 ADDATTRIBUTE Information Added attribute to 0 features
22.02 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 3 to features BUILDTYPE!1;BUILDTYPE!2;FTYPE=POLYGON;building=*;FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10
22.02 ADDATTRIBUTE Information Added attribute to 0 features
22.02 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 4 to features BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;FTYPE=POLYGON;building=*;FCONVEX=1
22.02 ADDATTRIBUTE Information Added attribute to 0 features
22.02 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 5 to features BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;BUILDTYPE!4;FTYPE=POLYGON;building=*
22.02 ADDATTRIBUTE Information Added attribute to 0 features
22.02 ADDATTRIBUTE Information Adding attribute BUILDCAT with value 1 to features FTYPE=POLYGON;building=*
22.02 ADDATTRIBUTE Information Added attribute to 0 features
22.02 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDCAT with value 2 to features FTYPE=POLYGON;building=* that are inside FTYPE=POLYGON;landuse=residential
22.02 ADDATTRIBUTEIFINSIDE Information Added attribute to 0 features
22.02 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDCAT with value 3 to features FTYPE=POLYGON;building=* that are inside FTYPE=POLYGON;landuse=industrial
22.02 ADDATTRIBUTEIFINSIDE Information Added attribute to 0 features
22.02 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Replacing polygons with building rectangles for polygons that match filter BUILDTYPE=3
22.02 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Created 0 building rectangles
22.02 PLACEPOINTSALONGLINE Information Placing point features along lines with filter FTYPE=LINE;highway=secondary...

As you can see there is no "Information Added attribute to 0 features"

the process saturates the entire system memory 8 Mb.
 
I will check your file later, seems to contain no buildings or so.

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
Hi,
I've got the 0 attributes added etc. at first too.
The reason here was the decimal designator was not set to "."
I think that's something the SDK tools don't check.

It would be a big help if Arno's tools can find a way around that.

So far, I'm impressed what ScenProc can to.

Carsten
 
Last edited:
Hi Carsten,

Let me check that. It is not by design, scenProc is supposed to work with the comma as well. Only some of MS tools, like XtoMDL or MakeMDL require the decimal character to be set to dot. But when I use those I already check for that. So I'll make sure that scenProc works with both comma and dot in a future update.
 
Hi,

I just downloaded the OSM and SPC file from the OP. I can process it fine here (after I fixed that issue in the filter). So I will now check if the comma is the problem.

I'll also try to fix those crashes when the filter is wrong. The validation should be improved for that.
 
Ciao,

Always the question of the decimal point. I suspected! But I did not believe it. The decimal point is the paranoia of us Scenery Designer. Thanks Carsten. He now works at its best!

Arno, your program deserves our respect!!!

Giovanni
 
Hi,

I think I fixed the bugs. With the development release of tomorrow it should also work on systems that have the comma as decimal character. Be aware that in the SPC file you always use dots for decimal numbers.
 
Hi,
now compiles correctly with both "fixed-point decimal" or with "decimal point".
I still have two issues to be clarified:

1) generated files (34 files AGN) I installed in ... \ Addon Scenery \ Texture, but I have some difficulty in seeing the new buildings in the scenery.

I still see the default textures of worldlc.bgl (121 Large Value and Value City Highrise 111 Large City Suburban Grid not wet), and I would have to see buildings, forests and objects.

21.07 IMPORTOSM Information Reading OSM file C:\Users\Utente\Documents\Yaroslav.osm
21.07 IMPORTOSM Information Read 3197 features from file
21.07 EXPORTSHP Information Writing SHP file Yaroslav
21.07 SPLITGRID Information Splitting features in 0,0146484375 x 0,010986328125 grid...
21.07 SPLITGRID Information Features divided in 50 cells
21.07 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 1 to features FTYPE=POLYGON;building=*;FNUMVERT=4;FNUMPERPANG=4
21.07 ADDATTRIBUTE Information Added attribute to 1060 features
21.07 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 2 to features BUILDTYPE!1;FTYPE=POLYGON;building=*;FAREARAT>0.70
21.07 ADDATTRIBUTE Information Added attribute to 406 features
21.07 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 3 to features BUILDTYPE!1;BUILDTYPE!2;FTYPE=POLYGON;building=*;FNUMPERPANG>3;FNUMNOTPAR<2;FNUMVERT<10
21.07 ADDATTRIBUTE Information Added attribute to 203 features
21.07 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 4 to features BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;FTYPE=POLYGON;building=*;FCONVEX=1
21.07 ADDATTRIBUTE Information Added attribute to 3 features
21.07 ADDATTRIBUTE Information Adding attribute BUILDTYPE with value 5 to features BUILDTYPE!1;BUILDTYPE!2;BUILDTYPE!3;BUILDTYPE!4;FTYPE=POLYGON;building=*
21.07 ADDATTRIBUTE Information Added attribute to 185 features
21.07 ADDATTRIBUTE Information Adding attribute BUILDCAT with value 1 to features FTYPE=POLYGON;building=*
21.07 ADDATTRIBUTE Information Added attribute to 1812 features
21.07 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDCAT with value 2 to features FTYPE=POLYGON;building=* that are inside FTYPE=POLYGON;landuse=residential
21.07 ADDATTRIBUTEIFINSIDE Information Added attribute to 1174 features
21.07 ADDATTRIBUTEIFINSIDE Information Adding attribute BUILDCAT with value 3 to features FTYPE=POLYGON;building=* that are inside FTYPE=POLYGON;landuse=industrial
21.07 ADDATTRIBUTEIFINSIDE Information Added attribute to 112 features
21.07 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Replacing polygons with building rectangles for polygons that match filter BUILDTYPE=3
21.07 REPLACEPOLYGONBYBUILDINGRECTANGLES Information Created 498 building rectangles
21.07 PLACEPOINTSALONGLINE Information Placing point features along lines with filter FTYPE=LINE;highway=secondary...
21.07 PLACEPOINTSALONGLINE Information Created 736 point features
21.07 SETAGNBUILDINGHEIGHT Information Setting autogen building heigth...
21.07 SETAGNBUILDINGTEXTURE Information Setting autogen building texture...
21.07 CREATEAGNPOLYVEG Information Creating autogen polygon vegetation with filter FTYPE=POLYGON;landuse=forest...
21.07 CREATEAGNPOLYVEG Information Created 2 autogen objects
21.07 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter BUILDCAT=1;BUILDTYPE<3...
21.07 CREATEAGNGENBUILD Information Created 586 autogen objects
21.07 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter BUILDCAT=2;BUILDTYPE<3;FWIDTH<20...
21.07 CREATEAGNGENBUILD Information Created 2529 autogen objects
21.07 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter BUILDCAT=2;BUILDTYPE<3;FWIDTH>20...
21.07 CREATEAGNGENBUILD Information Created 147 autogen objects
21.07 CREATEAGNGENBUILD Information Creating autogen generic buildings with filter BUILDCAT=3;BUILDTYPE<3...
21.07 CREATEAGNGENBUILD Information Created 110 autogen objects
21.07 CREATEAGNLIBOBJ Information Creating autogen library objects with filter FTYPE=POINT;type=licht...
21.07 CREATEAGNLIBOBJ Information Created 729 autogen objects
21.07 WRITEAGNFILES Information Writing AGN files to folder E:\Microsoft Games\Microsoft Flight Simulator X\Addon Scenery\texture

Giovanni
 

Attachments

  • YAROSLAV TEST OSM.JPG.jpg
    YAROSLAV TEST OSM.JPG.jpg
    223.3 KB · Views: 455
Hi,

Did you put the agn files in the texture folder of your photorealistic scenery? Without a photorealistic scenery they won't work.
 
:D
Ciao,
I was taken so much by euphoria, so your amazing design tool scenario that I forgot that I have always been averse to photo-realistic scenarios. Because of their dryness. However, I am grateful for everything.

Maybe now I can put on the list of things to do photo-realistic scenario.

There is one more thing I need your help.

Given that the options have set SDK_Path (
E: \ Microsoft Games \ Microsoft Flight Simulator X SDK \ SDK \ Environment Kit \ Autogen SDK)

when compiling the configuration file by writing the processing steps configure the correct indicated they are just writing the letter, even when I set a filter, but when I set a vegGuid values ​​do not appear in the dropdown menu.

I noticed also that the magnifying glass on the command is not active.

I hope my English Google knows his stuff. :rolleyes:

Gio
 
I am currently working at the scene of Yaroslav drawing all the CLC, for each QMID11 relative and the re-drawing the path to the Volga. I import data from Google Earth and elaborate them with SbuilderX, I wanted something to speed up the process. :stirthepo
 
Hi,

You need to set the path to the sdk root, not to the autogen sdk. So just remove the part that says "environment kit\autogen sdk"
 
I changed as you said. the problem is always there.

CREATEAGNPOLYVEG | FTYPE = POLYGON | vegGuid

vegGuid not work.

I've installed Microsoft.NET Framework 4.5 x64
 

Attachments

  • Mig_006.jpg
    Mig_006.jpg
    442.4 KB · Views: 540
Hi,

vegGuid is just the template, you need to replace it my a valid vegetation guid. For example start typing "mixed forest" and then you will get the guid for mixed forests.
 
Ciao,
the problem was the auto-completion that did not work. After changing the path as you said, now works correctly. Why this change to take effect immediately have to restart the computer.

So the correct path to be set in sdkpath, to have the Autocomplete Guid is <drive>: \ Microsoft Games \ Microsoft Flight Simulator X SDK \ SDK

If I may say so, it would be best to put this step in the manual of Wiki ScenProc

I believe that this is the same problem that complains Anto80 in another post.

In the video you see a magnifying glass, because it is not active on my computer?

Thank you for your patience! :)

Gio
 
Ok I solved it now works auto-complete with all the rows, it is important to know that letter writing begin to bring up the submenu with the list ... Thank you.:)

Ciao Bavarello if I'm not mistaken we already know ...

Anto80
 
Back
Top