|
POST
|
Have you confirmed that the WAMP environment is running against the same Python interpreter as ArcGIS, and can you perform any other operations successfully? Note that ArcGIS for Server is required for network-based access to ArcGIS.
... View more
06-20-2013
11:49 AM
|
0
|
0
|
414
|
|
POST
|
Marc, I don't think there's a direct mechanism in ArcPy to edit that attribute, but it isn't too hard to do if you have some intermediate Python chops: the .tpk file is just a plain ZIP archive, and if you decompress the archive, you'll see a file, esriinfo/iteminfo.xml, which contains all of the settings, including that field, under the <licenseinfo> element. You could use the zipfile module in Python to extract the .tpk file, edit the XML file in Python using the included 'xml' module, and then save the full result set back to a new zip file. Not as easy as an additional parameter, but it'd do in a pinch. cheers, Shaun
... View more
06-19-2013
04:05 PM
|
0
|
0
|
842
|
|
POST
|
Shaun, did you locate a different version? The one on ArcScripts is a .dll (presumably built with VB6, *not* VBA). I just used the version listed on ArcScripts, and played around with the tool in a cursory fashion, I should've performed all analysis steps prior to commenting. It does *mostly* work, and can compute its weights, eigenvalues, and consistency ratio without issue, but the final step of combining these into a raster output fails with the error "AddRastersMapAlgb: Automation error Unspecified Error". This is, as you mentioned, due to the changes in architecture between releases.
... View more
06-19-2013
03:40 PM
|
0
|
0
|
3233
|
|
POST
|
If you let me know the source of the SRTM tiles, I can create a similar mosaic here to try with, or try selecting just the tiles around the erroneous high values -- I don't need the whole set, just an example area which exhibits the behavior, if you'd like to figure out the specific problem in doing both steps simultaneously.The drop in elevation you are seeing is expected: when you perform cubic re-sampling, you're averaging over a neighborhood of elevation values for each output cell. In both cases -- Rob Hijman's Bioclim, and SRTM -- the original data providers share versions sampled at other resolutions (e.g. SRTM30). It may be possible to side-step these issues entirely by using one of these versions as your first step, as both sources have already assessed the resampling in the methods of their dataset production.
... View more
06-19-2013
03:26 PM
|
0
|
0
|
1214
|
|
POST
|
It looks like the extension is written in VBA, a deprecated platform. To get support for VBA in 10.1, you need to install ArcGIS for Desktop VBA Compatability. I've tested AHP with VBA enabled on 10.1SP1, and it works provided the VBA support is available.
... View more
06-19-2013
03:02 PM
|
0
|
0
|
3233
|
|
POST
|
The example for IGeometry.Project should help, also IFeatureProject.
... View more
06-19-2013
12:37 AM
|
0
|
0
|
330
|
|
POST
|
ArcGIS expects shapefiles adhere to a naming convention of 'name.shp' and related files share the same file name prefix. Trying to create a file called 'test.xml.shp' violates this convention, if you rename your Shapefile to 'test.shp' your script runs as expected.
... View more
06-18-2013
11:28 PM
|
0
|
0
|
661
|