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've created script in Python for ArcGIS that simplify Line, and make buffer from processed line.

input = "input.shp"
name = "bord"
buffer = "buffer.shp"

gp.SimplifyLine_management(name, input, "POINT_REMOVE", "2000 Meters", "FLAG_ERRORS", "NO_KEEP", "NO_CHECK")

gp.Buffer_analysis(input, buffer, "10 Meters", "FULL", "ROUND", "NONE", "")

but it this case, I have to create 2 shapefiles (one for intermediate results, and one for output). But is it possible to save for ex. intermediate results to variable, and then use it as parameter for buffer, and print out geometry of buffer(as array of vertexes) to the screen? I'm using ArcGIS 9.3

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Perhaps this helps: You can write intermediate data to your computer's memory rather than to a shapefile on disk. Writing intermediate data to memory is extremely fast compared to writing to disk. Use the in_memory workspace:

in_memory

In this question you find some hints for the syntax and usage for in_memory workspace.

share|improve this answer
    
love this answer!! that is what I was looking for! thanks mate, 3days of searching.... :) –  Krystian Apr 8 '13 at 12:26

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.