[OSM-dev] Tiger Import dev environment

Don Smith dcsmith at gmail.com
Wed Apr 4 17:52:08 BST 2007

I agree that shapefile seems to be the way to go for general imports.  
My hope however is to get the tiger data in as quickly as possible.  
Skimming the tiger site appears to show that the shapefile transition  
won't happen until much later this year. I'd like, rather than to  
think about a general import strategy, to stay goal oriented on  
tiger. It seems that everyone seems positive about python, which does  
discard the current ruby scripts, however since the current idea is  
to pull everything into mysql and then do transformations on the data  
afterwords, which since the current files are broken up by county  
seems to be the more accurate choice.

As for the debian setup, what am I missing other than apt installs of  
the relevant pieces. Frankly as long as the box has mysql running,  
python installed with the ability to connect to mysql and ssh, I  
believe that's all that's neccesary.

Don Smith
On Apr 4, 2007, at 9:11 AM, Robert (Jamie) Munro wrote:

> Hash: SHA1
> Don Smith wrote:
>> Any word on the tiger environment? Are we set on python?
> The other option was to base it on importing shape files, and this  
> perl
> script:
> http://wiki.openstreetmap.org/index.php/Shapefile_upload_script
> Martin Spott said he had TIGER and lots of other free data that we can
> import already converted to Shapefiles (or easily convertible to
> shapefiles). Also TIGER itself is moving entirely to Shapefiles  
> next year.
> If anyone knows a good shapefile library in Python, we could easily  
> port
> the above script - there's not much to it.
> Alternatively, we could import the shapefiles into PostGIS, and  
> have the
> python talk to that. While this may sound over the top, I think it  
> would
> be useful to have a spatially indexed database of the current data
> available for finding if there is any nearby data that should be  
> merged
> with (if we are adding a point very close to a point we have just
> added), updated (if it's a point we added on the last run) or left  
> alone
> (if it is pre-existing OSM data).
> Robert (Jamie) Munro
> Version: GnuPG v1.4.6 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> iD8DBQFGE6Pwz+aYVHdncI0RAlc3AJ9LFRwECrLxsVsAKjkkls1m/Euc4wCgreLL
> G0b1TxeoWb4EmefKyck3A2g=
> =f7zI

More information about the dev mailing list