Tag Info

New answers tagged

0

Sounds like you want to derive a field from a layer, this can only be done in a script tool, it is discussed here. You will need to convert the logic of the model into python code.


0

If you are running scripts at the command line it is easy as this. myVariable = raw_input("Please enter some information: ") The command line will pause for input at this point and then you can use "myVariable" however you want (and test for valid input etc.). This works when using the IDLE Python Shell anyway but doesn't seem to work within the ArcMap ...


0

Sounds like you are asking to use the pythonaddins module and GPToolDialog method? I've not used this before so can't really comment on it. A quick look on the ESRI GeoNet forum threw up various threads about this, I would recommend you read those first before you try anything.


0

As a workaround you can include extra parameters into the WMS server base URL. Remember also to check the "Ignore GetMap URI reported in capabilities". If username and userkey are changed you must edit the WMS connection details accordingly. Standard does not say either that WMS clients should keep the vendor parameters. Make a feature request for QGIS and ...


0

Yes - I think the way to figure out how to do it is by setting up very simple master and sub models. The master model should do no more than take in a string from its tool dialog and then run the sub-model. The sub-model should take as one of its inputs a string and use that string to perhaps create a shapefile using the string as its name. You should be ...


0

Perhaps the validation issue is where you are editing the models from? ArcGIS gave me trouble if I edited sub-models from the Catalog, but no trouble if I edited them from inside the main model.



Top 50 recent answers are included