[mapguide-users] Base64 encoding decoding scenarios
wmedernach at rand.com
Fri Mar 6 13:58:06 EST 2009
No ideas, comments, suggestions from anyone? ;-)
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Warren
Sent: Monday, March 02, 2009 10:43 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Base64 encoding decoding scenarios
I'm working on decoding the UIDs passed in the selection XML, and I want
to thank the group for all of the posts on decoding base 64 as I can
successfully decode a UID now!
However, when I attempt to decode a UID that is NOT made up a single
integer field, I'm running into some problems:
If the UID consists of 2 integer fields, upon decoding, only the first
value is returned.
Example, objects Key fields are:
When I decode this, only the first value, 1684, is returned.
Do I need to do something different for decoding a feature where there
are multiple key fields?
If the UID consists of a text field, the decoded value is incorrect.
Example, object UID = '1365-1684'
Decoded, the returned value is: 892744497
And I noticed if multiple objects are selected, it seems all of the
decoded values are: 892744497
Any comments, ideas, suggestions would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users