[mapserver-users] Re: Problem with OpenStreetMap, osm2pgsql, MapServer, OpenLayers and epsg=900913

Lars Lingner ml at lingner.eu
Sun May 9 15:03:34 EDT 2010


On 09.05.2010 20:32, roshni.spain wrote:
> 
> Hi Edward,
> Un fortunately i had tried that and other many options with no result. But i
> finally managed to find the solution: it was the EXTENT on the map level,
> that was just wrong. I finally took the min(x1), min(y1), max(x1), max(y1)
> values from my plnet_osm_lines, and adjusted the parameters. It worked !!!!!
> 
> But now im facing another problem. I need to new that map on OpenLayers. The
> test i was doing up to now was form a demo that used php but i need to
> implement it in OpenLayers. I got few examples and all, and i could see that
> they all need WMS conection to the layer. Is this right? If it is then this
> means that i have to start the map file all over again ....
> 

I'm not really sure if I understand your issue.
On this page http://trac.osgeo.org/mapserver/wiki/RenderingOsmData you
find an example where MapServer is used rendering OSM data. The result
is displayed via OpenLayers.

Maybe this is of any help... ?


Lars


More information about the mapserver-users mailing list