On Tue, 2009-06-16 at 22:25 -0700, Andrew Ayre wrote:
> Jon Burgess wrote:
> > On Tue, 2009-06-16 at 13:46 -0700, Andrew Ayre wrote:
> >> Jon Burgess wrote:
> >>> On Tue, 2009-06-16 at 13:07 -0700, Andrew Ayre wrote:
> >>>> Hi Dane,
> >>>>
> >>>> Yep, but I'm using SQLite/Spatialite. I haven't managed to find a
> >>>> simple
> >>>> program like osm2pgsql to get data from OSM XML to Spatialite. Seems
> >>>> I
> >>>> need multiple tools, 20Mb download (FW Tools), etc. I also want to
> >>>> use
> >>>> the standard OSM styling for the maps - not sure if the SQLite plugin
> >>>> for Mapnik would use it.
> >>>>
> >>> Do you really need to render new tiles containing the OSM data? The
> >>> other alternative is to overlay the data in the browser. If you have
> >>> complex data then you can render it into tiles with a transparent
> >>> background. Or for simpler data OpenLayers supports drawing lines,
> >>> markers etc on top of the tiles.
> >>>
> >>> Jon
> >> This small project is to gather data in the field and render maps on the
> >> spot using a laptop running Windows. The field data will be put into an
> >> SQLite database. I would like OSM maps as a background to give context
> >> to the data the user enters.
> >
> > As Dane mentioned, provided you can install Postgres too, Mapnik will
> > happily render tiles from both SQLite & Postgres data sources.
> >
> > As I mentioned before, you could still take a set of existing OSM tiles
> > and then render your new data to transparent tiles to use as an overlay.
> > This has the benefit of reducing the amount of data which needs to be
> > rendered which will make the local updates much faster.
>
> So your suggestion is to download the OSM tiles. Render transparent
> tiles in Mapnik that are the same size with the same top left
> coordinates. Then use another program to put the OSM tiles and my tiles
> together?
Yes. If you want to cover a very large area it may make sense for you to
render the Mapnik tiles yourself instead of downloading them from the
OSM server. Then you can bundle those pre-rendered background tiles with
the application install.
Jon
> Andy
>
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users