[OSM-talk] TIGER/Line - no polygons ???
Artem Pavlenko
artem.mapnik at googlemail.com
Tue Sep 4 18:19:39 BST 2007
On 04/09/07, Dave Hansen <dave at sr71.net> wrote:
> On Tue, 2007-09-04 at 17:40 +0100, Artem Pavlenko wrote:
> >
> > On 04/09/07, Dave Hansen <dave at sr71.net> wrote:
> > > On Tue, 2007-09-04 at 17:24 +0100, Artem Pavlenko wrote:
> > > > I'm happy to help if I can. I've written TIGER dataset plug-in for
> > > > Cadcorp but it was long time ago. I'm hoping to get some free time
> > > > before foss4g .. Where can I have a look at your tools?
> > >
> > > The tarballs in here:
> > >
> > > http://www.sr71.net/~dave/osm/tiger/
> >
> > Great. Looks like I'll have to learn Ruby :D.
>
> It's a pretty horrid little language. Somehow, its garbage collector
> manages to touch all of memory constantly, even if it isn't in use.
> That keeps the OS from being able to swap out all of the unused memory
> that ruby garbage collector missed. It's also slow as all hell to do
> really rare things like function calls.
Sounds like fun :]
>
> I really started to rewrite the whole thing in C++, but gave up because
> it isn't quite worth it.
>
> I hate perl, too. But, the difference there is I hate it and still
> voluntarily use it all the time! :)
>
I just cheated and combine your TIGER roads with landmark polygons
from esri (very naughty I know) :
http://artem.dev.openstreetmap.org/files/tiger_osm.png
Dark blue and light green polygons from landmarks.
I get these CFCC codes :
planet_osm=# select distinct cfcc from tiger_landmarks; cfcc
------
D00
D10
D21
D23
D28
D31
D33
D36
D37
D43
D44
D51
D60
D61
D62
D63
D64
D65
D80
D81
D82
D83
D84
D85
D90
E23
H00
H11
H12
H13
H21
H22
H31
H32
H41
H42
H50
H51
H53
H80
H81
(41 rows)
I won't be able to look into all these till next week but It think it
would be nice to get those polygons into OSM, somehow... Ruby or C++
???
BTW, have you tried Python? I found it complements c++ nicely.
Artem.
> -- Dave
>
>
More information about the talk
mailing list