Positioning Local Unregistered 3D Objects into a Geospatial Context

PDF3D ReportGen and PDF3D.IO development SDK can be used to convert geospatial formats to 2D or 3D PDF.

When converting geospatial formats, it may be desirable to integrate additional 3D objects which do not have any geospatial context embedded into their file type. It is possible to set the same geospatial coordinate system for both geospatial reference terrain and local objects.

Specify geospatial datum offset for local object using the interface settings position and scale menus. Specify the output PDF coordinate system also as the same UTM projected zone as the inputs.

Follow the example steps:

  1. Start a fresh session of ReportGen
  2. Load samples/grd/helens2.grd, set output file to %DOCUMENTS%/helens2_layered_geospatial_3D.pdf
  3. Load samples/x3d/flag_pole.x3d
  4. Tick the boxes on both of these to set the options and GRD and X3D interfaces, respectively.
  5. On Conversion tab open Output Coordinate system, set units to Meters,
    coordinate system to UTM/UPS, set Zone=10, Subset=Northern Hemisphere (UTM)
  6. On PDF 3D View tab open Insert Additional controls, tick Insert Controls for MOuse 3D PRobe,
    Use Compact mode, set default Geo mode to UTM/UPS, tick Insert Controls for Z-Scale.
  7. On Geospatial tab, first select Apply Settings to: helens2.grd (the terrain grid).
  8. Tick Coordinate system, set system to Projected, set PCS to WGS84 / UTM Zone 10N (EPSG:32610)
  9. Select Apply Settings to: flag_pole.x3d (the local object at datum 0,0)
  10. Tick Coordinate system, set system to Projected, set PCS to WGS84 / UTM Zone 10N (EPSG:32610)
  11. On Visual Effects tab, at top use Apply Settings To: helens2.grd
  12. Use Colormap File, change and select samples/colormaps/Terrain.clr (don’t apply to flag pole)
  13. On Animation tab, set Exploded mode to “unlock” positions (if version <= 2.17.0.10071).
  14. On Interface Settings tab, use Apply Settings to: helens2.grd
  15. Tick Object Position and Object Scale options, with default values position {0,0,0}, scale {1,1,1}
  16. On Interface Settings tab, use Apply Settings to: flag_pole.x3d
  17. Tick Object Position and Object Scale options, set
    X Coordinate = 562679.0000000 (eastings)
    Y Coordinate = 5116340.0000000 (northings)
    Z Coordinate = 1872.0000000 (elevation)
    Set General Scale = 100 (to magnify flag)
  18. Push Convert, generate and open PDF.
  19. Zoom into volcano crater to see flag, use mouse probe to confirm coordinates.