bugra9 / gdal3.js

Convert raster and vector geospatial data to various formats and coordinate systems entirely in the browser.
https://gdal3.js.org
GNU Lesser General Public License v2.1
300 stars 45 forks source link

How to get the GUI to run? #34

Closed donnyv closed 2 years ago

donnyv commented 2 years ago

I'm new to Vue, so I'm not sure how to get the GUI to run. I'm assuming this is the GUI. https://github.com/bugra9/gdal3.js/tree/master/apps/app-gui

I tried double clicking the public/index.html but nothing happens. Doesn't have any script tags in it.

bugra9 commented 2 years ago

Hi @donnyv, sorry for replying so late.

I'm new to Vue, so I'm not sure how to get the GUI to run. I'm assuming this is the GUI.

Node.js, NPM or yarn app must be installed. In this folder you must run,

And open the link that appears on the cli screen.

I tried double clicking the public/index.html but nothing happens.

The site won't open with a double click because it takes some files from the local system and browsers do not allow accessing the file system. In a few days I will make a sample app to fetch from cdn and it will open with a double click.

bugra9 commented 1 year ago

@donnyv, i added single file example running without server required. https://github.com/bugra9/gdal3.js/blob/master/apps/example-singlefile/index.html

donnyv commented 1 year ago

Awesome, thanks!