2

I am running a Euclidean Distance analysis on a large file. I have a polygon layer that includes all Urban areas in Canada, US, and Mexico merged into one multipart polygon file. I am attempting to calculate Euclidean Distance at the 10 x 10 m pixel resolution. It has been three days, the hour glass in the results window is still there and the status bar at the bottom is still running with "Euclidean Distance...". I also set a processing extent to just outside the coastal boundary of the entire North America. Is there a way to see how much progress has been made, or how much time (or percent) is left to do? i have no idea if this is going to run for another hour or another 3 days.

closed as off-topic by Vince, aldo_tapia, whyzar, xunilk, BERA Dec 22 '17 at 14:21

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – Vince, aldo_tapia, whyzar, xunilk, BERA
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    I don't know QGIS to provide all the most useful information, but it strikes me that something has gone terribly terribly wrong. Are you trying to calculate the distance from one pixel to every other pixel? Also, what is the disk size of the polygon layer and how much memory do you have in your computer? – Brynne Dec 21 '17 at 18:58
  • the file size (polygon multipart shapefile) is 147,495 KB and my computer has a 64 bit operating system with 48.0 GB installed RAM of which 47.9 is useable. – user111538 Dec 21 '17 at 19:06
  • I have run models before that took up to 5 days and worked, usually it was the results of very large datasets or limited processing power... i was hoping the same was true in this situation. I am trying to create a raster file (10x10 m grid) where each pixel has a value for distance depending on the closest polygon (i.e. urban center). – user111538 Dec 21 '17 at 19:08
  • Yeah, that's probably going to be a bunch of days to process. You're looking at something like 6 billion distance calculations and probably tens of gigs for the final raster. You might have a faster processing time if you wrote a script to parallelize it and put it on a high performance computer. Or your script might be able to make more effective use of your computer's memory (I don't know how effectively QGIS is using that memory) – Brynne Dec 21 '17 at 19:17
  • Can you set a maximum distance value that would limit the processing away from urban areas? Are you ever going to need a result for cells that are beyond a certain distance that you will not use? – DPSSpatial Dec 21 '17 at 19:17