Giter Site home page Giter Site logo

gml-to-geojson's People

Contributors

alvisisme avatar brodanoel avatar cyrilchapon avatar ergenekonyigit avatar folkengine avatar ghstahl avatar jisupark avatar jonarod avatar mikeerickson avatar mkurapov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gml-to-geojson's Issues

GML2 option and building gml-to-geojson

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.