Opened 19 years ago
Closed 19 years ago
#1211 closed defect (fixed)
Geodetic problems in maporaclespatial
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Input - Native Oracle Spatial Support | Version: | 4.4 |
Severity: | normal | Keywords: | |
Cc: |
Description
Mike Smith from US Army Engineer Research & Development Center reported when the data stored in database contains geodetic SRID the FILTER, RELATE and GEOMRELATE funtions need to change how it apply the bbox. Mike suggest to use the VIEW_TRANSFORM function whnre the SRID is between 8192 and 8316. Part of the Mike's code: ..... if ((srid>=8192)&&(srid<=8316)) { sprintf( query_str + strlen(query_str), "SDO_FILTER( %s.%s, SDO_CS.VIEWPORT_TRANSFORM(MDSYS.SDO_GEOMETRY(" "2003, 0, NULL," "MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3)," "MDSYS.SDO_ORDINATE_ARRAY(%.9g,%.9g,%.9g,%.9g) ), %s)," "'querytype=window') = 'TRUE'", table_name, geom_column_name, rect.minx, rect.miny, rect.maxx, rect.maxy, srid ); } ...... Thanks.
Change History (2)
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in CVS version of maporaclespatial.c in Mapserver 4.5. Thanks.
Note:
See TracTickets
for help on using tickets.