Hi,

I have a local PostGIS database with a small extract of the planet
loaded. I also have a bunch of polygons created as shapefiles with
QuantumGIS. Mapnic does a fantastic job of rendering maps showing the
area of the shapefiles. What I would like to to is extract a list of
names from all the roads that come from the PostGIS database that are
within the shapefile polygon. Is that possible? After that, I would
like to extract the centre point of the roads as well.

The reason is that I want to make some small maps where every road is
named. The standard text symbolizer works OK to a point, but leaves
many small streets un-labeled. For the moment, I have created extra
line and point shapefiles that hold the names and arrows so that I can
manually place the labels, but it would be better to have the system
create a list of roads, and then automatically place the names and
leaders to the centre of the roads. Does that make sense? To that end,
I will also need to know if it is possible to manually place text on a
map with Python.

-- 
Philip Stubbs
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to