Hi,<div><br></div><div>I'm trying to setup mapnik again and stuck. This is what I have done so far:</div><div><br></div><div>1. Setup the pgsql db named cal_l10n</div><div>2. Checked out from Mapnik SVN.</div><div>3. Setup Mapnik</div>
<div>4. Ran ./generate_image.py --dbname 'cal_l10n' </div><div>This return the following error:</div><div><br></div><div><div>inc/entities.xml.inc:9: parser warning : PEReference: %layers; not found</div><div>%layers;</div>
<div>        ^</div><div>Traceback (most recent call last):</div><div>  File "./generate_image.py", line 37, in <module></div><div>    mapnik.load_map(m,mapfile)</div><div>RuntimeError: XML document not well formed: </div>
<div>Entity 'layer-admin' not defined (encountered in file 'osm.xml' at line 6571)</div></div><div><br></div><div>5. tried re creating the osm.xml file using ./generate_xml.py, but getting the same error.</div>
<div><br></div><div>What could be wrong?</div><div><br></div><div>Regards.</div><div>-- <br>Sajjad Anwar | <a href="http://geohackers.in">http://geohackers.in</a> | Blog: <a href="http://sajjad.in">http://sajjad.in</a> | Twitter: geohacker<br>
<br>
</div>