![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
UDIG 1.3.1 |
|
Assignee:
|
Jody Garnett
|
|
Components:
|
framework |
|
Created:
|
30/Jul/12 10:26 PM
|
|
Description:
|
Background: We are trying to store some metadata (mapping of attributes that point to documents) for DocumentView.
Issue: We are not able get the metadata that we stored because there are two entries in the properties map. See sample below and notice the different cases of 'c:'/'C:'. (Note that I was just using a filesystem shapefile here to test the function).
{c:\Users\nchan\Downloads\DocumentsView\internal\australia.shp#australia={title=australia, hotlink=ISO:FILE,STATE:FILE},
C:\Users\nchan\Downloads\DocumentsView\internal\australia.shp#australia={title=australia}}
Our implementation just uses the basic usage below to get/set the properties which internally just gets the resource's ID as key:
IGeoResource.getPersistentProperties().put(key, value)
or
IGeoResource.getPersistentProperties().get()
A suspect from Jody is that there may be another function that also uses properties that does not use IDs but rather calls shapefile.toUrl() directly.
|
|
Environment:
|
Win 7
|
|
Project:
|
uDIG
|
|
Priority:
|
Major
|
|
Reporter:
|
Naz Chan
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel