On May 13, 2010, at 3:52 AM, stephanos_ch wrote:

> 
> Dear Artem,
> 
> Please clarify what do you mean by saying "Meanwhile you'll have to build
> cairo support yourself. You mean that even when you push this into the next
> release I will have to build it afterward myself (meaning that it will not
> be included in the binary version).   

No, it will eventually be included in the binaries. Currently support is not 
compiled into them, so even if you installed Cairo separately it would not 
allow Mapnik to render to Cairo formats. 

> 
> To sum up, can I do anything in order to export a map in pdf format? 
> 

Install wubi (ubuntu installer for windows), or run Ubuntu (or some flavor of 
linux) in Virtualbox on windows. Then do:

>>> apt-get install python-mapnik

That package comes with Cairo support built in.

> Thanks
> 
> 
> Artem Pavlenko-3 wrote:
>> 
>> Posting to mapnik-users
>> 
>> On 13 May 2010 09:55, Artem Pavlenko <[email protected]> wrote:
>> 
>>> Hi,
>>> 
>>> I'm afraid cairo backend is not supported on windows, just yet:
>>> 
>>> http://trac.mapnik.org/ticket/483
>>> 
>>> I'll try to push this into the next release. Meanwhile you'll have to
>>> build
>>> cairo support yourself.
>>> 
>>> Regards,
>>> Artem
>>> 
>>> 
>>> On 13 May 2010 09:25, stephanos_ch <[email protected]> wrote:
>>> 
>>>> 
>>>> Hello,
>>>> 
>>>> I have installed Mapnik 0.6.0 (python 2.5) on my Windows XP using the
>>>> win32
>>>> binary file and following the manual instructions.
>>>> 
>>>> Then I installed Cairo Renderer successfully but when I try to render a
>>>> map
>>>> to pdf file I got the following error:
>>>> "ArgumentError: Python argument types in
>>>>   mapnik._mapnik.render(Map, cairo.PDFSurface)
>>>> did not match C++ signature:
>>>>   render(class mapnik::Map, class mapnik::Image32 {lvalue})
>>>>   render(class mapnik::Map, class mapnik::Image32 {lvalue}, unsigned
>>>> int,
>>>> unsigned int)"
>>>> 
>>>> Another error that i got dunning another example was:
>>>> "Failed!
>>>> Cairo python bindings are installed but mapnik was not properly linked
>>>> at
>>>> build time. Try upgrading to the most recent mapnik svn"
>>>> 
>>>> Could someone please advise me how can I resolve this issue?
>>>> 
>>>> Thanks a lot
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Mapnik-and-PDF-rendering-tp28544970p28544970.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
>>>> 
>>> 
>>> 
>> 
>> _______________________________________________
>> Mapnik-users mailing list
>> [email protected]
>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>> 
>> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Mapnik-and-PDF-rendering-tp28544970p28546069.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

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to