Revision 14003 branches/v10/extensions/extOracleSpatial/src/es/prodevelop/cit/gvsig/fmap/drivers/jdbc/oracle/OracleSpatialUtils.java

View differences:

OracleSpatialUtils.java
1959 1959

  
1960 1960
                for (int i = 1; i < info_array_size; i++) {
1961 1961
                    lineType = getLineToType(info_array, i);
1962
                    
1963
                    // -----------------------
1964
                    if (end_ind[i] == (start_ind[i] - 1))
1965
                    	lineType = PathIterator.SEG_MOVETO;
1966
                    // -----------------------
1967
                    
1962 1968
                    next_must_do_first = addOrdsToGPX(resp, start_ind[i] - 1,
1963 1969
                            end_ind[i] - 1, ords_array, dims, lineType,
1964
                            (i == 1), next_must_do_first);
1970
                            (i == 1) || (lineType == PathIterator.SEG_MOVETO),
1971
                            next_must_do_first);
1965 1972
                }
1966 1973
            }
1967 1974
            else {

Also available in: Unified diff