sbenten / d3MapRenderer

A python QGIS plugin to export of polygons, polylines and point vector layers from shapefiles to topojson for display within a web page using the d3 JavaScript library, with additional options of popup information via d3-tip, charts from c3.js and a legend.
http://maprenderer.org/d3/
MIT License
32 stars 3 forks source link

Website not starting #41

Closed pcav closed 6 years ago

pcav commented 6 years ago

By default the plugin points to 127.0.0.1:8080, which in a standard setting does not respond. Any special reason to to run on localhost, as other web plugins do? Thanks.

sbenten commented 6 years ago

This was taken from the default for the http-server npm package, but I'm open to suggestions.

Default to http://localhost:8080 ? Or another port?

On 26 Nov 2017 06:20, "Paolo Cavallini" notifications@github.com wrote:

By default the plugin points to 127.0.0.1:8080, which in a standard setting does not respond. Any special reason to to run on localhost, as other web plugins do? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sbenten/d3MapRenderer/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AGmRUSGHCJVovtqkwokhm85pS5icF2Dbks5s6QMYgaJpZM4QqrLi .

pcav commented 6 years ago

I suggest to follow the approach of qgis2web. In fact, merging your work with this plugin would be great @tomchadwin

tomchadwin commented 6 years ago

I did look at this back in early versions, but there were a lot of dissimilarities which could have made it problematic:

However, there are possibly ways that work could be done, if it was of interest.

pcav commented 6 years ago

OK, I see, thanks @tomchadwin for comments.