wboykinm / mecmaps

Code Base for DAI MEC Mapping portals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buffer bassins to "has_irrigated"

wboykinm opened this issue · comments

sqrt/pi

For geometric accuracy, this might require a geojson converter from mysql. Adapting getgeojson.php . . .

These polygons are a geometric mess. Lots of self-intersection from GPS artifacts. Not sure if there's a better way of doing this than manual cleanup. In any case, cleanup is strictly to provide accurate-ish centroids. The boundaries are not useable.

Cleanup Notes

  • Features 1296 and 1400 are geometrically the same, but have different owners listed.
  • Same for 1363 and 1383
  • 1446 and 1648
  • 1490 and 1661
  • 1603 and 1651
  • 1631 and 1632
  • 1765 and 1766
  • 1571 and 1572 are duplicates

For the buffer, I calculated the radius in meters using the "has_irrig" field (hectares irrigated):

Radius (m) = (sqrt(("has_irrig")*10000))/3.1415