gml2geojson

0.0.7 • Public • Published

gml2geojson

wfs gml to geojson

CDN

<script src="https://cdn.jsdelivr.net/npm/gml2geojson/dist/gml2geojson.js"></script>

<script>

    fetch('./data').then(res=>res.text()).then(xml=>{
        const geojson=gml2geojson.parseGML(xml);
    })
</script>

NPM

npm i gml2geojson
# or
yarn add gml2geojson
import {parseGML} from 'gml2geojson';

const geojson=parseGML(xml);

Readme

Keywords

none

Package Sidebar

Install

npm i gml2geojson

Weekly Downloads

404

Version

0.0.7

License

MIT

Unpacked Size

39.7 kB

Total Files

8

Last publish

Collaborators

  • hudeyi