Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 03 17:38
    Stophface closed #2376
  • Dec 03 15:52
    Stophface edited #2376
  • Dec 03 15:47
    Stophface opened #2376
  • Dec 03 02:35

    dependabot[bot] on master

    Bump decode-uri-component from … (compare)

  • Dec 03 02:35

    dependabot[bot] on npm_and_yarn

    (compare)

  • Dec 03 02:35
    dependabot[bot] closed #2375
  • Dec 03 02:35
    mfedderly commented #2375
  • Dec 02 23:54
    dependabot[bot] review_requested #2375
  • Dec 02 23:54

    dependabot[bot] on npm_and_yarn

    Bump decode-uri-component from … (compare)

  • Dec 02 23:54
    dependabot[bot] labeled #2375
  • Dec 02 23:54
    dependabot[bot] opened #2375
  • Dec 02 16:13
    markstos commented #2338
  • Dec 02 16:09
    markstos commented #2338
  • Dec 02 11:53
    Debakel commented #2338
  • Dec 02 11:24
    andrearizzello commented #1398
  • Dec 02 10:40
    antonmelbardis commented #2338
  • Dec 02 03:33
    nick-romano commented #2338
  • Dec 01 19:25
    JamesLMilner commented #2374
  • Dec 01 19:23
    jfoclpf commented #2374
  • Dec 01 18:41
    JamesLMilner closed #2374
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!
mrmanhluc
@mrmanhluc
why can't I use function turf.union(polygon1, polygon2)in IE9
Per Liedman
@perliedman
@mrmanhluc can't say I know, but what error are you seeing?
mrmanhluc
@mrmanhluc
@perliedman The map just doesn't load at all, just a blank page. It's like turf isn't compatible with IE9, can you give me a working example of turf in IE9 ? Or the required browser list for turf
This message was deleted
Per Liedman
@perliedman
@mrmanhluc what if you check IE's debugger? It's infuriating to work with, but should at least give you an error message.
@mrmanhluc no idea about turf's browser compatibility, but just guessing, I don't think IE9 compatibility is a top priority, but at the same time I'd be surprised if not most things would work.
Stepan Kuzmin
@stepankuzmin
Hey guys! I've recently wrote a simple turf module that wraps the world around 180 meridian. It's analogue of PostGIS ST_Shift_Longitude. Maybe it can be included in turf. See https://github.com/stepankuzmin/turf-shift-longitude
arkhemlol
@arkhemlol
This message was deleted
Stepan Kuzmin
@stepankuzmin
Hey guys! Is there any way to create clusters from points using Turf?
Mike Atlas
@mikeatlas
This message was deleted
https://github.com/Leaflet/Leaflet.markercluster is the #1 leaflet plugin i think they could borrow/implement the concept https://github.com/Leaflet/Leaflet.markercluster/blob/master/src/DistanceGrid.js @StepanKuzmin
Tom MacWright
@tmcw
@morganherlocker is there a proj4js library wrapper that does geojson?
Per Liedman
@perliedman
@tmcw depending on what you mean by wrapper, this might be what you want: https://github.com/perliedman/reproject
@tmcw Calvin Metcalf has also written something similar: https://github.com/calvinmetcalf/proj4geojson
Tom MacWright
@tmcw
@perliedman great, reproject looks like it
Erinç Fırtına
@EricMcRay
Robert Laverty
@roblav96
im really bumbed i dont see much turf activity :/ i check this gitter everyday hoping for some activity