Repository navigation
Releases: abrman/landxml
Releases · abrman/landxml
Release list
v0.10.0
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
indexOfper 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 theLandXmlSurfacetype. - Results now include
linearUnitfrom the file's<Units>(e.g."USSurveyFoot","meter"), andtoGlbresults includewktString. - 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:
surfaceId0now selects the first surface (it used to return all surfaces). - Breaking: removed the
precomputeSurfaceDataexport and itsPrecomputedSurfaceDatatype (no longer needed — useparseSurfaces+surfaceToGlb/surfaceToContours). Dropped thexml-jsandsaxdependencies.
- 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
v0.9.1
Patch Changes
- e2122a2: Bugfix: WKT string not working with mproj update
v0.9.0
Minor Changes
- 604418b: Replaced proj4 dependency with mproj, which has more accurate transformation results.
v0.8.1
Patch Changes
- e886c37: Return empty geojson and console.warn rather than throwing error when generating contours.
v0.8.0
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
v0.6.6
v0.6.4
Patch Changes
- 2fcb339: Bugfix: Parsing small Landxmls via web workers
v0.6.3
Patch Changes
- e25e54b: bugfix: Parsing large LandXMLs now correctly parses on web workers
v0.6.2
Patch Changes
- 0ce99bd: optimized surface outline identification