Opened 12 years ago
Closed 9 years ago
#4054 closed defect (fixed)
SDE: "The specified coordinate exceeds the valid coordinate range"
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | SDE |
Cc: |
Description
The error message "The specified coordinate exceeds the valid coordinate range" occurs sometimes when loading data into SDE. In my case it was geographic data loaded into an SDE/Oracle instance.
The problem only occurred when processing negative longitude coordinates and it seems it was because the envelope of the geographic coordinate system was 0,0 to INTMAX,INTMAX instead of something more sensible.
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 9 years ago
Despite of r22262 I can't find the code from current trunk/gdal/ogr/ogrsf_frmts/sde/ogrsdedatasource.cpp. I guess it should appear around row 1492.
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Was later changed in r22470. Closing.
I have added logic to forcably set the envelope on geographic coordinate system objects and this seems to work around the problem for me. It is not clear if something similar might be needed for projected coordinate systems or not. Currently the change is only in trunk (r22262).