[mapserver-users] Map from .OSM

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Nov 26 00:21:42 EST 2009


Hi,

It is not possible because Mapserver cannot read OSM format.  Importing data first into PostGIS with osm2pgsql is the most flexible way but you can also try how far you can get with daily OSM shapefile excerpts which can  be downloaded from Geofabrik or Cloudmade. I am also rather sure that direct rendering from OSM xml format if it were possible would be slow because format does not support indexing in any way. I have been thinking that perhaps pushing OSM data into SpatiaLite database would be a good solution for those who do not want to install PostGIS.  Such a converter does not exist at a moment, though.

-Jukka Rahkonen-


abul khayer wrote:
 
> Can Mapserver render map from .OSM(Open street map) file directly?

> I want to use mapserserver and Openlayer to render a map of .OSM. Though i get some help from below tutorial,
> http://trac.osgeo.org/mapserver/wiki/RenderingOsmData
> But it use postgis and there need conversion.

 .......................................
> Md. Abul Khayer
> GIS Programmer
> CEGIS (www.cegisbd.com)
> Cell: +8801730019572
> Blog: khayer.wordpress.com



      



More information about the mapserver-users mailing list