Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Latest commit

 

History

History

nhd2osm

The scripts in this directory convert USGS National Hydrography Datase
t shapefiles into osm files (currently version 0.5).  One script is pr
ovided for each shapefile in a NHD extract.  Care must be used in empl
oying these scripts because not every NHD ftype (feature type) is curr
ently supported.  The user must check the list of feature types in his
 subbasin, and verify that they are supported by this script.  If they
 are not, he will need to add support or not import the basin.

These scripts are based on the existing polyshp2osm and shape_to_osm e
ngines, but the engines have been modified to support maximum way leng
ths.  Complex multipolygons are used to allow all ways to be split whe
n they exceed the fixed length.

When you have uploaded a NHD subbasin, please update the web site at:
http://wiki.openstreetmap.org/wiki/NHD  This will allow us to keep track
of what has been done and what still remains.

The SVN archive will be updated as newer versions become available.

The author (Theodore Book) may be contacted at tbook at libero dot it.


---------------------------------------------------------------------
Revisions:
22 Apr 2009:  The scripts now keep the files smaller than the specified
size, except in cases where a single feature has more objects than the
maximum number given.  Support for more ftypes.  Features can now be
excluded from conversion in all the scripts.  Upgrade to OSM version 0.6