Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 30 20:41
    Stophface reopened #2395
  • Jan 30 20:41
    Stophface commented #2395
  • Jan 29 10:49
    JamesLMilner commented #2391
  • Jan 29 10:48
    JamesLMilner commented #2395
  • Jan 28 21:39
    JamesLMilner closed #2391
  • Jan 28 21:39

    JamesLMilner on master

    TypeScript types: Separate out … (compare)

  • Jan 28 21:39
    JamesLMilner closed #2393
  • Jan 28 21:14
    JamesLMilner synchronize #2393
  • Jan 28 18:39
    JamesLMilner synchronize #2393
  • Jan 27 16:20
    Stophface closed #2395
  • Jan 27 15:53
    Stophface edited #2395
  • Jan 27 15:51
    Stophface edited #2395
  • Jan 27 15:51
    Stophface opened #2395
  • Jan 26 14:55
    stebogit commented #684
  • Jan 26 11:27
    JamesLMilner edited #2394
  • Jan 26 11:23
    JamesLMilner closed #2388
  • Jan 26 11:23
    JamesLMilner commented #2388
  • Jan 26 11:19
    JamesLMilner labeled #2389
  • Jan 26 11:19
    JamesLMilner edited #2389
  • Jan 26 08:27
    michaelfaith84 opened #2394
Tim Channell
@tcql
it's not like we're trying to get free work out of people - we can't make people contribute OS packages, but for the people who love it (like me!) is there a good way to manage that so that I don't accidentally spend my whole day maintaining things that don't necessarily gain us anything. We talked over setting some kind of "hey, don't spend more than x amount of time during the workday maintaining packages"... but I'm not sure if that feels too restrictive
just trying to find a right balance
Justin Zimmerman
@jrzimmerman
@tchannel I don't work for Mapbox, but I do work for a civil engineering firm. I normally charge time to open source projects when it benefits the client's project directly. (obviously making sure the project manager understands what I'm doing and kept in the loop)
Tim Channell
@tcql
@jrzimmerman I'm open to any suggestions, so thanks :) I've been pestering the mapboxers because I know they have an open source policy and stuff, but I'll gladly listen to anybody else's advice
that's kind what I'm thinking
the bosses here are sorta interesting... they seem initially kinda traditionalist, but are convinceable
i sold them on the benefits of doing an open source initiative
but the knee jerk reaction is "how do we make sure people don't waste time with it?"
Morgan Herlocker
@morganherlocker
@tchannel i think i would look at open source more as an engineering implementation detail rather than some huge shift in how the business operates. you work on it as much as the project requires + whatever extra you want to throw in for good karma. open source does not really take any more time than a closed source implementation done properly would take. Either way, projects should have tests, basic security, modularity, etc.
Tim Channell
@tcql
yea, and that's the thing I conveyed. the thing they worried over was whether people would spend extra time afterwards maintaining / expanding a project, like you said "for good karma", but during the workday
Morgan Herlocker
@morganherlocker
"how do we make sure people don't waste time with it?" << this could be asked just as easily of a closed project, for example
Tim Channell
@tcql
good point. I guess the thought is that if you make an open project, you potentially have more feedback - more requests, more issues, so you could potentially spend more time working on improvements etc that aren't necessarily internally beneficial
Tim Channell
@tcql
another point here is that we started as a very small, inexperienced bunch, so we have only sort of recently started doing the "done properly" part of things, with our regular work. I'm looking at embracing open source as a way to help push that more, by saying "look, all those little things you might have just hacked together as one off solutions before, try and think about how you would make these a package that other people might use" and then we'll open it if we want to. I'm wanting that to help motivate more upfront thought, better documentation, etc
Morgan Herlocker
@morganherlocker
i would turn that objection upside down. issues and requests are actually the most valuable part of open source. its a giant community QA department that operates for free. you can always ignore or 'wontfix' and issue if it is totally unimportant to you, but who wouldn't want to know that their software had a critical security vulnerability or a tricky logic bomb waiting to be discovered?
Tim Channell
@tcql
oh absolutely
i pointed to free fixes and advice as one of the big sells if you're looking at open source from a business perspective
lol so sounds like the answer is "make sure you have people on your team who have their head on straight about priorities"... which... makes perfect sense
Justin Zimmerman
@jrzimmerman
basically
Tim Channell
@tcql
okay guys, gotta run for a bit. Thanks a lot for the help / feedback. If you have any other thoughts about it you want to share, go ahead and I'll check them later. I'm really excited to get this stuff going and I'm really happy for the feedback
Justin Zimmerman
@jrzimmerman
thanks! see ya
Morgan Herlocker
@morganherlocker
:smile: good luck!
Tim Channell
@tcql
whoo, successfully upgraded postgres + postgis!
only took.... a few hours.
mostly because of huge datasets, but also because it's kinda complicated
Parker Agee
@parkeragee
Does anyone know where I could find GeoJSON data for U.S. zip codes? I'm looking to do a radius search for zip codes. (example: list all zip codes within 20 miles from 90210)?
RK Aranas
@rukku
@parkeragee Did you find it already? Found this http://bl.ocks.org/jefffriesen/6892860
Tim Channell
@tcql
just FYI, I'm going to work on closing out some issues on Turfjs/turf this weekend. Feel free to reopen anything that's been closed prematurely. I'm attempting to clean up the issues list so it's easier for us to see new & outstanding issues / feature requests
Abel Vázquez Montoro
@AbelVM
Hi everybody!
Abel Vázquez Montoro
@AbelVM
I have just commited four modules: turf-cut, turf-tesselate, turf-tin-constrained and turf-voronoi-constrained
I'm not much of a node guy (most of my suff must works offline too), so I'm sure I miss lots of node related stuff in my commits. Sorry in advance!
Abel Vázquez Montoro
@AbelVM
Ooops... I forgot to commit turf-polygon-reduce
Tim Channell
@tcql
Thanks @AbelVM! you're doing awesome work. maybe this weekend I'll get a chance to look at some of your stuff in depth more, see if I find any issues
Abel Vázquez Montoro
@AbelVM
I had a lot of 128 Git errors yesterday, so maybe the uploaded code is not my last version. I am using turf-polygon-reduce and turf-cut in production environment, so I can assure their reliability (turf-cut tolerance: 10^-9 meters, turf-buffer issue 23). Regarding node stuff... sorry. And documentation... I know, I know... I will expand and update these days.
Tim Channell
@tcql
hey @/all, just another heads up, I'll be doing more issue squashing this weekend. I'll be sure to CC anybody that's relevant on outstanding issues. If there's anything in particular anybody is waiting for feedback on, be sure to let me know
Abel Vázquez Montoro
@AbelVM
Hi. What about a feature-feature (haversine) distance module? I have some atomic functions that could result in a pretty interesting module if I find enough spare time to mix them up.
Giulio Ungaretti
@giulioungaretti
total general/random question.. what about performances ? Anybody Using turf with millions of points and zip code level geojson of say whole us/europe?
Abel Vázquez Montoro
@AbelVM
My tasks queue has something like that: crossing two data sets with zillions of (complex) polygons each, to find overlappings and make some spatial operations using those overlappings. Searching the way that best fits our needs (not only peformance), we have already achieved this using DotSpatial and using a custom-made QGIS plugin, next try is TURF, just for the joy of it. Once done, will post performace results.
Morgan Herlocker
@morganherlocker
@giulioungaretti most of the processing I do is with large datasets. Turf does well provided you think about optimizations where necessary. For example, indexing data is going to have a dramatic increase in algorithm performance, just like it would in PostGIS or other GIS engines.
Morgan Herlocker
@morganherlocker
@giulioungaretti also, forgot to mention that you can also test the performance of any turf module. clone the module repo and run node bench.js to see the number of operations per second for any function. https://dl.dropbox.com/s/16v5j5y5dpubzyv/Screenshot%202015-05-05%2012.09.55.png?dl=0
Scott Chamberlain
@sckott
I'm working on an R client for turf.js https://github.com/ropensci/lawn http://cran.rstudio.com/web/packages/lawn/ - Is there a place in turf docs to list this so others know its available?
Giulio Ungaretti
@giulioungaretti
@morganherlocker thanks a bunch!
James Seppi
@jseppi
Hey @morganherlocker and @tmcw - I'm going to give a short intro to Turf talk at a small conference this Friday. Do you guys mind if I pull stuff from previous presentations you've given (with credit, of course)?
stollc
@stollc
Is isobands removed from turf? I get an "turf.isobands is not a function" error. But it works if i use v1.3
Tim Channell
@tcql
@stollc yea, it got removed awhile back. I think it just wasn't doing what it was intended to do. AFAIK the plan is to fix it up and bring it back at some point
stollc
@stollc
@tchannel too bad :) i got the v1.3 to work , but with 20k points it took too long. I guess i need to do it server side.
Tim Wisniewski
@timwis
Hey guys, I have a bunch of points (available from the api as JSON or GeoJSON) and I'd like to gradient a polygon map based on how many points reside in each polygon, similar to what happens here: https://data.phila.gov/view/hc2b-xbvz -- would turf be able to help with that?
Paul
@paulJordaan
Hey guys, I have a map where I subtract existing polygons from a newly drawn polygon using turfjs. The result polygon seems to have the wrong projection. I have explained the issue here http://stackoverflow.com/questions/32192699/turf-js-erase-produces-polygon-with-wrong-projection. Any help would be much appreciated!
James Seppi
@jseppi
@timwis - I think you could use turf-count (https://github.com/Turfjs/turf-count) to assign a count of points in each polygon, and then something like @morganherlocker's geocolor (https://github.com/morganherlocker/geocolor) to assist with the coloring
Tim Wisniewski
@timwis
Thanks!