Tagged Questions
1
vote
0answers
31 views
An algorithm for locating candidate labelling boxes within a polygon
Has anyone implemented this algorithm In PostGIS? Quoting from the paper:
Vector-based geographic information systems usually require annotation, such as a polygon number or attribute data, in a ...
0
votes
2answers
93 views
How to split a linestring every 1000 points in postgis
To assume compatibility with my survey software, I would like to lighten geometries of my linestrings by cutting them every 1000 points without creating or interpolating points.
I transformed a ...
4
votes
2answers
148 views
PostGIS algorithm to unite points of two geometries that are within specified radius
I want to find an PostGIS algorithm to unite points of two geometries that are "near" to each other.
That is: I want a function, that takes as input two geometries, and returns 1 geometry, that ...
1
vote
0answers
39 views
How can I assign road names from OSM to gis linestrings using open source tools?
Starting with a shapefile of linestrings I want to assign street names to these lines if there is a match with a road/street in OpenStreetMap.
There are no exact matches as the linestrings have a ...
4
votes
6answers
567 views
How to calculate the maximum distance within a polygon in x-direction (east-west direction) in PostGIS?
I am interested in the maximum width of a polygon, e.g. a lake, in the east-west direction. Bounding boxes will help only in simple polygons but not in complex concave polygons.
17
votes
2answers
1k views
Acquiring ArcGIS-like speed in Postgis
I have been using Postgis 2.0 for 3/4 of a year now and while I really enjoy using it, excessive query processing time has rendered it basically unusable for my use case.
I tend to do heavy ...
2
votes
2answers
192 views
How to remove roads from dataset
I've got a shape file that I loaded into PostGIS that has both road and parcel multipolygons and I need to remove the roads. I tried loading the shp file in qgis and it loads them both as a single ...
6
votes
4answers
993 views
Point in polygon algorithm for multiple polygons
I've a Google map with bunch of polygons on it.
Here is a problem I'm interested in: Given a lat,lng point, what's the best way to determine all the polygons that this point lies in?
The obvious way ...
12
votes
3answers
952 views
Meaning of Simplify's tolerance parameter
The standard parameters of Douglas-Peucker's simplify algorithm are geometry and tolerance (e.g ST_Simplify in PostGIS). What's the meaning of the tolerance parameter? I know that the bigger the ...
3
votes
2answers
140 views
How to bring polygons closer to a point?
I have some scattered polygons with a lot of space between them.
I want to make a thematic map but all that white space doesn't look very good, so I want to bring the polygons closer to the center of ...
9
votes
2answers
716 views
PostGIS: split a polygon in a given ratio
Is there a convenient way to split a polygon into n parts, more-or-less equal in size in PostGIS?
6
votes
3answers
616 views
Retrieve polygon smallest MBR
I have a postgis table containing polygons. I want to transform my polygons to 4 points polygons : retrieve the smallest MBR.
Here comes an illustration of what I want :
My original polygon is ...

