Bug 689201 - mapnik should depend on proj-epsg
Summary: mapnik should depend on proj-epsg
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Fedora
Classification: Fedora
Component: mapnik
Version: 14
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alex Lancaster
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-20 09:38 UTC by Karel Volný
Modified: 2012-03-12 12:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-28 21:02:46 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.