Older versions of GDAL/OGR (pre 1.5) don't use the osgeo namespace. Try: import ogr
instead. - matt On Tue, Apr 29, 2008 at 6:14 PM, Adam Schreiber <[EMAIL PROTECTED]> wrote: > On Tue, Apr 29, 2008 at 6:15 PM, Matthew Perry <[EMAIL PROTECTED]> wrote: > > Feel free to try it out and let me know how it works. The script is > > available at > http://perrygeo.googlecode.com/svn/trunk/gis-bin/nhd_to_osm.py > > I'm running ubuntu hardy and installed every gdal related package I > could find. When running the script I get: > > $ ./nhd_to_osm.py NHD123830 nhd123830.osm > > Traceback (most recent call last): > File "./nhd_to_osm.py", line 31, in <module> > > from osgeo import ogr > ImportError: No module named osgeo > > Am I missing something? > > Cheers, > > Adam > -- Matthew T. Perry http://www.perrygeo.net _______________________________________________ Talk-us mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk-us

