Opened 14 years ago
Closed 14 years ago
#659 closed defect (fixed)
Spatial contexts beyond the first created one are unusable when applying schema
Reported by: | jng | Owned by: | romicadascalescu |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | SQLite Provider | Version: | 3.5.0 |
Severity: | 1 | Keywords: | |
Cc: | External ID: |
Description
When applying a feature schema to a SQLite data store, if the data store has multiple spatial contexts, the apply schema command will always default all spatial context associations to the *first* created spatial context in that data store.
Suppose I have a SQLite data store with the following spatial contexts (created in the following order):
- Default
- MySpatialContext
If I apply a schema (w/ FeatureClasses whose geom property uses "MySpatialContext" as the SC association), the SC association will always be set to "Default"
Because of this problem, spatial contexts beyond the first created one are basically unusable.
Attached is C# source code that demonstrates this problem.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | Program.cs added |
---|
comment:1 by , 14 years ago
Owner: | changed from | to
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed by removing an used value to store the Spatial Context ID.
C# test application demonstrating the problem