[mapguide-users] Symbol Library
Jason Birch
jason at jasonbirch.com
Mon Aug 9 18:33:25 EDT 2010
If you have any vector elements you can set an overridable parameter
for the colour, but images are treated as fixed elements. I guess it
would be possible to enhance mapguide to transform 1-bit images, but
with anti-aliasing issues I don't think there would be a lot of value.
I've just been editing the XML myself with graph paper and a
calculator. It's a little painful, but I have fine control over what
is displayed, and only have to do it once per complex layer:
http://trac.osgeo.org/mapguide/wiki/AdvancedStylization
Examples of this on my city's Utilities "theme":
http://maps.nanaimo.ca/nanaimomap/
I'm happy to share these, but they're not documented. Been meaning to
clean up and publish above but haven't got around to it yet.
Others have suggested using an editor such as Inkscape (I think) which
can export XPS geometry, but I found that approach didn't give me
enough control.
I have also heard rumour of commercially available symbol sets, but
haven't seen any myself. If anyone knows of any, it would be cool to
track them (and vendor contact details) on the wiki.
I'm sure an editor would be appreciated by all, though the complexity
of the stylization spec makes it hard to imagine what this would look
like. Perhaps if enough people were interested we could make it worth
Jackie's while to add this to Maestro :)
Jason
On 2010-08-09, frosty1_4me <kbowman at cityofgp.com> wrote:
>
> Hi,
>
> I need to add new symbols to the symbol library. I had imported them
> through a load procedure from the DWG and block definitions but the imported
> symbols look like garbage. So, I thought I'll just go into the symbol
> library and change the symbol in there which I found out I can't do because
> MGE stores the symbols as some lame XML format (ridiculous) and lumps the
> symbols all together. That means you can only delete the symbols or add new
> ones since there is no symbol editors (ultra ridiculous). On top of that I
> found out if I use the free Open source version of studio you can at least
> edit the xml, but that's alot of work and doesn't work very good at all.
>
> So, I just deleted the symbol from the symbol library, then imported a new
> symbol as a png file. After I did that the symbol looked good but I didn't
> like the color and was going to override that in the styles of the point
> layer, to my surprise (or expectation as it has come to be with things not
> working correctly in MGE) the colors don't get overwritten. The symbol is
> uneffected from the color styles applied as the layer point style.
>
> How do other people handle symbol libraries and edit them?
>
> Thanks
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Symbol-Library-tp5390299p5390299.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
More information about the mapguide-users
mailing list