Hello everyone.<div><br></div><div>I've been trying to get my mind around some issues I've been having trying to generate some tiles. So far I haven't been able to get a usable single tiled map.</div><div><br>
</div><div>I am using two data sources with similar results, parts of the map is missing.</div><div><br></div><div>Here is a list of software I'm using:</div><div>Mapnik 2.0.1 and Mapnik 2.0.2 with no noticeable differences.</div>
<div>osm2pgsql</div><div>pgsql2shp</div><div>PostgreSQL 9.1.4</div><div>PostGIS 2.0.1</div><div>osmfilter</div><div><br></div><div>I am 100% certain it's something I'm doing wrong but I haven't a clue what it is and it's probably everything.</div>
<div><br></div><div>Here is a list of commands I use to generate a png file, using the sample code from "Using Mapnik with Python" (I can post the exact script I use if requested):</div><div><a href="https://github.com/mapnik/mapnik/wiki/GettingStartedInPython">https://github.com/mapnik/mapnik/wiki/GettingStartedInPython</a></div>
<div><br></div><div>Let's just assume I have extracted the osm file from the BZip2 archive and run postgis.sql and spatial_ref_sys.sql on the Postgre databse...</div><div><br></div><div>./osmfilter --keep=place nova_scotia.osm > nova_scotia-place.osm</div>
<div>osm2pgsql --style /usr/local/share/osm2pgsql/default.style --username _postgres --database gis_ns nova_scotia-places.osm</div><div>pgsql2shp -f nova_scotia.shp -u waynemarsh gis_ns planet_osm_polygon</div><div>python generate_map.py</div>
<div><br></div><div>I have tried using all the other tables to get a shp file for use with the sample Mapnik code, although spatial_ref_sys table doesn't generate a shp file using the pgsql2shp program. </div><div><br>
</div><div>I can also upload the images I have generated so you can see what type of issues I'm having, I didn't want attachments to cause my email to get filtered from the list. I have tried generating a map from the Nova Scotia OSM file and it still doesn't come out right. I haven't tried a raw map of the Planet OSM data as I don't have enough disk space for both the OSM file, the pgsql data and what I would guess would be an extremely large shp file.</div>