El Lunes, 20 de Abril de 2009, Nop escribió: > I know about those shapefiles. They used to be necessary, but now valid > coastlines are included in the OSM data itself. > > Does osm2pgsql filter out those?
i...@exabox:~/devel/osm2pgsql$ grep coastline *
[...]
output-pgsql.c: /* Discard natural=coastline tags (we render these from
a shapefile instead) */
output-pgsql.c: if (!strcmp("natural",item->key)
&& !strcmp("coastline",item->value))
So, yeah, osm2pgsql drops coastlines. Right there, on output-pgsql.c, around
line 550.
If you feel like it, just comment out that block of code, re-compile
osm2pgsql, and re-run.
Cheers,
--
----------------------------------
Iván Sánchez Ortega <[email protected]>
Un ordenador no es un televisor ni un microondas, es una herramienta compleja.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

