Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 960

A mathematical procedure used to solve problems with a series of steps. Algorithms are usually encoded as a sequence of computer commands.

11 votes
Accepted

Clustering undirected lines

If I understand you right you want to cluster lines that is about the same without respect to direction. Here is an idea that I think could work. split the lines in start point and end point Cluste …
Nicklas Avén's user avatar
3 votes

Lines to Polygons

Hallo I don't think what you are looking for is a specific algorithm. The task can be quite difficult or very simple depending on your dataset. …
Nicklas Avén's user avatar
1 vote

How to incrementally add points to a polygon and eventually increasing the size of the polyg...

I am not sure I understand what you want and I don't see the use case. It seems like you want to define the polygons and let them increase in size. Then you have to decide what identifies a polygon …
Nicklas Avén's user avatar
11 votes

Map matching links and ideas?

The projecting of points onto the line as you are already doing is possible to do directly in PostGIS. I wrote about is some time ago, here But to solve your problem when the points is closer to wro …
4 votes

Algorithms for matching segments

If you tear apart one of the linestrings to compare and test if the vertexpoints is within some distance from the other linestring to compare you can control the test in many ways. those examples work …
Nicklas Avén's user avatar
3 votes

Finding boundary co-ordinates from given set of point co-ordinates?

What you want is the Convex hull. In PostGIS there is a function (actually GEOS) that gives you the Convex hull, ST_ConvexHull(geometry). At wikipedia there is a lot of info about concave hulls.
Nicklas Avén's user avatar
1 vote

Point in polygon algorithm for multiple polygons

In postgis ST_Intersects uses indexes to first find if the point is inside the bounding box of the polygon and then makes a recheck to see if it really is inside the polygon. That is fast, often very …
Nicklas Avén's user avatar
2 votes

Algorithm to find polygons enclosing points

from a database perspective it sounds like you want to group the points on the ilands and make a convexhull on each group. in postgis it would look something like: SELECT ST_Convexhull(ST_Collect(p. …
Nicklas Avén's user avatar
2 votes

How to bring polygons closer to a point?

making the polygons bigger should give the desired effect. http://postgis.net/docs/manual-1.5/ST_Scale.html /Nicklas
Nicklas Avén's user avatar
2 votes
Accepted

PostGIS algorithm to unite points of two geometries that are within specified radius

ST_ConcaveHull should solve this.
Nicklas Avén's user avatar
23 votes

What are Definition, Algorithms and Practical Solutions for Concave Hull?

There is an implementation of ST_ConcaveHull in PostGIS trunk. http://postgis.net/docs/ST_ConcaveHull.html
Nicklas Avén's user avatar