Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am new to GIS and I would appreciate if you could guide me a little.

I have a .gdb folder with data and I need to process that data to find educational institutions which are within say X Km of the Roads.....And within Y Km of any other educational institution....

I need to generate a shape file with the resulting data.

Could you please tell me how shall i go about this?

Do i need to install ArcGIS to do this? Or is it possible to do this in ArcPy alone?

I am pretty ok with Python and I would appreciate if someone could guide me with a Python Snippet.....I am not looking for full code but just an idea to get me started.

Appreciate your help on this one.

Regards, Guddu

share|improve this question
6  
I've never been under the impression that you could use ArcPy without installing ArcGIS. –  Nathanus Dec 15 '11 at 15:30
1  
Yes, @Nathanus is absolutely right: ArcGIS must be installed in order to use arcpy. –  nmpeterson Dec 15 '11 at 16:25
    
You can use Arcpy if you have an ArcEngine License. But yes, a form of ArcGIS does need to be installed. –  OptimizePrime Dec 15 '11 at 21:37

1 Answer 1

Buffer your road and school layer by your X and Y search distance. Then do a select by location to see what schools are selected from the road buffer. To find what schools intersect each other yoiu could run the Intersect tool on the school buffer. These tools are common among both open source and proprietary GIS programs.

Specifically, in ArcMap you could run these operations in Model Builder than export out the code to python.

share|improve this answer
1  
There's no need to export to Python if you have a working model. –  Jason Scheirer Dec 15 '11 at 18:36
    
Unless you want to know the arcpy syntax! –  Nathanus Dec 15 '11 at 21:28

Your Answer

 
discard

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.