Display Map like OpenStreetMap

deerawan picture deerawan · Jul 29, 2010 · Viewed 12.3k times · Source

I like the way OpenStreetMap display its map. It almost looks like Google Map. I have already installed GeoServer and PostGis on my notebook. I also got this cloudmade osm file for my country, Indonesia. I downloaded indonesia.osm.bz2.

I successfully imported it into my PostGis and did setup it on my GeoServer but it didn't display map same like OpenStreetMap. I chose planet_osm_polygon as my layer in GeoServer. At the end, I got this one displayed with openlayers. alt text http://deerawan.com/blogimages/map_polygon.jpg

But I expected to be like this one alt text http://deerawan.com/blogimages/map-indo.png

was it wrong OSM file that I used from Cloudmade?

Thank you for your help.

Answer

igorti picture igorti · Jul 29, 2010

I would recommend to follow this tutorial from Geoserver blog.

There you'll find a step by step guide on how to setup OSM data, including database import, styling, etc.