Thanks for the reply. I double checked the geometry_columns and all 4 rows say 4326 for the srid. I reran the generate_xml.py correctly and double checked datasource-settings.xml. That all looks correct. But the image still is missing the data. The minimap in the center is still there as well and I zoomed into it and it looks like it has all the data (country names, roads, etc). Any ideas on why the data from postgis would be miniaturized?
Thanks, Trevan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Lennard Sent: Thursday, August 05, 2010 3:31 PM To: [email protected] Subject: Re: [OSM-newbies] Mapnik local tiles are missing data On 5-8-2010 22:04, Trevan Richins wrote: > Second thing is that at zoom 0, there are no names. At zoom 1, I see > some city names (but no country names). But at zoom 3, the country > borders disappear (and state borders never show up). At zoom 4, the city > names disappear. Streets never show up at any zoom level. What you are seeing is just the data from the shapefiles. You don't seem to be rendering any of the OSM data from postgis. > osm2pgsql -E 4326 -S default.style -slim -d gis -C 2048 > planet-latest.osm.bz2 This looks right, although you could've taken -l instead of -E 4326. You might still check geometry_columns to see if the srid is indeed 4326. > My generate_xml.py command was: > > ./generate_xml.py -psg=4326 -dbname=gis -accept-none --epsg=4326, not -psg. Also --dbname, --accept-none. Two consecutive hyphens for options. Also check inc/datasource-settings.xml.inc to see if everything looks okay for your setup. That's where the settings are for postgis. > map = new OpenLayers.Map("basicMap", { > > projection: 'ESPSG:4326' ESPSG ? -- Lennard _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies The information in this e-mail and in any attachments is confidential and may be privileged. If you are not the intended recipient, please destroy this message, delete any copies held on your systems and notify the sender immediately. You should not retain copy or use this e-mail for any purpose, nor disclose all or any part of its content to any other person. _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

