http://www.fsdeveloper.com/forum/th...-angles-and-paralel-lines.440519/#post-776568
Hi,
I'm not sure I understand why you would not want to use the input footprints to extrude. Why replace them by rectangles?
Hi Arno:
To optimize the work-flow I envision for utilizing Vector footprints exported from ScenProc and imported into Sketchup as either 2D
flat "Faces" or 3D
extruded "primitives" to allow for use of
Sketchup manual '
inferencing' features and/or semi-automatic Sketchup plugin Ruby scripts that operate relative to each 3D model
datum and associated 3D world axes, I would prefer to utilize footprint objects that have precisely
parallel side "Edges" and
perpendicular corners.
WHY:
As seen in Braedon's example illustrations above, many of the Vector objects one sees in 3rd party data sources have been digitally derived from aerial imagery that was originally generated from an "off-Nadir" perspective and thereby "
warped", which was subsequently re-projected for use in a GIS file format that endeavors to display them as "
mostly non-warped".
This residual 'warping' of "
mostly non-warped" aerial imagery can also be seen in such online web tile servers as Google Maps / Google Earth, OpenStreetMaps etc., and in
Sketchup itself when "Geo-located" aerial imagery is inserted from the Trimble 3rd party online web tile server
du jour.
When working with such "Geo-located" aerial imagery inserted into
Sketchup, we would otherwise ignore the relatively small degree of warping in the background image when we
manually use the
Sketchup "Rectangle" drawing tool to create a truly Rectangular "Face" as a building footprint object that has precisely
parallel side "Edges" and
perpendicular corners.
This truly Rectangular "Face" would allow for maximal compatibility with
Sketchup manual '
inferencing' features and/or semi-automatic
Sketchup plugin Ruby scripts that operate relative to each 3D model
datum and associated 3D world axes.
But a digitally derived building footprint 2D or 3D object may
not have precisely
parallel side "Edges" and
perpendicular corners, again as seen in Braedon's examples above, and would potentially otherwise prove
incompatible with an 'optimal' work-flow when utilizing such footprints via
Sketchup manual '
inferencing' features and/or semi-automatic
Sketchup plugin Ruby scripts that operate relative to each 3D model
datum and associated 3D world axes.
Granted, there are 'some' larger buildings in the real world that by design and construction, purposely do
not have precisely
parallel side "Edges" and
perpendicular corners; but these are encountered very infrequently, and can be dealt with manually if needed / desired by a FS developer in their 3D modeling application of choice.
In some cases smaller such buildings can, IMHO, be better rendered in MSFS as 'Building' Polygons Replaced By "
Multiple Rectangles".
BTW: In addition to the issue of needing to optimize
Sketchup manual and/or scripted work-flow by using
ScenProc to correct "warped" building footprints digitally derived from aerial imagery that was originally generated from an "off-Nadir" perspective and re-projected for use in a GIS file format that endeavors to display them as "mostly non-warped", I forgot to consider in my original conceptual overview above, that such correction by
ScenProc would also involve a GIS file re-projection to a truly "non-warped"
ex: "Flat Earth" / spherical web Mercator - EPSG:3857 / UTM / Orthographic format that can be imported into
Sketchup and then extruded / 3D modeled to produce buildings with
parallel side "Edges" and
perpendicular corners.
I have since read that the
KMZ (
ZIP-ped
KML) file criteria inherently requires use of Geographic (Lon-Lat) / WGS84 projected GIS coordinates, so I am not certain that one could export truly "non-warped" building footprints using a
KMZ file format ...which can be imported by
Sketchup, as Geographic (Lon-Lat) / WGS84 projected GIS coordinates are displayed as vertically-compressed and rotated for most parts of the world ...unless one internally compensates for that distortion when creating- or importing- the exported GIS file.
As an alternative that retains Geo-referencing which might be imported to- and exported from- a Sketchup 3D modeling project, I suppose I shall have to test the 3rd party ESRI
SHP file importer plugin Ruby script I recently discovered for versions of
Sketchup since
8M3, to see if it can properly work with building footprint
SHP files generated by ScenProc in a truly "non-warped"
ex: "Flat Earth" / spherical web Mercator - EPSG:3857 / UTM / Orthographic GIS projection format.
I hope this explains what I seek to accomplish via the proposed work-flow for "
non-warped" building footprints using
ScenProc.
PS:
http://www.fsdeveloper.com/forum/th...-angles-and-paralel-lines.440519/#post-776568
GDAL can export to kml I think, so that part should work. Although not in 3D because my extrusion steps go to FS models only.
I had anticipated that
ScenProc could output either a
3D (X,Y,Z / Lon,Lat,Alt) Google Earth type
KMZ or a 3D type
SHP file of the 'corrected' / "
non-warped" building footprints.
But if the capabilities of
ScenProc's current state of development make it necessary to instead output a
2D (X,Y / Lon,Lat) Google Earth type
KMZ or a 2D type
SHP file of the 'corrected' / "
non-warped" building footprints, that would also be helpful to the further use of digitally-derived building footprints imported to
ex:
Sketchup (or anther 3D modeling application of choice) by FS developers.
Thanks again for further considering this as a possible additional feature option in
ScenProc.
GaryGB