[mapguide-users] trouble replicating interstate symbol definition

Jonathan Manafi jonathan.manafi at cctechnol.com
Thu Aug 7 11:17:36 EDT 2008


Jonathan Manafi wrote:
> As far as I know, yes. So far, I have had all other composite symbols 
> I have created work for me. But this is the first one where I am 
> trying to include an image in the symbol, and I have apparently not 
> figured out how that is supposed to work.
>
>
> Martin Morrison wrote:
>> Just wondering aloud here...are composite symbol definitions supported
>> in 1.2?  I know I have them working in 2.x.
>>
>> Thanks,
>> Martin
>>
>> -----Original Message-----
>> 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 11:07 AM
>> To: MapGuide Users Mail List
>> Subject: Re: [mapguide-users] trouble replicating interstate symbol
>> definition
>>
>> Has anyone else tried to implement interstate signs?
>>
>> Thanks.
>>
>>
>> J Manafi wrote:
>>   
>>> I have been reading RFC 14 to understand composite features, and so
>>>     
>> far, it
>>   
>>> has gone well. However, up until now, I haven't used any images in the
>>> symbol definition. I tried replicating the interstate using a highway
>>>     
>> badge,
>>   
>>> stored as a .png file in a symbol library, and I am having no luck. I
>>>     
>> simply
>>   
>>> copied and pasted the xml for the symbol, changing my library paths,
>>>     
>> and I
>>   
>>> only get the text to show up. Here's what I did:
>>>
>>> -downloaded image of highway badges
>>> -cropped image to one I needed
>>> -uploaded to symbol library through studio 2008
>>> -copy/pasted code for symbol definition and changed path
>>> -tried creating layer using pointing to symbol
>>>
>>> I first tried only the highway badge. But after that, I tried a
>>> CompoundSymbolDefinition that included 2 paths to draw the road in
>>>     
>> yellow
>>   
>>> and black. Everything but the badge showed up. I thought maybe editing
>>>     
>> the
>>   
>>> image caused some issues, but I was able to use the image as a W2D
>>>     
>> stream in
>>   
>>> a PointSymbolization2D layer.
>>>
>>> Can anyone help me determine what I have done wrong here? My setup is
>>>     
>> MGOS
>>   
>>> 1.2, win XP, apache + php.
>>>
>>> I am including the files that I used to go through this process.
>>>
>>> http://www.nabble.com/file/p18820020/Symbol%2BDef.txt Symbol Def.txt 
>>> http://www.nabble.com/file/p18820020/Layer%2BDef.txt Layer Def.txt 
>>> http://www.nabble.com/file/p18820020/interstate.png interstate.png 
>>>   
>>>     
>> _______________________________________________
>> 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/6933c315/attachment.html


More information about the mapguide-users mailing list