POST
|
Hi, I was struggling with the same problem; the code just stopped working. I finally found a solution, that wokrs for me. In the scipt properties check the options: "Always run in foreground" BR, Matej
... View more
01-04-2016
02:54 AM
|
0
|
0
|
1000
|
POST
|
Hello, I am new to publishing geoprocessing services to flex viewer so I have a problem and can't find the solution myself. I made a GP service that downloads files which are selected via fishnet. My problems are: 1. How can I make a limitation for the max. number of squares that can be selected in fishnet. I tried in the script to make an if statement, but the script doesn't stop if less than 10 squares are chosen. 2. I would also like to make some messages in order to explain the user whih step of the process in going on. 3. Can i just zip the files on the argisoutput dierectory and provide the user the link to files, instead of directly downloading the files in zip format (like in ExtractData GP sample)? I attached the python code for the GP. BR, Matej
... View more
03-05-2015
04:23 AM
|
0
|
0
|
2517
|
POST
|
Hi, My suggestion would be: - create a polygon feature class with your sinks and use it in the Fillsink step as a Deranged Polygon layer - after "Flow direction with Sinks" step you may get a raster that has other values than expected (1,2,4,8,16,32,64 and 128). The unexpected cell numbers will occure on the locations of sinks that are not correctly defined. In this case you must extend or reduce the size of the sink polygons on those locations. - continue these steps untill you get a Flow direction grid with cell numbers 1,2,4,8,16,32,64,128 and 255, which is the cell value of the sink. Hope this will help, Matej
... View more
02-15-2013
03:22 AM
|
0
|
0
|
244
|
POST
|
Helo, the only thing that worked for me was exporting all the features into shapefiles and then edit them. Hope this will help. Best regards, Matej
... View more
04-04-2011
04:36 AM
|
0
|
0
|
460
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|