On 14/01/10 09:12, [email protected] wrote: > Quoting Tom Hughes<[email protected]>: > >> What stylesheet did you use? A stylesheet written for postgis won't work >> with the osm plugin without major edits as I recall. > > Do you mean the xml style file ? > I copied a big one from somewhere, and changed only one layer to osm, leaving > the others on postgis. Is it allowed to mix sources ?
It's allowed to mix sources, but you have to be aware of how each source maps it's data to attributes that mapnik operates on. > As for the style for this layer, I did not modify it; it is quite simple, with > some filter like [highway]='residential. Should I use a different syntax for > osm > source ? I've forgotten the details, but my memory is that the way keys and values in osm files are mapped to attributes by the osm plugin is somehow different to how the combination of postgis and osm2pgsql does it. Tom -- Tom Hughes ([email protected]) http://www.compton.nu/ _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

