Francis Yaconiello
Reputation
213
Top tag
Next privilege 250 Rep.
 Jan 21 awarded Yearling Jun 27 accepted Pick random points in an earth circle Jun 19 awarded Commentator Jun 19 comment Pick random points in an earth circle yea i do have to wait a day to accept it. I'm not sure how helpful this will be for future folks as it was just a copy paste error. Jun 19 answered Pick random points in an earth circle Jun 18 revised Pick random points in an earth circle added an edit Jun 18 comment Pick random points in an earth circle lets start back at the beginning of the problem. I am trying to find random points within a certain radius of another point. The distribution doesn't have to be perfectly random, the fence radius will be between 10 to 200km roughly. I wasn't feeling great about my math when I tossed this up here, how would you fix it? Jun 18 asked Pick random points in an earth circle Sep 17 comment Usage of GeoDjango I thing you need an `=` sign: `qs = Events.objects.filter(point__distance_lte=(pnt, D(km=5)))` Sep 17 comment Django PolygonField: how to display on map? This is a pared down example of what I'm doing here: gis.stackexchange.com/questions/27300/… Sep 17 answered Django PolygonField: how to display on map? Jul 8 awarded Teacher Jul 8 answered My house address isn't listed on Google Maps Jun 20 awarded Scholar Jun 20 comment geodjango slowness and debugging i went ahead and marked this as the answer, the project got pulled and i'm no longer working on it. thanks for the great discussion. Jun 20 accepted geodjango slowness and debugging Jun 19 comment geodjango slowness and debugging im dealing with US census data mostly boundaries for states (some like VA, some like HI). islands seem to need to be handled separately because the distances between those points are more significant. I almost fell like simplification shouldn't be based on a constant. Instead siimplification should reduce points based on some factor of standard deviation of distances between points for each specific polygon. Jun 15 comment geodjango slowness and debugging in that case I'm back to my original question, how do you determine programatically the correct tolerance? Jun 15 comment geodjango slowness and debugging that is interesting, I think the simplify function in geodjango may be buggy then. On smaller polygons I noticed that If i specified a tolerance too high that the polygon would break (not validate as a geos polygon) I figured that had to do with oversimplification and that I should adjust the simplification level based on the number of nodes (which worked to a degree, but seemed error prone) Jun 15 awarded Editor