New answers tagged

1

As Aileen said, Oracle has no specific concept of an EMPTY geometry as differentiated from a straight NULL geometry. All spatial operations involving NULL geometries behave according to the regular rules for NULLs in relational algebra - put simply: anything combined with NULL is NULL. I just realized that there is specific syntax in the WKT notation to ...


3

This is the question/response I got from oracle's spatial expert in Europe in 2014. q: Does oracle have the concept of an empty geometry? If so can you give me an example? Would this be a valid way of creating an empty point? SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(NULL, NULL, NULL), NULL, NULL) My initial reaction was there is no such thing as an empty ...


0

SUPPORT_LATLON | SUPPORT_EDGEFLAGS the default constructor sets SUPPORT_LATLON only. Other constructors must set the combination explicitly. The code above is a binary operation with Or-Op "|"


1

TLDR; in general use the org.geotools imports if you are working solely with GeoTools code. As is documented in the OpenGIS FAQ GeoTools once upon a time had idealistic developers who thought the world would be a better place if the "Java GIS Tribe" could share code more easily. So they built a set of interfaces that people implementing various OGC and ISO ...


1

Solved by adding one line to if statement for checking is ctrl pressed so now it looks like this: if(ctrl) { mapPane.getMapContent().expandSelection(layer, IDs); IDs=MapContent.selected; } else { mapPane.getMapContent().selectFeatures(layer, IDs); } and also I changed visibility of selected in MapContent to public static Set<FeatureId> ...


1

I think your problem is that none of your strings overlap so there is nothing for the union to do. I've tried the following code: SimpleFeatureIterator itr = features.features(); ArrayList<Geometry> geometries = new ArrayList<>(); try { while(itr.hasNext()) { SimpleFeature f = itr.next(); Geometry geom = (Geometry)f....


0

This should work (it works great in my program) map.layers().clear();



Top 50 recent answers are included