Results 1 to 5 of 5
  1. #1
    cdchandani is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Question Java Topological Suite(JTS)-retrieve intermediate Lines from Geometrical Collection

    Hi,

    I need to retrieve all Line Strings from a Geometrical Collection(of line strings) lying between two coordinates(Coordinates are taken from existing Line Strings in the Geometrical Collection).
    I am using JTS library.
    I tried intersection() function but it worked only for linear geometries not for curved.

    Can anyone help me to get the output in the most efficient way.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: Java Topological Suite(JTS)-retrieve intermediate Lines from Geometrical Collecti

    So you want help to optimize code you have, without showing anyone the code to be optimized?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: Java Topological Suite(JTS)-retrieve intermediate Lines from Geometrical Collecti

    and please explain what a 'Line String' is ... Java knows about Strings of chars, but that's about it ...

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

  4. #4
    cdchandani is offline Member
    Join Date
    Apr 2014
    Posts
    2
    Rep Power
    0

    Default Re: Java Topological Suite(JTS)-retrieve intermediate Lines from Geometrical Collecti

    LineString is a class in JTS library.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,422
    Blog Entries
    7
    Rep Power
    28

    Default Re: Java Topological Suite(JTS)-retrieve intermediate Lines from Geometrical Collecti

    Quote Originally Posted by cdchandani View Post
    LineString is a class in JTS library.
    And what does that JTS library think what a 'line string' is?

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

Similar Threads

  1. Intermediate Java
    By zachdog6 in forum Forum Lobby
    Replies: 1
    Last Post: 07-28-2013, 05:35 AM
  2. Java Intermediate
    By MarKus in forum New To Java
    Replies: 2
    Last Post: 09-10-2008, 02:58 PM
  3. Intermediate Java section?
    By fishtoprecords in forum Suggestions & Feedback
    Replies: 6
    Last Post: 07-17-2008, 01:55 AM
  4. Topological Sorts
    By Emily in forum Advanced Java
    Replies: 1
    Last Post: 04-03-2008, 05:39 PM
  5. Topological Sorts
    By Emily in forum New To Java
    Replies: 0
    Last Post: 03-27-2008, 01:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •