GeoLatte / geolatte-geom

A geometry model that conforms to the OGC Simple Features for SQL specification.
Other
132 stars 63 forks source link

How does geolatte work among over thousands of Lon&Lat Points #170

Open kensinzl opened 1 month ago

kensinzl commented 1 month ago

Dear

I use this package for Oracle Spatial type. Meanwhile, I am using Java JPA for this.

  <dependency>
      <groupId>org.geolatte</groupId>
      <artifactId>geolatte-geom</artifactId>
      <version>1.9.1</version>
  </dependency>

This is the table structure

GRID_POINT_BOUNDARY {
  BOUNDARY_ID   NUMBER(19,0)
  BOUNDARY_DEF  SDO_GEOMETRY
  NAME  VARCHAR2(255 BYTE)
}

I have a Polygon object which has over 6,000 Lon&Lat Points.

Any information is welcome

kensinzl commented 1 month ago

may I check could someone please have a look at this ticket? thank you so much.

maesenka commented 1 month ago

the answer is that Geolatte (and Hibernate Spatial) use prepared statements. The geometry object is constructed and bound to the prepared statement. The geometry object is not turned into a textual presentation that needs to be parsed as SQL.

kensinzl commented 1 month ago

@maesenka thanks for your response.

the answer is that Geolatte (and Hibernate Spatial) use prepared statements. => Here, I want to double check could you please share the example for the prepared statements you mentioned? is it just a normal insert query? thanks so much

kensinzl commented 3 weeks ago

@maesenka can I check how is going on for the above message? thank you so much.