AnsweredAssumed Answered

Convert lat/lon to Township/Range/Section with Python/arcpy

Question asked by john.daues on Jan 22, 2015
Latest reply on Jan 22, 2015 by Dan_Patterson

We have data in a SQL database that has many records, each with a lat/lon and PLSS (Township, Range, Section). This data was entered by hand and so it is possible that there are errors such that the lat/lon may not lie within the Township/Range/Section. A user could have typed a wrong lat/long or Township/Range/Section.

 

So I'm writing a python script to check that the lat/lon in a given record does indeed lie within the corresponding Township/Range/Section. I have written code to get the lat/lon and Township/Range/Section from the database and put this data into dictionaries. Now I need to test that the lat/lon lies within the Township/Range/Section.

 

Can I use arcpy to do this?

If so, can you give some direction?

Outcomes