Skip to content

Releases: abrman/landxml

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 12:41

Minor Changes

  • c57704b: Much faster, lower-memory parsing for large LandXML files.

    • New streaming parser: points and faces are read straight into typed arrays instead of converting the whole document to an object tree, and point ids resolve through a Map (previously a linear indexOf per face vertex, quadratic overall). A 21 MB file now parses and contours in ~1 s instead of ~97 s, with less than half the memory. GLB and contour output is unchanged.
    • New building blocks for parsing once and building only what you need, with progress callbacks: parseSurfaces, findCenter, surfaceToGlb, surfaceToContours, and the LandXmlSurface type.
    • Results now include linearUnit from the file's <Units> (e.g. "USSurveyFoot", "meter"), and toGlb results include wktString.
    • XML entities in names and attributes are decoded; extra whitespace between point coordinates is tolerated; faces referencing missing points are skipped with a warning; surfaces without points are skipped with a warning.
    • Fix: surfaceId 0 now selects the first surface (it used to return all surfaces).
    • Breaking: removed the precomputeSurfaceData export and its PrecomputedSurfaceData type (no longer needed — use parseSurfaces + surfaceToGlb / surfaceToContours). Dropped the xml-js and sax dependencies.

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 07 Apr 03:03
f71e744

Patch Changes

  • e2122a2: Bugfix: WKT string not working with mproj update

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 07 Apr 02:18
dc4a0d8

Minor Changes

  • 604418b: Replaced proj4 dependency with mproj, which has more accurate transformation results.

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 26 Feb 15:35
a3a1223

Patch Changes

  • e886c37: Return empty geojson and console.warn rather than throwing error when generating contours.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 20 Feb 10:09
7019d28

Minor Changes

  • 6a4a531: Modified "auto" behavior on LandXML files with multiple surfaces to create a combined center (rather than each surface its own cetner)

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 19 Feb 23:57
1733c19

Patch Changes

v0.6.6

Choose a tag to compare

@github-actions github-actions released this 29 Aug 13:09
da78350

Patch Changes

v0.6.4

Choose a tag to compare

@github-actions github-actions released this 31 May 12:58
d6d0f28

Patch Changes

  • 2fcb339: Bugfix: Parsing small Landxmls via web workers

v0.6.3

Choose a tag to compare

@github-actions github-actions released this 29 May 19:55
75121d9

Patch Changes

  • e25e54b: bugfix: Parsing large LandXMLs now correctly parses on web workers

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 22 May 12:17
4604335

Patch Changes

  • 0ce99bd: optimized surface outline identification