[Talk-us] Tools for importing National Hydrography Dataset?

Ian Dees ian.dees at gmail.com
Thu Apr 9 22:06:12 BST 2009


On Thu, Apr 9, 2009 at 4:02 PM, Chris Lawrence <lordsutch at gmail.com> wrote:

> Also included is my script that merges duplicated nodes in the
> shapefile, which are common along shared boundaries.  It's not quite
> as good a solution as using line-based borders, but I couldn't wrap my
> brain around an easy way to program an automated conversion from
> polygons to lines in any sensible way.  This one requires the Python
> lxml library (on Debian/Ubuntu, apt-get install python-lxml).  Thus
> far the filenames are hardcoded, which I may fix later.


Chris, I'm not sure about what you feel your expertise in Java is, but I've
been looking for some open time to implement the de-deduplification of nodes
in my Java version of shp-to-osm. Think you could submit a patch and/or talk
me through the algorithm?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20090409/57aeffd1/attachment.html>


More information about the Talk-us mailing list