[mapguide-users] trouble replicating interstate symbol definition
Martin Morrison
martin.morrison at edsi.com
Thu Aug 7 13:28:01 EDT 2008
You do realize I only sent you the symbol definition part of the file, I
didn't send the complete file. You will insert the section I sent in
place of your symbol definition in your file. You need the rest of your
file. There is a white paper by Autodesk that explains the whole
process quite well. A brief look at their site did not turn it up
though. Can one of the Adesker's chime in with a link to the
whitepaper on composite symbols?
Martin
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jonathan
Manafi
Sent: Thursday, August 07, 2008 1:20 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] trouble replicating interstate symbol
definition
Hmm...I just tried that as well, and the process worked, in that it
created a symbol with that information. However, when I tried using it
on the map, it again displayed nothing for me.
One other question Martin: When I tried uploading the xml to the server,
I got an error message with an exception thrown with a validation error
message. I had received that in Studio as well, because
<SimplSymbolDefinition> needs a 'version=1.0.0' attribute. So, I
included that, but I still got an error. It wasn't until I had declared
at the top of the file
<?xml version="1.0" encoding="UTF-8"?>
<SimpleSymbolDefinition
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<http://www.w3.org/2001/XMLSchema-instance>
xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd"
version="1.0.0">
that I got it load to the server. Did you never have to go through this
in order to save your files?
Thanks.
The exact error message was
An exception occurred in the XML parser.
An exception occurred in the XML parser. Exception occurred in method
MgResourceContentManager.ValidateDocument at line 556 in file
c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\server\src
\services\resource\ResourceContentManager.cpp
Martin Morrison wrote:
I created the symbols outside of Studio using a text editor and then
loaded them into the server. I will say that the first attempt or two
at using online encoders to base64 didn't work the file was radically
different that what was shown below. I did hit on one that worked well,
I have it bookmarked but I don't have access to that bookmark right now.
You can look at the symbols created by the xml below by going to
http://gis.edsi/com then follow the links to the Mecklenburg County
public site.
Thanks,
Martin
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080807/65ebd1f8/attachment.html
More information about the mapguide-users
mailing list