Opened 17 years ago

Closed 17 years ago

#204 closed defect (fixed)

Buffer on RDBMS polygon layers fail with coordinate system conversion error

Reported by: trevorwekel Owned by: trevorwekel
Priority: medium Milestone: 1.2
Component: Viewer Command Version: 1.2.0
Severity: major Keywords:
Cc: External ID: 942789

Description

Creating a buffer in the Ajax viewer against a feature source contained in a MySQL database fails with the following error:

0 buffer feature was created

Warning: 1 layers were excluded from buffer computation because their coordinate systems are incompatible with the coordinate system of the map, or because they have no coordinate system at all

Change History (3)

comment:1 by trevorwekel, 17 years ago

Status: newassigned

comment:2 by trevorwekel, 17 years ago

I have uncovered two bugs:

  1. !MySQL does not have an active spatial context by default. This can be easily worked around by selecting all spatial contexts in the buffer script instead of only the active ones.
  1. PHP does not honour the !bActiveOnly flag on MgFeatureService.GetSpatialContexts and GetLongTransactions. This is likely due to the presence of a default argument in the C++ header definition. The default argument will have to be removed for the API to function correctly in PHP.

comment:3 by trevorwekel, 17 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.