[OSM-talk] why does mapnik not display my circles?
Frederik Ramm
frederik at remote.org
Mon Nov 16 10:11:46 GMT 2009
Kenneth,
Kenneth Gonsalves wrote:
> I am building a map using mapnik with India specific features. The idea is that
> the data will be in the osm database, but India specific features will only
> show on my server. One important thing here is that food is strictly divided
> into vegetarian and non-vegetarian. The law mandates that all food items
> should have either a green circle or a red one to show food type. There are
> areas in the country where it is very difficult to find a non-veg restaurant (and
> often considered impolite to enquire where one is). Since this is not specific
> to restaurants - it covers all shops that deal in food, I made a new tag
> called food=veg and food=nveg with either a green or red circle.
Check whether your planet_osm_points table in the PostGIS database
actually contains a "food" column. (You say "the data is there in the
database" but I'm not sure what step you are referring to there.) Simply
try a "select count(*) from planet_osm_point where food='nveg';" to see
if that returns anything. If not you will have to add the food column
in osm2pgsql's style file.
> I would expect a higher zoom would be the best way to go. I have
> set numZoomLevels: 25, but the tool only shows the max as 18. How do I change
> this? I am using openlayers with mod_tile.
You will have to patch mod_tile/renderd to allow higher zoom levels than
18, the limit is hard coded somewhere in there!
Bye
Frederik
More information about the talk
mailing list