You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2024. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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
The text was updated successfully, but these errors were encountered: