Jukka,
I've not done anything useful with routing either, so I'm sure once I solve
my issue, I'll immediately realize a simpler way to do it.
Your segmenting the lines has given me an idea that is similar: Add the
points into the linestrings.
I think if I do this I can then more easily create line
ChiefDan gmail.com> writes:
>
> Jukka,
>
> THanks for the suggestions. THe green points are the decision points, so I
> need to use those in my pathing. For instance, I would choose one of those
> points and then choose another green point as the destination to get the
> route(s).
I have not r
Jukka,
THanks for the suggestions. THe green points are the decision points, so I
need to use those in my pathing. For instance, I would choose one of those
points and then choose another green point as the destination to get the
route(s).
--
View this message in context:
http://osgeo-org.1560
ChiefDan gmail.com> writes:
>
> Jukka Rahkonen wrote
> > Hi,
> >
> > Could you make a drawing about what you have and what you want to get?
> >
> > If your aim is to cut long linestrings only where they intersect with
> > points
> > from the point layer I believe that it is not easy with plain
Jukka Rahkonen wrote
> Hi,
>
> Could you make a drawing about what you have and what you want to get?
>
> If your aim is to cut long linestrings only where they intersect with
> points
> from the point layer I believe that it is not easy with plain GDAL. There
> are some useful functions in the S
Matt Hanson-2 wrote
> So you've got a series of points in your point layer, and a series of
> lines
> in your line layer, and for each point on your points layer, you want to
> find out which line this falls on.
--I'm able to do this already.
Matt Hanson-2 wrote
> Is that right? It sounds like
ChiefDan gmail.com> writes:
>
> Matt,
>
> I've got a line layer and a points layer. The points layer fall on the line
> layer, however they are not end points on the line layer, for the most part.
>
> I'm not sure if that answers your question or not.
Hi,
Could you make a drawing about what
Want to make sure I understand this properly.
So you've got a series of points in your point layer, and a series of lines
in your line layer, and for each point on your points layer, you want to
find out which line this falls on.
Is that right? It sounds like you've done this part. However, I'm
Matt,
I've got a line layer and a points layer. The points layer fall on the line
layer, however they are not end points on the line layer, for the most part.
I'm not sure if that answers your question or not.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-cre
ChiefDan,
If I understand the problem correctly...
If you get the OGRGeometry of your line string (get the WKT from that or
somehow turn into an array or list that is easy to work with) you will have
all the points in order along the line. Then, you'll need to find your
initial point of interest
Yes, I've experimented with that library and actually asked a follow up
question here about it. To properly use it, I need to prepare the layer in
the manner I am asking about.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-create-new-line-segments-from-point-la
ChiefDan gmail.com> writes:
>
> I am trying to create a pathfinding graph from a shapefile with a line layer
> and point layer.
Hi,
Have you already studied
http://trac.osgeo.org/gdal/wiki/rfc48_geographical_networks_support?
-Jukka Rahkonen-
___
Would GEOS be a more appropriate library to use? GDAL was my goto due to
familiarity.
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/GDAL-C-Api-create-new-line-segments-from-point-layer-tp5195061p5195070.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
___
I am trying to create a pathfinding graph from a shapefile with a line layer
and point layer.
Using the C++ API, for each point in the points layer, I need to find the
next N points that are connected to that point along one or more
OGRLineStrings. I've been able to determine which OGRLineString
14 matches
Mail list logo