Discussion thread for Autogen from OpenStreetMap data with scenProc. If you would like to add a comment, click the Post Reply button.
I find it somewhat vague on the way you handle getting the data from GIS and finally compiling it to FSX. Some more steps would be nice in that section.
Which part is missing for you? It is described how to save the files to shapefile. It is described how to make the configuration file for scenproc and it is described how to compile this file. Which of those parts could have a little more detail?
First of all thanks for your nice tutorial! It is nicely written and I did not encounter any problems using it although I never did this Autogen editing. I just encountered a few questions which have then be solved when reading the next paragraph.
Anyway, I have a question regarding the availability of the source data. I took also Luxembourg to start my first autogen experience. Now I really want to try this on California, however I cannot find on GeoFabrik the correspoding files. Am I missing something or do I need to go more in detail when doing it for the USA? I downloaded the two files for California from here but it did not worked. I did everything now for the fifth time and it still did not work. Are you maybe able to help me here?
It seems that for the US they don't offer shapefile downloads, only the OSM XML format. At the moment scenProc can't read that format, maybe I should add support in the future.
Ok thanks for this information arno!
This is a very interesting Wiki. I was wondering if you can invent a tool to convert XML data to shape file. I'd like to do autogen for Bangkok. But the data in Shape file is available for Malaysia and Singapore.
I did try that but the program stopped respond while it was reading natural.shp file.
Could you provide the example of configuration file of scenProc.exe?
Do we need photoscenery for the destination folder at the time of program running?
Yes, you need photo scenery for the autogen to work.
Check the scenproc manual on the wiki, it has an example configuration file. But this wiki page also contains them of course.
I'll add it to the wish list to read the osm XML format directly. I have done it in the past for another tool, so should not be too hard to add.
What mean "an.agn"? this is all I got.
That usually meant something went wrong. It happens when the location can not be determined.
Maybe you can post your configuration file?
In my country there is no shape file format. I download from Streetmap and I got OSM file.
On their own website you can view the data and you can also download it in their own OSM format (which is XML). But that format is not so easy to process with GIS tools. Therefore we will download a shapefile version of the data.
Would you mind suggest any reading how to process OSM format to shapefile? I read in this and http://wiki.openstreetmap.org/wiki/Shapefiles still confused how to do that. Seems to me it is very difficult, involve a lot of process to do.
I never converted from osm to shp manually. But I would try to do it in QGIS. It can load the osm data and once it is loaded you should be able to save to shp easily.
It is on the feature list to let scenproc read the osm XML format directly, but I haven't worked on that feature yet.
Thanks Arno for your reply.
I think autogen is the most tedious job in scenery design.
By the way, if it is possible to obtain the road line and convert it into the line in S-builderX. I think that will save a lot of time if the satellite photo is not available or available in low quality. In Asia and other places, it is difficult to get decent quality of satellite photo.
Hello, I have a problem with scenProc. I was exactly following the wiki article about doing autogen from OSM but I am stuck here.
I have exactly copied all the script, changing only the file paths. And check it, IMPORTSHP has errors with number of arguments.
have you been working with Scenproc before ? I mean if it work before these issues.
You can read about this in the Scenproc Manual.
I have had all these problems when running scenproc.