Opened 18 years ago
Closed 18 years ago
#27 closed defect (fixed)
Schema does not allow setting resource ID for referenced content in Image graphic element
Reported by: | waltweltonlair | Owned by: | waltweltonlair |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Server | Version: | 1.2.0 |
Severity: | major | Keywords: | |
Cc: | External ID: | 924298 |
Description
For the Image graphic element we allow the image data to be embedded content or a "reference". In the case of a reference we've assumed it's stored as resource data with the symbol definition itself, and so the "Reference" is just the name of the resource data and the resource ID is inferred. The SymbolDefinition schema should be changed to explicitly include a ResourceId element. Reasons for doing this:
- it lets you store the image data with a separate resource (e.g. an image library)
- it lets us support referenced images in the case of inlined symbol definitions
- it's consistent with how this is done in ImageSymbolType
We will allow the ResourceId to be blank, in which case the code assumes the image is stored with the symbol resource. That way if you save the symbol as a new resource you don't have to remember to update this field.
Change History (3)
comment:1 by , 18 years ago
External ID: | → 924298 |
---|
comment:2 by , 18 years ago
Status: | new → assigned |
---|
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The schema has been updated. Also fixed a few other problems:
All these things have been fixed by submission http://trac.osgeo.org/mapguide/changeset/1452.