Even more dynamic symbols

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

Even more dynamic symbols

by Måns Beckman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

 

I was playing around with the possibility to create dynamic symbols in MapGuide. This is really great, but I want even more.

 

One thing that I would like to see made possible is to add parameters to your geometry definition. This would make it possible to make bar charts using attribute data. Is there any technical reason to why you have chosen to not include the possibility to add parameters to the geometry?

 

Could someone point me to where the source code for where the parsing of the XML is done? I don't really find my way to the right place to look in the source code, but with some help I could at least take a look at the code.

 

Best regards

Måns

-----------------------------------------------------------

Måns Beckman

Man and Machine

Fabriksgatan 13

412 50 Göteborg

Phone: +46 31 - 762 8182

Mobile: +46 733 - 38 83 19

 

_______________________________________________
mapguide-internals mailing list
mapguide-internals@...
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

RE: Even more dynamic symbols

by Walt Welton-Lair :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Mans,

The geometry is parsed in SE_StyleVisitor in the Stylization project.  The XML is converted into an SE_LineBuffer and stored with the parsed symbol.

Design-wise there's nothing preventing having the geometry accept parameters.  It's just a matter of implementing it.  You would need to pay attention to performance though - you don't want any performance degradation for existing symbols that don't use variable geometry.

If you're really interested in getting this support into MapGuide, I encourage you to look at the code and write an RFC proposing how to do it.  MapGuide is always looking for people who can help improve the product.

Walt

________________________________________
From: mapguide-internals-bounces@... [mapguide-internals-bounces@...] On Behalf Of Måns Beckman [mans.beckman@...]
Sent: Thursday, July 03, 2008 2:28 AM
To: mapguide-internals@...
Subject: [mapguide-internals] Even more dynamic symbols

Hi,



I was playing around with the possibility to create dynamic symbols in MapGuide. This is really great, but I want even more.



One thing that I would like to see made possible is to add parameters to your geometry definition. This would make it possible to make bar charts using attribute data. Is there any technical reason to why you have chosen to not include the possibility to add parameters to the geometry?



Could someone point me to where the source code for where the parsing of the XML is done? I don't really find my way to the right place to look in the source code, but with some help I could at least take a look at the code.



Best regards

Måns

-----------------------------------------------------------

Måns Beckman

Man and Machine

Fabriksgatan 13

412 50 Göteborg

Phone: +46 31 - 762 8182

Mobile: +46 733 - 38 83 19



_______________________________________________
mapguide-internals mailing list
mapguide-internals@...
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
mapguide-internals mailing list
mapguide-internals@...
http://lists.osgeo.org/mailman/listinfo/mapguide-internals