[OSM-talk] TIGER / Mapnik suggestion
Dave Hansen
dave at sr71.net
Thu Sep 6 05:08:32 BST 2007
On Wed, 2007-09-05 at 23:46 -0400, Andrew MacKinnon wrote:
>
> Perhaps "St" could be converted like this:
>
> St at end of name = Street
> St at beginning of name = Saint
There are also things like "1st St W". So, this doesn't work
universally.
To make it even more fun, look at this one: "California St City
BoatRamp" or "Manchester Pl-St Andrews Dr".
In fact, take a bunch of the TIGER files and do this:
cat $files | grep -v name_type | egrep -v 'United|State Highw| St"' | grep 'St ' | egrep -v 'St [NSEW]+'
You'll find a lot of weird corner cases. I don't think we'll be able to
solve them all in a very generic fashion.
-- Dave
More information about the talk
mailing list