congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MultiPoint.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.postgis.MultiPoint
constructor

Best Java code snippets using org.postgis.MultiPoint.<init> (Showing top 7 results out of 315)

origin: postgis/postgis-java

private MultiPoint parseMultiPoint(ValueGetter data) {
  Point[] points = new Point[data.getInt()];
  parseGeometryArray(data, points);
  return new MultiPoint(points);
}
origin: net.postgis/postgis-jdbc

private MultiPoint parseMultiPoint(ValueGetter data) {
  Point[] points = new Point[data.getInt()];
  parseGeometryArray(data, points);
  return new MultiPoint(points);
}
origin: com.mysema.querydsl/querydsl-sql

private static org.postgis.MultiPoint convert(MultiPoint multiPoint) {
  org.postgis.Point[] pgPoints = convertPoints(multiPoint);
  org.postgis.MultiPoint pgMultiPoint = new org.postgis.MultiPoint(pgPoints);
  pgMultiPoint.setSrid(multiPoint.getSRID());
  return pgMultiPoint;
}
origin: com.querydsl/querydsl-sql-spatial

private static org.postgis.MultiPoint convert(MultiPoint multiPoint) {
  org.postgis.Point[] pgPoints = convertPoints(multiPoint);
  org.postgis.MultiPoint pgMultiPoint = new org.postgis.MultiPoint(pgPoints);
  pgMultiPoint.setSrid(multiPoint.getSRID());
  return pgMultiPoint;
}
origin: net.postgis/postgis-jdbc

  result = new MultiLineString(value, haveM);
} else if (value.startsWith("MULTIPOINT")) {
  result = new MultiPoint(value, haveM);
} else if (value.startsWith("POLYGON")) {
  result = new Polygon(value, haveM);
origin: postgis/postgis-java

  result = new MultiLineString(value, haveM);
} else if (value.startsWith("MULTIPOINT")) {
  result = new MultiPoint(value, haveM);
} else if (value.startsWith("POLYGON")) {
  result = new Polygon(value, haveM);
origin: org.hibernatespatial/hibernate-spatial-postgis

private MultiPoint convertJTSMultiPoint(
    com.vividsolutions.jts.geom.MultiPoint multiPoint) {
  Point[] pgPoints = new Point[multiPoint.getNumGeometries()];
  for (int i = 0; i < pgPoints.length; i++) {
    pgPoints[i] = convertJTSPoint((com.vividsolutions.jts.geom.Point) multiPoint
        .getGeometryN(i));
  }
  MultiPoint mp = new MultiPoint(pgPoints);
  mp.setSrid(multiPoint.getSRID());
  return mp;
}
org.postgisMultiPoint<init>

Popular methods of MultiPoint

  • numPoints
  • getPoint
  • setSrid
  • getFirstPoint
  • getPoints

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • findViewById (Activity)
  • getSystemService (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Collectors (java.util.stream)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now