]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - server/runtime/org.argeo.server.jcr/src/main/resources/org/argeo/jcr/gis/argeo_gis.cnd
Improve security
[lgpl/argeo-commons.git] / server / runtime / org.argeo.server.jcr / src / main / resources / org / argeo / jcr / gis / argeo_gis.cnd
diff --git a/server/runtime/org.argeo.server.jcr/src/main/resources/org/argeo/jcr/gis/argeo_gis.cnd b/server/runtime/org.argeo.server.jcr/src/main/resources/org/argeo/jcr/gis/argeo_gis.cnd
new file mode 100644 (file)
index 0000000..43e3b57
--- /dev/null
@@ -0,0 +1,16 @@
+<gis = 'http://www.argeo.org/gis'>
+
+// GEOMETRIES (based on JTS http://www.vividsolutions.com/jts/JTSHome.htm) 
+[gis:coordinate] > nt:base
+mixin
+- gis:x (DOUBLE) m
+- gis:y (DOUBLE) m
+- gis:z (DOUBLE)
+
+[gis:geometry] > mix:created, mix:lastModified
+mixin
+// either an EPSG code (EPSG:4326 for WGS 84) or a WKT representation
+- gis:srs (STRING)
+
+[gis:point] > gis:geometry, gis:coordinate
+mixin