Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add htmlwidget version #1

Open
timelyportfolio opened this issue Aug 8, 2015 · 3 comments
Open

add htmlwidget version #1

timelyportfolio opened this issue Aug 8, 2015 · 3 comments

Comments

@timelyportfolio
Copy link
Contributor

I discovered your project as I planned this week's htmlwidget of the week to wrap the mapshaper web ui. It appears you are trying to provide an interface to the command-line, but I thought the combination of both your planned interface and an htmlwidget would provide a really powerful tool. I'll start as a standalone htmlwidget with the idea that it might get absorbed here. Thanks so much for starting on this. I look forward to hearing from you.

@ateucher
Copy link
Owner

Sorry for the delay here - I've been on holidays :)

This is fantastic! The ability to use the gui right inside R is so helpful. It would be great to get the result returned as an R object, which looks like it is on your todo list.

You're right, I am trying to wrap the command line tool - right now the simplify function is working relatively well with system calls to the node module, but there are two problems with that. 1: A user has to have node and the mapshaper module installed, and 2: There is a lot of disk i/o involved. So I'm experimenting with using V8, but so far haven't made it very far (due to lack of time and limited javascript skills).

I think it would be great to incorporate the htmlwidget into this package as you're right - the ability to use the gui to experiment (for example to get optimal simplification parameters), and then script it with the simplify function would be fantastic.

@timelyportfolio
Copy link
Contributor Author

As of now, I am planning to try to merge in the htmlwidget piece once test-v8 stabilizes enough to get merged into master. Does that work?

@ateucher
Copy link
Owner

That's fantastic, thanks! I think it's getting close to getting the core stabilized and I will merge into master soon and start to flesh out the functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants