I was wondering how to best represent the inside of any given polygon (GeoJSON coordinates) with some sort of indexing, like a grid or quadtree? See image below for an approximation of what I have in mind.

enter image description here

Is there any library in Python or Java that can help me with this?

  • If you have a single polygon, how would you define the varied tile resolution that are inside? tile angle? – klewis Mar 29 at 20:48
  • What's the use case? How about rtree? toblerity.org/rtree – mikewatt Mar 29 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.