On Wed, Apr 30, 2008 at 11:02 AM, Matthew Perry <[EMAIL PROTECTED]> 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 <[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

Reply via email to