Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能做一个
com.vividsolutions.jts.geom.MultiPolygon
对象,例如从使用 Hibernate-Spatial 的 GeoTools 到 Postgis 数据库中?
使用 Hibernate Spatial 5 的示例表(使用 Annotations-Method)可能如下所示:
@Entity public class MultiPolygon { @Id private int id; @Column(columnDefinition = "geometry(MultiPolygon,4326)") private com.vividsolutions.jts.geom.MultiPolygon polygon; // ... Getters - setters }