[mapserver-users] Using OSM with our own data
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Dec 2 07:58:39 PST 2011
On 11-12-01 12:36 PM, Nico Alberti wrote:
> Hi everybody.
>
> After quite a long time I am back using mapserver. Seeing how well it is
> cabable of rendering OSM data I would like to use it as a background for
> the geographical information I would like to display. I followed the
> nice howto and now my new Mapserver setup is ready to display a local
> stored portion of Openstreetmap OR my own data, not both :-)
>
> The problem, as far as I know, is that I cannot successfully merge the
> mapfile I created for my data and the one automatically generated by the
> mapserver-utils mapfile generator; if I try to paste the LAYER part
> containing my data, it is apparently ignored (and not even wrongly
> projected, as far as I can see). Is there any caveat I can be aware of
> or, better, is there some other doc explaining the use of OSM data with
> other layers?
Hello,
There shouldn't be an issue with using OSM data (or OSM data/mapfile
created through the mapserver-utils
http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu) with your
own data. I know for the FOSS4G Benchmarking exercise we did have to
make some changes to the mapfile, such as making sure each layer has a
proper PROJECTION object, which you should keep in mind as well as you
are mixing data from several data sources.
If it is helpful, the mapfile used in that exercise is available at
http://svn.osgeo.org/osgeo/foss4g/benchmarking/wms/2011/mapserver/osm-google.map
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list