Hi Daniel,

It seems I haven't got the right osm data, I used to download the follow
data:
 wget
http://downloads.cloudmade.com/oceania/australia_and_new_zealand/new_zealand/new_zealand.osm.administrative.bz2
  wget
http://downloads.cloudmade.com/oceania/australia_and_new_zealand/new_zealand/new_zealand.osm.bz2
  wget
http://downloads.cloudmade.com/oceania/australia_and_new_zealand/new_zealand/new_zealand.osm.coastline.bz2
  wget
http://downloads.cloudmade.com/oceania/australia_and_new_zealand/new_zealand/new_zealand.osm.highway.bz2
 
Which don't have the mentioned admin boundaries. I changed to another
dataset:
 wget http://downloads.cloudmade.com/oceania/oceania.osm.bz2

and the boundaries turned out.

I still got the error message:
proj_init_error:failed to initialize projection with:+init=epsg:4326

I simply commented the following two layers to get around:
<Layer name="necountries" srs="+init=epsg:4326">
        <StyleName>necountries</StyleName>
        <Datasource>
            <Parameter
name="file">/home/postgres/osm/mapnik/world_boundaries/110m_admin_0_boundary_lines_land.shp</Parameter>
            <Parameter name="type">shape</Parameter>
        </Datasource>
    </Layer>
    <Layer name="nepopulated" srs="+init=epsg:4326">
        <StyleName>nepopulated</StyleName>
        <Datasource>
            <Parameter name="encoding">latin1</Parameter>
            <Parameter
name="file">/home/postgres/osm/mapnik/world_boundaries/10m_populated_places.shp</Parameter>
            <Parameter name="type">shape</Parameter>
        </Datasource>
    </Layer>

Is this caused by proj4? I have installed proj.x86_64  4.7.0-3.fc14.

Thanks a lot,

Sige





Daniel Behr-2 wrote:
> 
> Hi Sige,
> do you have the proj4 package installed?
> 
> do you get any result when making the same SQL queries to your database 
> that are in the table tags of the admin and placenames layers?
> 
> using excerpts of OSM data should be no problem.
> 
> try out running generate_xml including the --accept-none flag.
> 
> which scale are you rendering? Check whats in the <MaxScaleDenominator> 
> and <MinScaleDenominator> tags in the <Style> for admin and placenames.
> 
> I never used the generate_tiles, just generate_image to check if mapnik 
> renders ok. adjust the zoom and bbox in that file if you want to check 
> it out.
> 
> Hope that helps.
> Daniel
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/missing-world-boundaries-purple-line-and-place-names-tp31599045p31634439.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

Reply via email to