Package Exports
- geometadata
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (geometadata) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
⚠️ This is a work in progress
geometadata
Parse Geographic MetaData (GMD) XML
install
npm install geometadatausage
const fs = require("fs");
const parse = require("geometadata/parse");
const text = fs.readFileSync("metadata.xml", "utf-8");
const results = parse(text);
/*
{
language: 'Italian',
projection: 4326,
xmin: 10.2822923743907,
xmax: 13.3486486092171,
ymin: 44.418521542726054,
ymax: 47.15260827566466
}
*/