[mapguide-users] trouble replicating interstate symbol definition

Martin Morrison martin.morrison at edsi.com
Thu Aug 7 16:06:41 EDT 2008


That is the whitepaper I was thinking of but couldn't find quickly.
Adesk has a copy on their website somewhere.

 

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 3:57 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] trouble replicating interstate symbol
definition

 

Martin,

I appreciate all the help that you have given. I have located an
Autodesk white paper on the subject that I am currently using to create
a path symbol for the interstate. For anyone else's reference, it is
located at
http://www.rand.com/imaginit/1/pdfs/technology/software/building_symbol_
libraries_with_autodesk_mapguide_enterprise_2009.pdf. In there, it does
state that 1.2 should be able to handle definitions for highway shields.

I would be curious if anyone still using MGOS 1.2 and symbol
definitions, or a developer, would be able to use the image I have
provided to successfully create a symbol definition. Perhaps 1.2 has
issues accessing stored images? Everything created by paths so far has
worked with no problems.

Thanks again for the help.


Martin Morrison wrote: 

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/eae5821b/attachment.html


More information about the mapguide-users mailing list