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

Point feature to DEM

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,536
Country
netherlands
Hi,

I have a shapefile containing points with elevation values. Does anybody know an easy way to convert this data into an elevation grid that I can process with resample?
 
I don't know the scale of the project, but you could import the SHP file into SBuilderX, make sure the elevation data stays accurate and make a sloped poly from it. Using the SHP in a GIS tool I'm not sure of, unless you are looking to do some interpolation to fill areas in?

You didn't mention which sim, so my response relates to FSX.
 
Im not sure if 3D interpolation and easy go in the same sentance ;) The only way I know is inside GIS software (i.e ArcGIS) and even then I wouldn't call it simple
 
Hi Arno:

Is this data what might be referred to as a "multi-point Z Shapefile" ? :scratchch

Global Mapper Version 11 for example, has added support for saving elevation values from multi-point Z Shapefiles (via a vector export function).

These files, when properly projected, may require further interpolation at a specified output gridding to render a complex data set suitable for a DEM.


Also, in Global Mapper, there is a way to process the data if it is from a contour layer shape file; then one can create a DEM.


DEMs created by either method can subsequently be converted to a GeoTiff:


http://pbisotopes.ess.sunysb.edu/reports/tvelia/Producing DEM in Global Mapper.pdf


Of course, the described workflow may also be achieved with another GIS application having comparable capabilities.


http://pbisotopes.ess.sunysb.edu/reports/tenzin.pdf


It might be a good idea to do as much "interpolation resampling" as possible in 3rd party GIS software prior to processing by FS SDK Resample; then one might wish to use the "FractionBits" parameter in the *.INF file to minimize "terracing" of contours as the elevation for one's mesh vertices are computed for output to the BGL.



Knowing a bit more about the precise type of shapefile structure you have might help determine what to do, and with what application, to render output into a format that FS Resample can process as a terrain mesh: ;)


http://www.pcigeomatics.com/cgi-bin/pcihlp/GDB|Supported+File+Formats|Arc/Info+Shapefile+(SHP)



Alternatively, would I be correct that this is basically "X,Y,Z" (Lon/Lat/Elevation) data packaged in a *.SHP file format ?

If the SHP also file contains other data, normally one can "map" certain fields to extract the XYZ vector data for selective export processing in one's GIS app.


http://en.wikipedia.org/wiki/Shapefile


Hope this helps ! :)

GaryGB
 
Last edited:
Hi,

Thanks for the feedback. Since this shapefile contains around 3.8 million points, going for the manual approach is not really an option ;).

The shapefile I have is a shapefile containing point features. The altitude is stored in the attributes though (not sure if it is also written to the Z coordinate, but else that can always be changed).

What I am currently trying is to use QGIS to make a mesh out of these vertices using a Dalauny triangulation. From that mesh I could then be able to create a raster.
 
Lidar Data?

Regardless of the package you use, you will likely spend a lot of time figuring out how to interpolate the data in a way that doesn't cause your computer to spit the dummy due to the sheer amount of it......I've done it within and ArcGIS environment but took a lot of work to split the points into tiles, interpolate then merge... reprojection from a projected to geographic coordinate system (i.e. WGS84) also caused problems with tiling.
 
Lidar Data?

No, actually these are measurements made from the ground by normal surveyors.

Regardless of the package you use, you will likely spend a lot of time figuring out how to interpolate the data in a way that doesn't cause your computer to spit the dummy due to the sheer amount of it......I've done it within and ArcGIS environment but took a lot of work to split the points into tiles, interpolate then merge... reprojection from a projected to geographic coordinate system (i.e. WGS84) also caused problems with tiling.

I am about to come to the same conclusion, it is just too much data :). Maybe it is easier to see if we can find some raster data, as it can be quite some work to do this conversion with good quality.
 
Hi Folks

Arno -
As the data is held in a dbf
a table manipulation should suffice.

EDIT
Scratch that, it's not relevant to your objective.

I'd used a filter to export a coastline.

EDIT 2
I'll do some digging,
but am sure I'd exported a mesh from a shapefile.
ISTR it was an GDAL/FWTools import.


HTH
ATB
Paul
 
Last edited:
Hehe, thanks Paul. I was just about to reply and ask you want you meant :D.
 
Back
Top