[Talk-us] Clark County, Nevada Street Center Line data

Joseph Scanlan n7xsd at arrl.net
Fri Jul 25 18:11:05 BST 2008


On Thu, 24 Jul 2008, Ian Dees wrote:

> make sure that the data is better than the data that was already 
> imported from TIGER.

The data is quite good and gets updated weekly.  So...  I don't want to 
treat this as a one shot conversion.  Updates should be part of my plan.

I've downloaded the SCL and converted it to lat/lon to use in xastir
 	http://www.xastir.org/
My current copy is a little old.  I'll find my notes and get a fresh 
copy.

> I can help you with the convert shapefile to .osm step, as I am slowly
> working on the SHP -> OSM script mentioned previously on this list.

Thanks.  I'm an old Fortran programmer who's learned to hack together 
Java, PERL. etc. but I've never tried reading/writing shapefiles or XML. 
Should be fun to learn.

Initial import:

STRCLASS is the street class as defined by Clark County GIS (CCGIS).

1	for each STRCLASS in county shapefile
2		create scl.osm preserving attributes as ccgis: tags
3		extract working.osm from planet.osm with the same
 			bounding box as scl.osm
4		remove ways from scl.osm that are already in working.osm
 			(by comparing ccgis: tags)
5		use JOSM to replace TIGER ways with ways from scl.osm
6		upload changes
7		relax until planet.osm is updated
8	next STRCLASS

Step 1 may not be as simple as iterating through STRCLASS.  The CCGIS 
data doesn't clearly identify motorways.  I plan to do these in the 
first iteration by selecting on STRNAME.  (That's what inspired step 4.)

Steps 2, 3, and 4 should be automated with a script.

Updates:

1	create scl.osm preserving attributes as ccgis: tags
2	extract working.osm from planet.osm with the same
 		bounding box as scl.osm
3	create add.osm, delete.osm, and change.osm by comparing
 		ccgis: tags in scl.osm and working.osm
4	review changes.osm with JOSM and upload
5	review add.osm with JOSM and upload
6	process delete.osm (but how?)

-- 
---------------------------------------------------------------------
Joseph Scanlan                               http://www.qsl.net/n7xsd
+1-702-455-3679                               http://n7xsd.dyndns.org
jps at co.clark.nv.us (work)                   (not work) n7xsd at arrl.net
---------------------------------------------------------------------

So he went inside there to take on what he found.
But he never escaped them, for who can escape what he desires?
                                               --Tony Banks of Genesis
                                                    in "The Lady Lies"




More information about the Talk-us mailing list