[Imports] NHD Data Import

Mike N. niceman at att.net
Mon Jul 20 23:00:04 BST 2009


I am preparing to bring in some NHD data for my area.   I'm following the 
conventions on 
http://wiki.openstreetmap.org/wiki/National_Hydrography_Dataset and the 
suite of utilities at 
http://svn.openstreetmap.org/applications/utils/import/nhd2osm/ .

   I'm working through this and will update the "Process" area of the Wiki 
if that's OK.

  1.) The files to process are:

hydrography/NHDLine.shp   with shape_to_osm-Line.py
hydrography/NHDFlowline.shp with shape_to_osm-Flowline.py
hydrography/NHDArea.shp with polyshp2osm-Area.py
hydrography/NHDWaterbody.shp with polyshp2osm-WaterBody.py

  2.)  An initial run shows that the NHD data projection is compatible with 
the utilities without running the ogr2ogr conversion, based on a sampling of 
areas that I know and validation against the aerial views.

 3.)  Is bulk_upload.py at

http://svn.openstreetmap.org/applications/utils/import/bulk_upload_06/

  fully compatible with output data produced by the conversion process?  In 
other words, can the bulk uploader be pointed at all the separate files and 
it will create multiple changesets for each file if necessary and produce 
the proper result?

 4.)  From the README: "Care must be used in employing these scripts because 
not every NHD ftype (feature type) is currently supported.  The user must 
check the list of feature types in his subbasin, and verify that they are 
supported by this script. "

    How is this done - do the scripts emit a warning if a new type is 
encountered?   Or is it necessary to extract expected types from the script 
and query the shape databases for new unexpected types?


  Thanks,

  Mike
 





More information about the Imports mailing list