Mapshaper-gui error
Hi,
Although I can use mapshaper console tool to convert .shp files to geojson. I couldn't open mapshaper-gui so that I recieved the error as follows:
Would you help me to open this interface locally.
Thanks in Advance,
I'm not sure how to interpret this error, but I have a hunch what the problem might be. mapshaper-gui is for running the mapshaper GUI on your own computer, for personal use. It will only open the GUI on the http://localhost URL.
It looks like you might be trying to usemapshaper-gui to display the GUI from a Docker image. The way to serve the mapshaper GUI publicly is to copy the files in the mapshaper/www directory into a webserver's web root directory or a subdirectory of the web root. Mapshaper's GUI is a static web page -- just a collection of files with no backend script. You don't need mapshaper-gui to run it. I hope this addresses the issue here.
Thanks a lot. I will try and inform you whether it is OK.
PS: By the way which webserver Do You prefer ?
I don't think the web server matters much. The public mapshaper.org site uses GitHub Pages. DeepSeek tells me that GitHub Pages uses Nginx and the Fastly CDN.