Prior to ArcGIS 9.2 the preffered way to hook scripts was using win32com as describe earlier. ESRI seems to be making a move toward Python for better cross platform compatibility (they're coming back full-circle to their roots it seems). So if you are going to use Arc9.1 stuff for all of time you should be fine with win32com, but if you want your code to work when you update your Arc installation .... well ... ymmv.
This esri article discusses some of the nuances of the new arcgisscripting python interface: http://support.esri.com/index.cfm?fa=knowledgebase.techArticles.articleShow&d=31910 -- Jonah Duckles Graduate Research Assistant Purdue University On 8/1/07, Mark Maclennan <[EMAIL PROTECTED]> wrote: > > > Perhaps you might be able to tap into using JRuby ( > http://jruby.codehaus.org/) if you have access to any of the ESRI Java > APIs ( http://edn.esri.com/index.cfm?fa=java.gateway) . I see that there > is a ArcSDE Java API. > > Sort of the best of both these worlds - the Ruby scripting language with > access to the extensive Java libraries (most far better than the equivalent > Rudy libraries). There are also a fair number of OSGeo Java libraries (like > GeoTools). JRuby can do Ruby on Rails just fine. Version 1.0 of JRudy was > released this past June. > > - Mark > > (my understanding is that Jython is also being revived ;-) > > > > On 7/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > > > > > Thanks Sean and Puneet, > > > > IMO: > > > > We're working in a cross platform environment: > > > > - ArcSDE under Unix > > - ArcGIS Desktop under windows > > > > + other potential OSGeo products under Unix/Linux. > > > > I'm looking for a common scripting environment (read that to be > > 'programming' environment Sean ;-) ) for housekeeping tasks between > > environments as well as geoprocessing type tasks with ArcGIS Desktop. > > > > While Python is an excellent language, I quite like what I see in Ruby > > and also in Ruby on Rails for database work. > > > > ....not wanting to start a flame war on what product is better than > > another.... > > > > > > > > _______________________________________________ > Geowanking mailing list > [email protected] > http://lists.burri.to/mailman/listinfo/geowanking > >
_______________________________________________ Geowanking mailing list [email protected] http://lists.burri.to/mailman/listinfo/geowanking
