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):

  1. Default
  2. 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)

Program.cs (4.5 KB ) - added by jng 14 years ago.
C# test application demonstrating the problem

Download all attachments as: .zip

Change History (5)

by jng, 14 years ago

Attachment: Program.cs added

C# test application demonstrating the problem

comment:1 by traianstanev, 14 years ago

Owner: changed from traianstanev to romicadascalescu

comment:2 by traianstanev, 14 years ago

Owner: changed from romicadascalescu to traianstanev
Status: newassigned

comment:3 by traianstanev, 14 years ago

Owner: changed from traianstanev to romicadascalescu
Status: assignednew

comment:4 by romicadascalescu, 14 years ago

Resolution: fixed
Status: newclosed

Fixed by removing an used value to store the Spatial Context ID.

Note: See TracTickets for help on using tickets.