Andy, On Jun 16, 2009, at 1:07 PM, Andrew Ayre wrote:
> Hi Dane, > > Yep, but I'm using SQLite/Spatialite. Ah, well you can use more than one datasource for different layers in your map. But maybe you're saying you want to only use file based datasources, either sqlite or raster files? > I haven't managed to find a simple program like osm2pgsql to get > data from OSM XML to Spatialite. Ya, I've seen postings on the OSM dev list about scripts, but I've not tried them. Generally I use the tool Artem wrote called 'pgsql2sqlite' (http://trac.mapnik.org/browser/trunk/utils/pgsql2sqlite) > Seems I need multiple tools, 20Mb download (FW Tools), etc. Migrating data into sqlite with GDAL/OGR should work well. Posting a wiki page on what you've done so far would be interesting for helping other users. > I also want to use the standard OSM styling for the maps - not sure > if the SQLite plugin for Mapnik would use it. > Sure, you can use the default OSM provided xml styles, you'd just need to tweak the the SQL statements to be compliant with SQLite. I've done this in the past but not too recently. Dane > Andy > > Dane Springmeyer wrote: >> The standard approach to rendering OSM data is by using osm2pqsql >> to import osm data into postgres/postgis. >> http://wiki.openstreetmap.org/index.php/Mapnik >> Dane >> On Jun 16, 2009, at 12:45 PM, Andrew Ayre wrote: >>> Thanks. I just want some OSM maps as a background. So I think for >>> now I will download OSM tiles, add as a raster layer in Mapnik and >>> then reproject my data and add as Mapnik layers. >>> >>> Any reason why this approach wouldn't work? >>> >>> Andy >>> >>> Dane Springmeyer wrote: >>>> Hey Andrew, >>>> All plugins are separate DLL's that link to libmapnik.dll and are >>>> installed by being dropped into c:/mapnik_0_6_0/lib/mapnik/input. >>>> So, if you can compile the osm plugin as a DLL with the extension >>>> of 'input' then it should work, but we've yet to do that for >>>> windows and don't currently have a plan for it. >>>> Dane >>>> On Jun 16, 2009, at 12:06 PM, Andrew Ayre wrote: >>>>> Hi, >>>>> >>>>> Is there a simple way of getting the OSM Plugin for the Windows >>>>> binary >>>>> version of Mapnik? >>>>> >>>>> Or is the only option to rebuild the windows binary myself? >>>>> >>>>> thanks, Andy >>>>> >>>>> -- >>>>> Andy >>>>> PGP Key ID: 0xDC1B5864 >>>>> _______________________________________________ >>>>> Mapnik-users mailing list >>>>> [email protected] >>>>> https://lists.berlios.de/mailman/listinfo/mapnik-users >>> >>> -- >>> Andy >>> PGP Key ID: 0xDC1B5864 > > -- > Andy > PGP Key ID: 0xDC1B5864 _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

