private static void registerTypes(TypeMappings typeMappings) {
        Map<String, String> additions = new HashMap<>();
        additions.put("Geometry", "GeometryPath");
        additions.put("GeometryCollection", "GeometryCollectionPath");
        additions.put("LinearRing", "LinearRingPath");
        additions.put("LineString", "LineStringPath");
        additions.put("MultiLineString", "MultiLineStringPath");
        additions.put("MultiPoint", "MultiPointPath");
        additions.put("MultiPolygon", "MultiPolygonPath");
        additions.put("Point", "PointPath");
        additions.put("Polygon", "PolygonPath");
        for (Map.Entry<String, String> entry : additions.entrySet()) {
            typeMappings.register(
                    new SimpleType("org.geolatte.geom." + entry.getKey()),
                    new SimpleType("com.querydsl.spatial." + 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