Tag Info

New answers tagged

1

You can use the geometry config option of ol.style.Style and use a function to create a point at every vertex (http://openlayers.org/en/v3.5.0/apidoc/ol.style.html#GeometryFunction) See also this blog post for some related information: http://boundlessgeo.com/2015/04/geometry-based-styling-openlayers-3/


0

This worked: CREATE TABLE coastalsegments AS (SELECT ST_Line_Substring(the_geom, 1000.00*n/length, CASE WHEN 1000.00*(n+1) < length THEN 1000.00*(n+1)/length ELSE 1 END) As the_geom FROM (SELECT ST_LineMerge(coastal_shoreline.geom) AS the_geom, ST_Length(coastal_shoreline.geom) As length FROM coastal_shoreline) ) AS t CROSS JOIN ...


0

Use ST_Line_Interpolate_Point union them first to create a single complete without gaps line .


1

I have done a fair amount of research into this problem, now, and I believe that the best way to do this is to create a weighted graph with vertices for every point in the line-string and every intersection between steps along the line-string and apply Dijkstra's Algorithm to find the shortest path from the starting vertex to the end-point. Why my ...



Top 50 recent answers are included