[hdf-forum] creating polygons from corner points
John Huddleston
jhuddleston at hughes.net
Wed Mar 25 07:28:01 EDT 2009
Good morning Thomas
In general, with any code, read and write operations in a do loop are going
to be slower than one single write.
In code you could use a two pass operation. On the first pass find the total
number of records to write, set up the array and read in the data, and then
perform one write to the geodatabase.
John Huddleston
-----Original Message-----
From: Becker, Thomas [mailto:thob at dmu.dk]
Sent: Wednesday, March 25, 2009 4:26 AM
To: hdf-forum at hdfgroup.org
Subject: [hdf-forum] creating polygons from corner points
Hi,
I am creating polygons from corner points of the OMI-AURA data using Python.
Since I am new to Python I am pretty sure there is much to improve at the
code and hopefully this will speed up the process.
The polygons are created into a File Geodatabase of ArcGIS, so it is highly
appreciated if someone of you is working with ArcGIS and can tell me how to
speed up the process of creating polygons within this code.
Please find the code at: http://pastebin.com/m37c7b7ea
Cheers Thomas
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to
hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.27/2021 - Release Date: 03/24/09
16:00:00
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
More information about the Hdf-forum
mailing list