Important Points

 

While I was searching for changing colors in my osm map. I got some useful information regarding OSM.

OSM data is coming from shp files and postgresql database.

.py means python file. I don’t knew about it beforehand.

Purpose of render.py is used to render the map through mapnik. Size of the tile is defined in this file.

osm.org is a slippymap. I told about slippymap in my previous blogs.

OpenStreetMap layer tagging is converted by Osm2pgsql into a z_order parameter in the PostGIS/PostgreSQL database.

The term “Z-order” refers to the order of objects along the Z-axis.

An analogy would be some sheets of paper scattered on top of a table, each sheet being a window, the table your computer screen, and the top sheet having the highest Z value.

Command:- The below command tells which tiles are rendered and when it is rendered it prompts DONE TILE message shown below.

sudo tail -f /var/log/syslog | grep “TILE “

It’s output is like this

Jul 21 11:50:31 amishapc-Vostro-2520 renderd[9992]: DEBUG: START TILE default 16 46552-46559 26856-26863, new metatile
Jul 21 11:50:31 amishapc-Vostro-2520 renderd[9992]: DEBUG: DONE TILE default 16 46552-46559 26856-26863 in 0.279 seconds

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s