I'm passing this on to the list, since I notice there are no entries
on "geotiff" in the archives, so perhaps this discussion will help
people.
Brian Miles pointed out this passage in the geotiff wiki page:
"
Right now in order to export a GeoTIFF indicator to begin with, it is
necessary to do it in code (see the
psrc.indicators.obsolete.create_single_year_indicators.py script for
an example of how to do this). Once you have the GeoTIFF indicator
exported to your disk, you may then use the second (2) part of this
project which this page is dedicated to, which is the functionality
created for ArcMap to automate map production of these previously
created GeoTIFF indicators.
"
Given that this is in an "obselete" package, and the wiki page was
updated some time ago, just wondering how far to pursue this.
We hope to setup a mechanism to pass output to arcgis or arcobjects
for processing.
Otherwise, I will pursue exporting the .csv table and joining by grid
id with other map layers.
thanks and happy holidays,
Galen
--- Just trying to output an indicator as a geotiff, but getting the error below (i'll try to decypher more tomorrow, and play with wingIDE's debug features). Looks like the geotiffmap and opusGDAL packages/libraries are there. The problems seems to be with the "prototype_dataset" parameter to the GeotiffMap constructor. Doesn't seem to be anything in the manual about "prototype_dataset", or geotiff. Doesn't seem to be much in the online wiki about geotiff indicators either, or the user archives. http://www.urbansim.org/wiki/external/index.php/Working_with_indicators_and_ArcMAP Committed make_indicators_example.py to the repository, in: C:\myworkspace\chittenden\indicators --- C:\myworkspace\chittenden\indicators>python make_indicators_example.py Creating cache directory 'c:\docume~1\urbansim\locals~1\temp\opus_core_tmpk1dq8t \07_12_19_18_25_36'. Traceback (most recent call last): File "make_indicators_example.py", line 208, in <module> name = 'impervious surface' File "C:\opusworkspace-svn\opus_core\indicator_framework\image_types\geotiff_m ap.py", line 46, in __init__ dir = directory_path_from_opus_path('%s.indicators.geotiff_files'%package) File "C:\opusworkspace-svn\opus_core\misc.py", line 109, in directory_path_fro m_opus_path exec('import %s as _start_package' % parts[0]) File "<string>", line 1, in <module> ImportError: No module named NoneReceived on Thu Dec 20 2007 - 10:53:25 PST
This archive was generated by hypermail 2.2.0 : Thu Dec 20 2007 - 10:53:27 PST