Jon Burgess-2 wrote:
>
> On Wed, 2009-06-24 at 12:26 -0700, Eamorr wrote:
>> Lennard-2 wrote:
>> >
>> > Have a look at
>> >
>> http://trac.openstreetmap.org/browser/applications/utils/export/osm2pgsql/default.style
>>
>> > and make sure you have at least those fields in your own
>> default.style.
>> >
>> I couldn't find a file named "default.style" anywhere on my system.
>
> It should be in the same directory as the osm2pgsql tool which you used
> to import the data into Postgresql. If there is no default.style then
> perhaps you have a really old version of osm2pgsql which has the style
> hard coded. What does it say when you run osm2pgsql?
>
> Jon
>
Hi,
Thanks for the message.
Here's what's output when I type in 'osm2pgsql':
> osm2pgsql SVN version 0.52-20080912 $Rev: 7141 $
>
> Usage:
> osm2pgsql [options] planet.osm
> osm2pgsql [options] planet.osm.{gz,bz2}
> osm2pgsql [options] file1.osm file2.osm file3.osm
>
> This will import the data from the OSM file(s) into a PostgreSQL database
> suitable for use by the Mapnik renderer
>
> Options:
> -a|--append Add the OSM file into the database without
> removing
> existing data.
> -b|--bbox Apply a bounding box filter on the imported data
> Must be specified as: minlon,minlat,maxlon,maxlat
> e.g. --bbox -0.5,51.25,0.5,51.75
> -c|--create Remove existing data from the database. This is
> the
> default if --append is not specified.
> -d|--database The name of the PostgreSQL database to connect
> to (default: gis).
> -l|--latlong Store data in degrees of latitude & longitude.
> -m|--merc Store data in proper spherical mercator, not OSM
> merc
> -E|--proj num Use projection EPSG:num
> -u|--utf8-sanitize Repair bad UTF8 input data (present in planet
> dumps prior to August 2007). Adds about 10%
> overhead.
> -p|--prefix Prefix for table names (default planet_osm)
> -U|--username Postgresql user name.
> -W|--password Force password prompt.
> -H|--host Database server hostname or socket location.
> -P|--port Database server port.
> -h|--help Help information.
> -v|--verbose Verbose output.
>
> Add -v to display supported projections.
> Use -E to access any espg projections (usually in /usr/share/proj/epsg)
>
--
View this message in context:
http://www.nabble.com/Mapnik-Not-Rendering-Correctly-tp24188799p24192115.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users