Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SVG Symbol Capabilities #3343

Closed
mapserver-bot opened this issue Apr 3, 2012 · 7 comments
Closed

Add SVG Symbol Capabilities #3343

mapserver-bot opened this issue Apr 3, 2012 · 7 comments

Comments

@mapserver-bot
Copy link

Reporter: theduckylittle
Date: 2010/02/22 - 22:08
Trac URL: http://trac.osgeo.org/mapserver/ticket/3343
Add the SVG capabilities detailed in [wiki:GSoC_SVG_Symbols_SECOND_DRAFT_OF_THE_MS_RFC].

I've deviated from the RFC in one important way, instead of creating new SVG and SVGPATH directives I re-used the "IMAGE" directive. "IMAGE" points to the SVG file in the same way that "IMAGE" points to the image/pixmap file for PIXMAP type SYMBOLS.

@mapserver-bot
Copy link
Author

Author: theduckylittle
Date: 2010/02/22 - 22:14
Add initial version to AGG renderer in dcd97d6 (r9866).

@mapserver-bot
Copy link
Author

Author: tomkralidis
Date: 2010/02/22 - 23:19
FYI I'm getting a build error on trunk (fc12):

In file included from renderers/agg/include/agg_svg_parser.h:24,
                 from mapagg.cpp:82:
renderers/agg/include/agg_svg_path_renderer.h:300: error: extra qualification 'mapserver::svg::path_renderer::' on member 'get_path_storage'
make: *** [mapagg.o] Error 1

@mapserver-bot
Copy link
Author

Author: theduckylittle
Date: 2010/02/22 - 23:42
Also reported by tomkralidis:

./libmapserver.a(mapagg.o): In function `loadSymbolSVG':
/home/tkralidi/foss4g/mapserver/svn/trunk/mapserver/mapagg.cpp:226: undefined reference to `mapserver::svg::path_renderer::path_renderer()'
/home/tkralidi/foss4g/mapserver/svn/trunk/mapserver/mapagg.cpp:227: undefined reference to `mapserver::svg::parser::parser(mapserver::svg::path_renderer&)'
/home/tkralidi/foss4g/mapserver/svn/trunk/mapserver/mapagg.cpp:234: undefined reference to `mapserver::svg::parser::parse(char const*)'
/home/tkralidi/foss4g/mapserver/svn/trunk/mapserver/mapagg.cpp:274: undefined reference to `mapserver::svg::parser::~parser()'
/home/tkralidi/foss4g/mapserver/svn/trunk/mapserver/mapagg.cpp:274: undefined reference to `mapserver::svg::parser::~parser()'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1

Solution:

Run autoconf.

@mapserver-bot
Copy link
Author

Author: tomkralidis
Date: 2010/02/23 - 17:28
FYI I get some build warnings (fc12):

renderers/agg/src/agg_svg_parser.cpp: In member function 'void mapserver::svg::parser::parse(const char*)':
renderers/agg/src/agg_svg_parser.cpp:246: warning: format '%d' expects type 'int', but argument 4 has type 'XML_Size'
renderers/agg/include/agg_svg_path_tokenizer.h: In constructor 'mapserver::svg::path_tokenizer::path_tokenizer()':
renderers/agg/include/agg_svg_path_tokenizer.h:103: warning: 'mapserver::svg::path_tokenizer::m_last_command' will be initialized after
renderers/agg/include/agg_svg_path_tokenizer.h:102: warning:   'double mapserver::svg::path_tokenizer::m_last_number'
renderers/agg/src/agg_svg_path_tokenizer.cpp:37: warning:   when initialized here
renderers/agg/src/agg_svg_path_tokenizer.cpp: In member function 'bool mapserver::svg::path_tokenizer::parse_number()':
renderers/agg/src/agg_svg_path_tokenizer.cpp:123: warning: suggest parentheses around '&&' within '||'

@mapserver-bot
Copy link
Author

Author: tbonfort
Date: 2011/04/13 - 17:44
this won't be happening in 6.0.

@mapserver-bot
Copy link
Author

Author: assefa
Date: 2011/04/25 - 20:31
setting this to 6.2

@mapserver-bot
Copy link
Author

Author: tbonfort
Date: 2012/02/09 - 17:34
closing as svg symbols are supported through cairo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant