Re: [Talk-us] NHD import and conversion - sample data
Hi James, I did some more corrections on the rules files and I think that it covers all the left over points I saw (including adding waterway:stream to one of FCODE for Connectors that wasn't working). Just to confirm, these changes are the ones I see on the wiki, right? Yes In terms of untagged ways, if we don't import ComID's and the rest of the additional NHD tags. But ComIDs are still on the wiki. I can add -t in case there are untagged nodes/ways, but I don't have a strong opinion re: keeping or nuking back-references like ComIDs. My opinion is not strong, which is why I didn't nuke them there. I had stopped using them, as the prospect of ever referencing back to the NHD seemed nearly infinitessimal. Also, it would make conversion much easier ;). cheers ben James ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] NHD import and conversion - sample data
On Fri, Apr 29, 2011 at 10:49 AM, Ben Supnik bsup...@xsquawkbox.net wrote: 3. Duplicate nodes need to be merged, especially in the flowline files. The data currently have duplicate nodes a every point where one reach intersects another. This creates many duplicate nodes. The Corine data import folks wrote a java tool to remove these ( http://wiki.openstreetmap.org/wiki/WikiProject_Corine_Land_Cover/Corine_Data_Import ) which I use to remove the duplicate nodes. With some modification, that seems to have worked. I've been meaning to add a node dedupe step to the shp-to-osm suite. I'd love to see what you had to modify to get it to work. I'd also like to add a way dedupe at some point, too (to handle abutting areas like boundaries). g. In points and lines files there were many things that had no osm tags including gauging stations and nonearthen shores. We should not import things that have no osm tags. Hrm...interesting. The tools don't currently strip untagged data, do they? Is there an existing tool that strips 'null' data? There is an option (I think it's the -t flag?) to shp-to-osm to only include OSM primitives that had tags applied. ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] NHD import and conversion - sample data
Hi Guys, On 4/29/11 12:10 PM, Ian Dees wrote: I've been meaning to add a node dedupe step to the shp-to-osm suite. I'd love to see what you had to modify to get it to work. I'd also like to add a way dedupe at some point, too (to handle abutting areas like boundaries). Well, that code for the CORINE imports is very one-off...I had to make two mods: - Changed the tag delimetor from to ' - Change the 'offset' in the node record for lat/lon from 3/5 to 5/7. In other words, it's hard code to particular text output, it's not a general XML parser. There is an option (I think it's the -t flag?) to shp-to-osm to only include OSM primitives that had tags applied. Oh _that's_ what that does. :-) Hrm...but I'm not seeing untagged data in this latest import. Is there an easy way to find such things in JOSM? It looks to me that, because the ComID is imported as a tag, pretty much everything is going to get a tag, except for ways and nodes that are sub-parts of relations and ways, respectively. cheers ben -- Scenery Home Page: http://scenery.x-plane.com/ Scenery blog: http://www.x-plane.com/blog/ Plugin SDK: http://www.xsquawkbox.net/xpsdk/ X-Plane Wiki: http://wiki.x-plane.com/ Scenery mailing list: x-plane-scen...@yahoogroups.com Developer mailing list: x-plane-...@yahoogroups.com ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us
Re: [Talk-us] NHD import and conversion - sample data
Looks decent. I'm surprised they don't have MassGIS's hydrography data ... this NHD is quite low res and offset compared to what they have. The conversion seems OK though. On Thu, Apr 28, 2011 at 7:11 PM, Ben Supnik bsup...@xsquawkbox.net wrote: Hi Y'all, This is one sub-basin (01090001 - go Sox :-), isolated from the latest NHD data, then converted via the latest rule set off of the wiki (with shapefile key capitalizations fixed). http://dev.x-plane.com/download/01090001.zip If anyone has done NHD imports before, please take a quick look and let me know if this looks useful. If so, I can batch the rest of the HUC8s. This particular archive contains every layer from the source in both shp and osm format for comparison. cheers Ben -- Scenery Home Page: http://scenery.x-plane.com/ Scenery blog: http://www.x-plane.com/blog/ Plugin SDK: http://www.xsquawkbox.net/xpsdk/ X-Plane Wiki: http://wiki.x-plane.com/ Scenery mailing list: x-plane-scen...@yahoogroups.com Developer mailing list: x-plane-...@yahoogroups.com ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us ___ Talk-us mailing list Talk-us@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-us