permettez-moi-de-construire / gml-to-geojson Goto Github PK
View Code? Open in Web Editor NEWTranslate gml geometries to geojson
License: MIT License
Translate gml geometries to geojson
License: MIT License
Hi,
I have been trying to parse some GML to GeoJSON, however in the output features the geometry is always null. I think this is due to the GML parser defaulting to GML3. I thought I would clone the repository and update the options object so that I can pass in an option to use GML2/GML3.
However when I try to build the cloned repository (npm run build) I get the following errors.
ERROR in ./src/wfs.js
Module not found: Error: Can't resolve 'ol/format/geojson' in '/home/james/projects/gml-to-geojson/src'
@ ./src/wfs.js 12:38-66
@ ./src/index.js
ERROR in ./src/wfs.js
Module not found: Error: Can't resolve 'ol/format/gml' in '/home/james/projects/gml-to-geojson/src'
@ ./src/wfs.js 8:34-58
@ ./src/index.js
ERROR in ./src/wfs.js
Module not found: Error: Can't resolve 'ol/format/wfs' in '/home/james/projects/gml-to-geojson/src'
@ ./src/wfs.js 10:34-58
@ ./src/index.js
The Openlayers ol npm package is installed and present in the node_modules folder, am I missing something with the webpack.config.js settings file. Any help would really be appreciated.
Thanks,
James
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.