Bug 689201

Summary: mapnik should depend on proj-epsg
Product: [Fedora] Fedora Reporter: Karel Volný <kvolny>
Component: mapnikAssignee: Alex Lancaster <alex>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: alex, cristian.balint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-28 21:02:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karel Volný 2011-03-20 09:38:39 UTC
Description of problem:
Trying to use mapnik, I got this error:

proj_init_error:failed to initialize projection with:+init=epsg:4326

According to http://trac.mapnik.org/wiki/InstallationTroubleshooting#Proj_init_error this is caused by wrong install of proj4

Doing simply "yum install proj-epsg" fixed the problem.


Version-Release number of selected component (if applicable):
mapnik-0.7.1-6.fc14

How reproducible:
always

Steps to Reproduce:
1. install mapnik, set up your environment according to http://wiki.openstreetmap.org/wiki/Mapnik
2. generate_image.py

  
Actual results:
proj_init_error:failed to initialize projection with:+init=epsg:4326

the generated image.png is blank (all white)

Expected results:
no error, image.png shows the map

Additional info:
I'm not 100% sure that working with epsg codes is a must for all possible usages of mapnik ... however, if local setup for rendering OpenStreetMap data, which uses it by default, is the typical usage of mapnik, then it is a bit strange that it doesn't work out of the box.

Comment 1 Alex Lancaster 2011-11-22 20:48:58 UTC
Will try to add in the 0.7.2. update.

Comment 2 Alex Lancaster 2011-12-28 21:02:46 UTC
This dependency has been added in f17/rawhide with the update to mapnik 2.0.0.  Unlikely to get fixed in f14, now that it is EOL.

Comment 3 Karel Volný 2012-03-12 12:17:13 UTC
(In reply to comment #2)
> Unlikely to get fixed in f14, now that it is EOL.

hehe, thanks anyways