If there are a way to do

call("gdal_contour -i 10 -f GeoJSON".split(' ') + [file1, file2])

as Python call method of some library? Not via command line call and intermediate file storing?


As the documentation says "Functionality of this utility can be done from C with GDALContourGenerate()."

A quick google turns up this question and this one with python solutions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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