private static void registerJTSTypes(TypeMappings typeMappings) {
        Map<String, String> additions = new HashMap<>();
        additions.put("Geometry", "JTSGeometryPath");
        additions.put("GeometryCollection", "JTSGeometryCollectionPath");
        additions.put("LinearRing", "JTSLinearRingPath");
        additions.put("LineString", "JTSLineStringPath");
        additions.put("MultiLineString", "JTSMultiLineStringPath");
        additions.put("MultiPoint", "JTSMultiPointPath");
        additions.put("MultiPolygon", "JTSMultiPolygonPath");
        additions.put("Point", "JTSPointPath");
        additions.put("Polygon", "JTSPolygonPath");
        for (Map.Entry<String, String> entry : additions.entrySet()) {
            typeMappings.register(
                    new SimpleType("com.vividsolutions.jts.geom." + entry.getKey()),
                    new SimpleType("com.querydsl.spatial.jts." + entry.getValue()));
            typeMappings.register(
                    new SimpleType("org.locationtech.jts.geom." + entry.getKey()),
                    new SimpleType("com.querydsl.spatial.locationtech.jts." + entry.getValue()));
        }
    }
{@code SpatialSupport} provides support for spatial types in code generation

@author tiwe
querydsl-spatial/src/main/java/com/querydsl/spatial/apt/SpatialSupport.java