Cairo and PointSymbolizer

View: New views
3 Messages — Rating Filter:   Alert me  

Cairo and PointSymbolizer

by ajayre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cairo produces lovely vector output, however I'm using a custom png for
a point and the fixed resolution of that lets things down.

Does the PointSymbolizer support svgs? If not, are there any hints on
how to improve the quality of the point symbols so they don't look so bad.

My png is 32px x 32px and those are the size values I am giving to the
PointSymbolizer.

thanks, Andy

--
Andy
PGP Key ID: 0xDC1B5864
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Cairo and PointSymbolizer

by Manoj Bist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As per the wiki, it does not support svg file format. Only tiff and png are supported in PointSymbolizer.

http://trac.mapnik.org/wiki/PointSymbolizer

On Sat, Sep 19, 2009 at 10:24 AM, Andrew Ayre <andy@...> wrote:
Cairo produces lovely vector output, however I'm using a custom png for
a point and the fixed resolution of that lets things down.

Does the PointSymbolizer support svgs? If not, are there any hints on
how to improve the quality of the point symbols so they don't look so bad.

My png is 32px x 32px and those are the size values I am giving to the
PointSymbolizer.

thanks, Andy

--
Andy
PGP Key ID: 0xDC1B5864
_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users



--
Tired of reading blogs? Listen to  your favorite blogs at http://www.blogbard.com   !!!!


_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users

Re: Cairo and PointSymbolizer

by Jon Burgess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-09-19 at 10:24 -0700, Andrew Ayre wrote:
> Cairo produces lovely vector output, however I'm using a custom png for
> a point and the fixed resolution of that lets things down.
>
> Does the PointSymbolizer support svgs? If not, are there any hints on
> how to improve the quality of the point symbols so they don't look so bad.

For the current state of SVG support see:
http://trac.mapnik.org/ticket/320

I believe there is a patch attached there which may work for you but the
code may not yet be stable.

        Jon


_______________________________________________
Mapnik-users mailing list
Mapnik-users@...
https://lists.berlios.de/mailman/listinfo/mapnik-users