[Talk-us] US Hydrographic Data
Matthew Perry
perrygeo at gmail.com
Wed Apr 30 16:02:52 BST 2008
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 <sadam at clemson.edu> wrote:
> On Tue, Apr 29, 2008 at 6:15 PM, Matthew Perry <perrygeo at gmail.com> 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
More information about the Talk-us
mailing list