Yes, use ogr2ogr to convert to a shapefile. Btw, I can replicate the crash but it appears to happen inside of libgdal (not mapnik), so I can't see a quick solution.
So, I think your route of converting the data into shapefiles first sounds like a good plan. Dane On Apr 29, 2011, at 4:25 PM, Samuel M. Smith wrote: > Is there a direct way of converting a layer created with osegeo.ogr reading a > file into a layer used by mapnik? > Or do I have to save the ogr layer to a shapefile and then reopen and read > into mapnik? > > I am trying to work around a bug in mapnik where I can't read multiple layers > from a ENC file simultaneously with mapnik but I can read them > with ogr. so I would like to use ogr to read the layers then convert them to > mapnik layers. > > > ********************************************************************** > Samuel M. Smith Ph.D. > 242 East 600 North, Lindon Utah 84042-1662 USA > > 801-768-2768 voice > 801-768-2769 fax > > ********************************************************************** > "The greatest source of failure and unhappiness in the world is > giving up what we want most for what we want at the moment" > ********************************************************************** > > > > > > > _______________________________________________ > Mapnik-users mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

