Change log


spatix v023.002 (2023-03-07, techsupport till 2024-04-01)


  • New feature: New Raster References functionality (available via WMS IxApp)
  • Both Geo-referenced rasters attachment and manually placed rasters are supported
  • Path to raster file is saved either as absolute (in case reference file is on different logical drive), or as relative (in case it is on the same drive with the SPX file)
  • You may use usual Manipulate Tools to adjust raster placement
  • MSVC-2022 build of Spatix supports 16-bit color depth for RGB/BW raster references
  • MSVC-2022 build of Spatix supports ECW file format for raster references
  • New feature: Spaccel scripts execution (you now may pass the text file with Spaccels list to be executed via Spatix command line and via new spaccel command)
  • New spaccel file qnew <file_name> [<seed_name>] — creates new SPX file based on default or given seed (q in qnew stands for "Quiet")
  • New spaccel file exit — exits Spatix (this is in addition to file close spaccel which was available before)
  • New spaccel file save — saves latest changes into the currently opened SPX file
  • New spaccel spaccel file execute <file_name> — loads and runs spaccel commands from text file
  • New Spatix command line option --spaccel <file_name> which loads and executes spaccels from <file_name> upon Spatix startup
  • Text files with spaccel commands may have comments: Lines started with # as a first character are ignored
  • Spaccels sequence read from file would be terminated in case CAD file creation/open error
  • New feature: New Use CRS checkbox (off by default) in the CAD File Settings › CRS settings allows to import vector and raster files as-is (without coordinates transformation)
  • Note: To attach WMS basemap layer you now MUST first go and enable this flag
  • New feature: ToolSettings window for Place Line, Place Polyline and Place Polygon tools allowing to specify line segment length and azimuth
  • New feature: WMS dialogs and some other windows were reimplemented as dockable panels so that save screen space
  • New feature: Ctrl+F12 shortcut assigned to Layers Manager, Ctrl+F11 — for Spaccels windows
  • New feature: GDAL_DATA and PROJ_LIB environment variables no longer used by Spatix to locate GDAL and PROJ data folders.
  • This is not to intersect with other software (like PostGIS) that may be installed on the same machine and have such folders on their own.
  • If you need to override data folders location for Spatix, set up SPATIX_GDAL_DATA and SPATIX_PROJ_LIB environment variables instead.
  • New feature: Element Info command now displays vertices count for big elements
  • New feature: Spaccels for commands that missed any have been defined
  • New feature: New Get Text Attributes tool to pick up actual text attributes from existing text elements
  • New feature: Spatix and other tools Manuals generation was put onto new technological rails (PDF generation from HTML/XML sources)
  • Refactor: Change Text Attributes tool now does not include possibility to change common active element attributes like layer, color, line weight and style
  • Refactor: Menu items and tool tips for CAD and View command names were tuned to be in the same general style for letters case (according to English captions rules)
  • Fix: Disable bold and italic checkboxes for fonts that do not support such styles
  • Fix: Dead loop while adding WMS layer into view having too far zoom out
  • Fix: Crash on GDAL import of files having less than 20 contours
  • Fix: Several icons were tuned to be properly rendered in Windows 10+
  • Fix: View windows are now restored properly upon switching from Tie-points mode
  • Fix: Bug while restoring CRS data from SPX file settings
  • Fix: Delete Linear Part Tool to work predictably in views having perspective projection
  • Fix: Rasters are rendered first in the OpenGL pipeline, so that vectors stay on top
  • Fix: Implement snap for embedded Raster elements
  • Fix: NPE on Spatix start up
  • Fix: Pushed state of Lock command buttons are now updated if lock was set via spaccels
  • Fix: Fixed save/restore mechanism of commands' ToolSettings window size
  • Fix: Memory corruption on DXF import of hatches that have more than 5000 points for contours
  • Fix: Memory leak in Phototools
  • Fix: Issue of skipping the first element in case of KML format import via GDAL
  • Fix: Added GDAL to the spx2dwg distribution package
  • Fix: Fixed undo behavior for view commands in stereo mode
  • Fix: Uninitialized memory access in GridDisplayPrepare()
  • Fix: Disable dockability of Style Presets and some other big dialog panels (like ones from WMS IxApp) to the upper and lower docking panes, limit them to only left and right docking panes for user convenience

API changes

  • New feature: VwSetTitle() if called with non-NULL txt parameter would prevent Spatix to update view title on its own (e.g. upon view orientation is changed). Pass txt=NULL to revert control of the view title to Spatix.
  • New feature: New element type ELM_HDR_IMGREF (raster reference) as API (see EldImgrefXXX() API calls in /include/ElmEld/eld.h).
  • New feature: New DocGetModelCRS(), DocSetModelCRSEx() and DocGetModelCRSEx() API calls support explicit manipulation of the "Use CRS" flag
  • New feature: Split SCadView::StageScene and SCadView::StageRefScene rendering pipeline stages into 2: SCadView::StageSceneFirst and SCadView::StageRefSceneFirst, followed by original ones (used to render rasters first)
  • New feature: VwRndrParamsSet() to override view orientation parameters only for current view update operation
  • Fix: SSettings::value() to return default value if not found