geoscript / geoscript-js

A JavaScript Implementation of GeoScript
http://geoscript.net/js
MIT License
79 stars 17 forks source link

Add linear referencing methods to LineString #48

Closed jericks closed 9 years ago

jericks commented 9 years ago

Hi Tim!

This pull request just adds a few really handy linear referencing methods to LineString.

Thanks! Jared

tschaub commented 9 years ago

Looks good @jericks. I'd be tempted to go with shorter names (e.g. maybe interpolate, locate, subset). But you should merge what you think is right.

jericks commented 9 years ago

I like the shorter names. The Python and Groovy implementations use the longer names. Is it critical to have the same names between implementations? Honestly, I could go either way. Your call.