SPM for GstarCAD > Features > Fields calculator

Fields calculator in GstarCAD

Calculate in GstarCAD simple or complex expressions using operators and functions that can be applied to field values in a table and/or to constant values

Calculation of new or existing field values using arithmetic, mathematical, date, etc., expressions. Include constant values and/or values from other fields

Geometric functions like Area or Perimeter are also available

Operators and functions

Build expressions applying operators and functions to field values. Arithmetics, mathematics, date and text functions available

Geometric functions

Get geometric property values, extract coordinates and elevation values. Store them in new or existing fields. Can be also be used as conditions, for example, classify features depending their area or perimeter

Advanced expressions

Use programming expressions and create advanced calculations and preview results. Concatenated and nested conditions, switch-case, lists, type checks and conversions, ...

Resources and Information

frequently asked questions

Current compatible GstarCAD applications:
  • Versions: From v.2018 to v.2025 both included
  • Editions: Standard, Professional and Educational
System requirements:
  • Windows 7 or higher
  • 500 MB free disk space, or more
  • Windows Installer 3.1 or later
Spatial files
  • Esri Shape file - (SHP)
  • Google Earth file - (KML, KMZ)
  • OpenStreetMap file - (OSM, PBF, OSC) (1)
  • LiDAR file - (LAS, LAZ)
  • GPS exchange format file - (GPX)
  • Esri ASCII Grid file - (ASC, ASCII) (1)
  • ASCII text file - (ASC, CSV, NEZ, TXT, XYZ, UPT)
  • SQLite file - (SQLITE, DB)
  • GeoPackage file - (GPKG) (1)
  • GML file - (GML, GZ, XML)
  • Raster image file - (TIF, PNG, JPG, JPEG, TIFF) (1)
  • Autodesk SDF file - (SDF) (3)
  • MicroStation v.7 file - (DGN) (2)
  • AutoCAD DXF file - (DXF) (2)
  • Esri ArcInfo export file (ASCII) - (E00) (1) (2)
  • MapInfo file - (TAB) (2)
  • MapInfo interchange format file - (MIF/MID) (2)
  • GeoJSON file - (GEO.JSON)

Spatial raster files
  • Raster image file - (TIF, PNG, JPG, JPEG, TIFF) (1)
    • Georeference sources - (World files, Google Earth .GEPRINT, etc.)
  • Variable resolution Raster image file - (Cloud Optimized GeoTIFF/COG TIFF) (1) (4)

Spatial data servers and Geo-databases
  • Esri Geodatabase File - (GDB) (1)
  • PostGIS database
  • Microsoft SQL Server Spatial database
  • MySQL database (1) (3)

Image map servers
  • WMS Web Map Services (4)
  • WMTS Web Map Tile Services (4)
  • XYZ/TMS Tile Map Services (4)

Other spatial data sources
  • Open Database Connectivity ODBC (1)
  • WFS data store (1)
  • WFS data store (FDO) (1) (3) (5)
  • WFS data store (OGR) (1) (2) (5)

(1) Read-only
(2) OGR data source
(3) FDO provider (May not be available on GstarCAD 32-bit)
(4) Background Maps technology
(5) DEPRECATED - Whenever possible use the native WFS data provider

Note: certain data Providers are only valid for some Editions of the application
  • We process a personalized analysis of each case, so some types of advanced licenses are not offered directly on the web store. Please contact to support@spatialmanager.com indicating your needs and we will send you a customized quote