Working To Change OSM fonts

From last few days, I am working  to change my fonts on OpenStreetMap server.

Here are my notes of what all I did to change my fonts.

I first followed the link:

http://weait.com/content/add-fonts-your-openstreetmap-server

http://sajjad.in/2010/05/setting-up-mapnik-for-rendering-tiles-in-your-language/

Here >>> import mapnik gave error.

…………………………………………………………………………………

gurpinder@gurpinder:~$ python
Python 2.7.3 (default, Aug  1 2012, 05:16:07)
[GCC 4.6.3] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import mapnik
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
ImportError: No module named mapnik
>>>
……………………………………………………………………………………

To remove error,I took help from link:

https://github.com/mapnik/mapnik/wiki/MacInstallationSource

This didn’t helped much.

Then I took help from this link:

http://highearthorbit.com/cjk-fonts-in-openstreetmap-tiles/

As I got some problem in my Internet, so I did few silly things which proved to be really useful in end.

I moved  few files (style.css)in /var/www/osm/

I also made few changes in style.css and this helped me to change  my scaleline.

Advertisements

2 thoughts on “Working To Change OSM fonts

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