On 16:47 Sat 11 Apr , Dane Springmeyer wrote: > Great news. > > On Apr 11, 2009, at 4:19 PM, [email protected] wrote: > >The script ran for some time and produced only > >a blank box of apparently correct dimensions. > > > > Hmm, are you sure that the path to the shapefile is correct? >
I had made a mistake, adding the .shp extension to the file name contrary to the tutorial instructions. I could not quite get back to generating a file however. Using http://mapnik-utils.googlecode.com/svn/sandbox/ports/graphics/py25-mapnik/Portfile modified for my re-packaged tar.gz source, I get the following output: -------------------------------------------- $ ./world.py registered datasource : osm registered datasource : raster registered datasource : shape registered datasource : sqlite ### WARNING: No ttf files found in '/opt/local/lib/mapnik/0.6/fonts'. size = 2 file=/Users/me/mapnik/world_borders type=shape datasource=0x626b60 type=1 scale=5.41114e-121 start map processing bbox=Envelope(-1.62334203800658e-118,-1.62334203800658e-118,1.62334203800658e-118,4.15549523909189e-31 start layer processing : world datasource = 0x626b60 ------------------------------------------- I fixed the fonts problem copying the *.ttf files from '/opt/local/lib/mapnik/fonts' but the new process has been running for some time with no output. here is (roughly) what top says: Processes: 116 total, 4 running, 112 sleeping... 239 threads 17:58:02 Load Avg: 1.22, 1.09, 0.73 CPU usage: 88.6% user, 11.4% sys, 0.0% idle SharedLibs: num = 198, resident = 35.8M code, 3.73M data, 8.85M LinkEdit MemRegions: num = 16588, resident = 419M + 8.34M private, 148M shared PhysMem: 173M wired, 254M active, 542M inactive, 970M used, 565M free VM: 13.0G + 147M 833758(0) pageins, 533928(0) pageouts 24431 Python 82.8% 13:17.42 1 27 1162 83.0M 21.5M 98.0M 247M on a 2.7 GHz G5. _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

