Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a text file with lat/lon table values and want to use this information to generate a fishnet using python. Any heads up would be deeply appreciative. Also please point to if this has been already addressed.

Thanks, Ibe

share|improve this question

If your fishnet is evenly spaced, you can use the Create Fishnet geoprocessing tool in ArcMap to accomplish this.

If you have a more complicated fishnet, you can use the basic geometry writing functionality of ArcPy to create a fishnet of points, polylines or polygons.

share|improve this answer
It is evenly spaced. I want to do it in python script to have it as a workflow for future reference. The use of fishnet in script is detailed in resource help but the use of text file in script is what bugging me? – Ibe Jan 3 '12 at 18:00
In text file there are two entries lat and lon. I want to use these to generate fishnet in script – Ibe Jan 3 '12 at 18:02
To read and write files, consult the Python documentation. The fishnet tool help has Python code snippets that can get you started. – dmahr Jan 3 '12 at 20:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.