citygml-validate-ring

0.1.3 • Public • Published

CityGML Validate Ring

Validate a CityGML ring against the QIE suite

Usage

var citygmlBoundaries = require("citygml-boundaries");
var citygmlValidateRing = require("citygml-validate-ring");
 
var xml = "..."; // Some CityGML
var boundaries = citygmlBoundaries(xml);
 
// Validate exterior ring
citygmlValidateRing(boundaries.exterior[0], function(err, results) {
  if (err) {
    console.log("Exterior ring not valid:", err, results);
  } else {
    console.log("Exterior ring valid");
  }
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    7
  • 0.1.2
    1
  • 0.1.1
    2
  • 0.1.0
    0

Package Sidebar

Install

npm i citygml-validate-ring

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • bcamper
  • robhawkes