POST
|
Hi everyone I want to build a toolset by using add a script that before I had provided in Pythonwin, this tool overlays some rasters by apply Weighted Sum approach. I found that by command arcpy.getParameterAsText(), we can give flexibility to toolset for introducing parameters. but in case this operation, unlike tools like buffer and clip that introduction of parameters is clear, I don't know how introduce required parameters. can anyone help me about this? thank you
... View more
06-26-2014
10:37 AM
|
0
|
2
|
789
|
POST
|
Hi lpinner Thank you, I again tried your code of course with a little change and fortunately this time it was work. I remove the "someraster" from method of save and the result aw OK. I plan to do this work about about Fuzzy membership and Weighted sum with 5 layer. can you help me about these? Regard Mohsen
... View more
06-24-2014
08:13 AM
|
0
|
0
|
368
|
POST
|
Hi lpinner thank you, I tested you code in the toolset but when a number (with Double type) introduced for division rater by it, that doesn't work and the error message was " ERROR 000732: Input Raster: Dataset 7 does not exist or is not supported Failed to execute (Script)". then I introduced a raster (with Raster layer type). Unfortunately again it wasnot work. the error message is: "ERROR 000875: Output raster: I:\Session7\gt\someraster's workspace is an invalid output workspace.". I don't know what do. I plan to do this task about Fuzzy membership and Weighted sum. please help me. regards Mohsen
... View more
06-24-2014
03:26 AM
|
0
|
0
|
368
|
POST
|
Hi everyone I want to build a toolset by using add a script that before I had provided in Pythonwin, this tool divide one raster by maximum value from that raster for normalization it. I found that by command arcpy.getParameterAsText(), we can give flexibility to toolset for introducing parameters. but in case Divide operation, we only can introduce raster1 or constant1 and raster2 or constant2 and I don't know determine name and path of output using arcpy.getParameterAsText() like operations of Buffer, clip and so on. I look forward for your helpful answers. Meanwhile I pasted the script as follows. Thank you import arcpy from arcpy import env from arcpy.sa import * arcpy.env.overwriteOutput = True # Get the input parameters for inPath = arcpy.GetParameterAsText(0) constant = arcpy.GetParameterAsText(1) #outPath = arcpy.GetParameterAsText(2) #bufferDistance = arcpy.GetParameterAsText(2) # Run the Buffer tool Divide(inPath,constant) #env.workspace = outPath # Report a success message arcpy.AddMessage("All done!")
... View more
06-23-2014
02:12 PM
|
0
|
4
|
840
|
POST
|
Hi Anthony your post was very helpful. thank you Mohsen
... View more
04-28-2014
02:17 PM
|
0
|
0
|
205
|
POST
|
Hi every one I want to use Open Street Maps as base maps or operational layers. How use it in my application? can you help me about this? Thank you Mohsen
... View more
04-14-2014
02:10 PM
|
0
|
2
|
1463
|
POST
|
Hi every one I try to show attached images in published layers of Web application. At first I attached each image for each record in Arc map using HTML Popup (for this layers should be included in a Geodatabase). After publishing layers as map service and browsing them in Flex builder, unfortunately I noticed that attached images couldn't appear. what should I do for display these images. Do you have any suggestion? Mohsen
... View more
04-05-2014
04:39 AM
|
0
|
1
|
401
|
POST
|
Hi dear Janie I downloaded compiled version, with size: 12.58 mb, but the zipped file is corrupt because it can't extract completely, if you send me the extracted file (Arc GIS flex viwer 3.6), you will give me a great kindness because my case is emergency and vital. thank you Mohsen
... View more
03-18-2014
07:28 AM
|
0
|
0
|
162
|
POST
|
Hi guys, I have a problem: I just have downloaded ArcGIS viewer for flex 2-4 to 3-6 but when extracting all of them, I counter an error and ultimately the file failed to extract. I don't know what is that? are you know this problem? the most important thing: what do I now! if you could send me the unzipped file (ArcGIS viewer for flex 3-6) I will appreciate you. this is my mail: mohsen64_rs@yahoo.com thank you
... View more
03-17-2014
01:37 AM
|
0
|
2
|
579
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|