Skip to main content
corrected spelling
Source Link
nmtoken
  • 13.6k
  • 5
  • 38
  • 89

Map from point-data to region data in pythonPython

I have a dataset that lists entities per district - where district is a named shape that exists on a map. I have a different dataset that contains entities of the same type, only instead of being positioned categorically (i.e. by district name) they are positioned using lat-long coordinates.

So, given a shape-fileshapefile (in either ESRI or GML3), how can I transform a list of lat-long coordinates into a matching list of named districts?

I am looking for the most generic algorithm possible, but if there are tools/modules out there that perform this function natively, that would be good to know too.

Map from point-data to region data in python

I have a dataset that lists entities per district - where district is a named shape that exists on a map. I have a different dataset that contains entities of the same type, only instead of being positioned categorically (i.e. by district name) they are positioned using lat-long coordinates.

So, given a shape-file (in either ESRI or GML3), how can I transform a list of lat-long coordinates into a matching list of named districts?

I am looking for the most generic algorithm possible, but if there are tools/modules out there that perform this function natively, that would be good to know too.

Map from point-data to region data in Python

I have a dataset that lists entities per district - where district is a named shape that exists on a map. I have a different dataset that contains entities of the same type, only instead of being positioned categorically (i.e. by district name) they are positioned using lat-long coordinates.

So, given a shapefile (in either ESRI or GML3), how can I transform a list of lat-long coordinates into a matching list of named districts?

I am looking for the most generic algorithm possible, but if there are tools/modules out there that perform this function natively, that would be good to know too.

edited tags; edited tags; edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link

Map from point-data to region data in python

I have a dataset that lists entities per district - where district is a named shape that exists on a map. I have a different dataset that contains entities of the same type, only instead of being positioned categorically (i.e. by district name) they are positioned using lat-long coordinates.

So, given a shape-file (in either ESRI or GML3), how can I transform a list of lat-long coordinates into a matching list of named districts?

I am looking for the most generic algorithm possible, but if there are tools/modules out there that perform this function natively, that would be good to know too.