Discussion:
Rendering OSM data with MapServer+MapCache
Juanma M. R.
2014-10-07 16:13:37 UTC
Permalink
Dear list,

I have managed to install and configure succesfully a server showing data
from OSM with the MapServer+MapCache convination. I followed these
instructions
<https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04>
and
some hacks that were necessary.

The issue is that I have migrated from a mapnik+mod_tile server because
some requirements that it didn't acomplished but the rendering of the map
with mapnik was the same as the one shown in the OSM server.

I also managed to configure a mapserver (without cache feature) with a .map
file styling OSM but it is neither the one from OSM server.

Does anyone know how to apply this style, the one from OSM server, to this
data being renderd by MapServer? Does anyone done the migration from the
OSM server style to mapfile or XML format for MapServer?

Regards,
Juan Manuel Moreno Rivera.

Sección de Teledetección y SIG / Remote Sensing & GIS group

Instituto de Desarrollo Regional / Institute for Regional Development

Universidad de Castilla-La Mancha / University of Castilla-La Mancha

Tlf: +34 967599200 (Ext: 2623)
http://www.teledeteccionysig.es/
S***@inspq.qc.ca
2014-10-07 16:20:30 UTC
Permalink
If you can use postgis this might help
https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows


Steve




"Juanma M. R." <***@gmail.com>@lists.osgeo.org
Envoyé par : mapserver-users-***@lists.osgeo.org
2014-10-07 12:13

A
"mapserver-***@lists.osgeo.org" <mapserver-***@lists.osgeo.org>
cc

Objet
[mapserver-users] Rendering OSM data with MapServer+MapCache








Dear list,

I have managed to install and configure succesfully a server showing data
from OSM with the MapServer+MapCache convination. I followed these
instructions and some hacks that were necessary.

The issue is that I have migrated from a mapnik+mod_tile server because
some requirements that it didn't acomplished but the rendering of the map
with mapnik was the same as the one shown in the OSM server.

I also managed to configure a mapserver (without cache feature) with a
.map file styling OSM but it is neither the one from OSM server.

Does anyone know how to apply this style, the one from OSM server, to this
data being renderd by MapServer? Does anyone done the migration from the
OSM server style to mapfile or XML format for MapServer?

Regards,
Juan Manuel Moreno Rivera.
Sección de Teledetección y SIG / Remote Sensing & GIS group
Instituto de Desarrollo Regional / Institute for Regional Development
Universidad de Castilla-La Mancha / University of Castilla-La Mancha
Tlf: +34 967599200 (Ext: 2623)
http://www.teledeteccionysig.es/
S***@inspq.qc.ca
2014-10-07 16:23:25 UTC
Permalink
I'm sorry I just saw the link you provided that uses basemap.
I didn't read it but hopefully you'll find some answers in the link I
provided




"Juanma M. R." <***@gmail.com>@lists.osgeo.org
Envoyé par : mapserver-users-***@lists.osgeo.org
2014-10-07 12:13

A
"mapserver-***@lists.osgeo.org" <mapserver-***@lists.osgeo.org>
cc

Objet
[mapserver-users] Rendering OSM data with MapServer+MapCache








Dear list,

I have managed to install and configure succesfully a server showing data
from OSM with the MapServer+MapCache convination. I followed these
instructions and some hacks that were necessary.

The issue is that I have migrated from a mapnik+mod_tile server because
some requirements that it didn't acomplished but the rendering of the map
with mapnik was the same as the one shown in the OSM server.

I also managed to configure a mapserver (without cache feature) with a
.map file styling OSM but it is neither the one from OSM server.

Does anyone know how to apply this style, the one from OSM server, to this
data being renderd by MapServer? Does anyone done the migration from the
OSM server style to mapfile or XML format for MapServer?

Regards,
Juan Manuel Moreno Rivera.
Sección de Teledetección y SIG / Remote Sensing & GIS group
Instituto de Desarrollo Regional / Institute for Regional Development
Universidad de Castilla-La Mancha / University of Castilla-La Mancha
Tlf: +34 967599200 (Ext: 2623)
http://www.teledeteccionysig.es/
Juanma M. R.
2014-10-21 12:12:07 UTC
Permalink
Hi Steve,

Thanks for your link. I will check it right now to see if I could learn
something about how to replicate the drawing styles from OSM servers but
using mapserver. The main problem is that the styles I use show less
information than the ones in OSM servers.

I only use basemaps to configure the mapfiles for OSM, but I don't know how
to do it to generate a mapfile that draws OSM servers styled maps.

Regards,

Juan Manuel Moreno Rivera.

Sección de Teledetección y SIG / Remote Sensing & GIS group

Instituto de Desarrollo Regional / Institute for Regional Development

Universidad de Castilla-La Mancha / University of Castilla-La Mancha

Tlf: +34 967599200 (Ext: 2623)
http://www.teledeteccionysig.es/
Post by S***@inspq.qc.ca
I'm sorry I just saw the link you provided that uses basemap.
I didn't read it but hopefully you'll find some answers in the link I
provided
2014-10-07 12:13
A
cc
Objet
[mapserver-users] Rendering OSM data with MapServer+MapCache
Dear list,
I have managed to install and configure succesfully a server showing data
from OSM with the MapServer+MapCache convination. I followed these
*instructions*
<https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04> and
some hacks that were necessary.
The issue is that I have migrated from a mapnik+mod_tile server because
some requirements that it didn't acomplished but the rendering of the map
with mapnik was the same as the one shown in the OSM server.
I also managed to configure a mapserver (without cache feature) with a
.map file styling OSM but it is neither the one from OSM server.
Does anyone know how to apply this style, the one from OSM server, to this
data being renderd by MapServer? Does anyone done the migration from the
OSM server style to mapfile or XML format for MapServer?
Regards,
Juan Manuel Moreno Rivera.
Sección de Teledetección y SIG / Remote Sensing & GIS group
Instituto de Desarrollo Regional / Institute for Regional Development
Universidad de Castilla-La Mancha / University of Castilla-La Mancha
Tlf: +34 967599200 (Ext: 2623)
*http://www.teledeteccionysig.es/* <http://www.teledeteccionysig.es/>
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Juanma M. R.
2014-10-21 13:19:11 UTC
Permalink
Hi again,

I think that the link is based on basemaps but I don't know how to modify
the basemaps generate_style.py and Makefile to change maps drawing. It
seems that there is no documentation for customizing basemaps.

I will go on looking for it and maybe I will have to configure my map
adding part of the information with my own rules in the OSM servers style.
However it is extrange nobody has migrated OSM new style to mapserver
mapfile. It would be a good point for mapserver as OSM data server.

Regards,
Juan Manuel Moreno Rivera.

Sección de Teledetección y SIG / Remote Sensing & GIS group

Instituto de Desarrollo Regional / Institute for Regional Development

Universidad de Castilla-La Mancha / University of Castilla-La Mancha

Tlf: +34 967599200 (Ext: 2623)

http://www.teledeteccionysig.es/
Post by Juanma M. R.
Hi Steve,
Thanks for your link. I will check it right now to see if I could learn
something about how to replicate the drawing styles from OSM servers but
using mapserver. The main problem is that the styles I use show less
information than the ones in OSM servers.
I only use basemaps to configure the mapfiles for OSM, but I don't know
how to do it to generate a mapfile that draws OSM servers styled maps.
Regards,
Juan Manuel Moreno Rivera.
Sección de Teledetección y SIG / Remote Sensing & GIS group
Instituto de Desarrollo Regional / Institute for Regional Development
Universidad de Castilla-La Mancha / University of Castilla-La Mancha
Tlf: +34 967599200 (Ext: 2623)
http://www.teledeteccionysig.es/
I'm sorry I just saw the link you provided that uses basemap.
Post by S***@inspq.qc.ca
I didn't read it but hopefully you'll find some answers in the link I
provided
2014-10-07 12:13
A
cc
Objet
[mapserver-users] Rendering OSM data with MapServer+MapCache
Dear list,
I have managed to install and configure succesfully a server showing data
from OSM with the MapServer+MapCache convination. I followed these
*instructions*
<https://github.com/mapserver/mapserver/wiki/Rendering-OSM-data-on-Ubuntu-12.04> and
some hacks that were necessary.
The issue is that I have migrated from a mapnik+mod_tile server because
some requirements that it didn't acomplished but the rendering of the map
with mapnik was the same as the one shown in the OSM server.
I also managed to configure a mapserver (without cache feature) with a
.map file styling OSM but it is neither the one from OSM server.
Does anyone know how to apply this style, the one from OSM server, to
this data being renderd by MapServer? Does anyone done the migration from
the OSM server style to mapfile or XML format for MapServer?
Regards,
Juan Manuel Moreno Rivera.
Sección de Teledetección y SIG / Remote Sensing & GIS group
Instituto de Desarrollo Regional / Institute for Regional Development
Universidad de Castilla-La Mancha / University of Castilla-La Mancha
Tlf: +34 967599200 (Ext: 2623)
*http://www.teledeteccionysig.es/* <http://www.teledeteccionysig.es/>
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Loading...