« Return to Thread: Getting SQLite Working

Re: Getting SQLite Working

by ajayre :: Rate this Message:

Reply to Author | View in Thread

Yay! Works! So to confirm I now use:

sqlite_lyr.datasource = SQLite(file='./mapniktest.db', table='tours',
key_field='ROWID', geometry_field='the_geom', wkb_format='spatialite',
extent='-110.801,32.2257,-110.799,32.2263')

Thanks for the FAST help with this!

Andy

Dane Springmeyer wrote:
> Hey Andy,
>
> It looks like you need to specify:
>
> <Parameter name="wkb_format">spatialite</Parameter>
>
> As I've noted at http://trac.mapnik.org/ticket/362#comment:2
>
> Dane

--
Andy
PGP Key ID: 0xDC1B5864
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

 « Return to Thread: Getting SQLite Working