[Talk-us] US Hydrographic Data
Adam Schreiber
sadam at clemson.edu
Wed Apr 30 16:19:20 BST 2008
On Wed, Apr 30, 2008 at 11:02 AM, Matthew Perry <perrygeo at gmail.com> wrote:
> Older versions of GDAL/OGR (pre 1.5) don't use the osgeo namespace. Try:
>
> import ogr
>
> instead.
Thanks. Changing both imports worked for me.
Sorry Ian, I have no idea where libproj comes from.
This really only ought to be run for a subbasin at a time. I received
a 46 MB osm file.
Cheers,
Adam
> - 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