Cannot import geotiff
See original GitHub issueFirst thanks for the work done with this library. The code base looks great.
I’m trying to install the module either doing npm install -g geotiff
or with the source (as mentioned in the documentation) but still not succeed to import geotiff
in my script.
> const GeoTIFF = require('geotiff');
/Users/vincentsarago/.nvm/versions/node/v8.11.2/lib/node_modules/geotiff/src/main.js:1
(function (exports, require, module, __filename, __dirname) { export * from './geotiff';
^^^^^^
Is there something obvious I’m missing ?
Thanks
Node version: v8.11.2
(via nvm)
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
GeoTiff format - 'Unable to read file' . Can I convert for Civil 3D?
Go to Solution. Mike, Can you open and re-save the GeoTiff in QGIS or GeoViewer or Global Mapper? Please post the GeoTiff, using...
Read more >Error in importing GeoTiff files - R RASTER package
I am trying to create a loop for automatically upload some GEOTiff datasets using the raster{raster}. Firstly, ...
Read more >How do I import a GeoTIFF custom chart? - ForeFlight Support
Import via Finder using drag and drop; Import via the FIles app; Import via an online direct link. NOTE: Individual GeoTIFF files cannot...
Read more >FAQ: Is there a way to add a GeoTIFF file to ArcGIS Online?
Due to certain limitations, GeoTIFF files cannot be added directly to a web map. However, there are ways to add GeoTIFF files to...
Read more >Importing GeoTiff files - Google Groups
Importing TIFF/TFW combi's are no problem. But I can't get the GeoTiff-header rasters imported in MI (12.5). When I try opening the file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @vincentsarago,
I fixed the issue, by adding a new source using nodes
http
API. Please upgrade to v1.0.0-beta.3, and you should be good to go.Thanks for the beta-testing and sorry for the inconvenience!
Hi @vincentsarago! Thanks for reporting this issue. Throughout the project I’m using the new ES module syntax (
import
/export
), which can be easily translated to something more widely supported using babel. I’ve planned to do this anyhow but it simply dropped under the table, thanks for reminding me.I’ll include this in the next beta (doing this now, should just take a couple of minutes).