We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [simplify]

A type of cartographic generalization in which the important characteristics of features are determined and unwanted detail is eliminated to retain clarity on a map whose scale has been reduced.

Filter by
Sorted by
Tagged with
45
votes
2answers
11k 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 value,...
25
votes
10answers
6k views

Existing solutions to automate generalisation/simplification of geographical data?

I am looking for existing solutions (softwares, libraries, methods, etc.) to automate the generalisation/simplification of geographical data as presented there, and also there. Do you know and use ...
24
votes
4answers
5k views

Simplifying adjacent polygons using PostGIS?

I encountered a problem simplifying set of polygons that are adjacent. If I simplify each polygon separately with the Douglas–Peucker algorithm (which is used by many open source tools), the resulting ...
24
votes
5answers
3k views

How to simplify a routable network?

I have a network graph that I need to simplify in the sense of reducing the number of edges. The idea would be to merge nodes that are located close together and remove the connecting short edges. ...
22
votes
5answers
2k views

Simplifying geometries (generalization)

What are the recommended ways of simplifying geometries? Keeping in mind projections, and simplifying state geometries for example. I've heard about converting to an 'equi-distant' projection that ...
16
votes
5answers
5k views

Simplifying polygons to linestring?

I would like to simplify some polygons that represent rivers into linestrings. I assume that holes in polygons can be omitted. Anybody has some good idea how to simply do it? It would be nice, if it ...
15
votes
3answers
3k views

Visualising clustered features in web maps?

I'm looking for the best symbol to display clustered features in the ArcGIS Server JS API. I don't like the "fly-out" animated cluster symbol, as used in the Silverlight API clustering or the JS ...
14
votes
1answer
6k views

Simplify polygons of sf object

How do I simplify an sf polygon without introducing gaps and slivers? With a shapefile, for example, I would use rmapshaper::ms_simplify(): library("pryr") library("rgdal") library("rmapshaper") ...
13
votes
5answers
2k views

Large shapefile to raster

I have a large shapefile (1 gb) and need to rasterise it. I have tried the following already. 1.) Import it into GRASS using v.in.ogr this failed with the error message: ERROR: G_realloc: unable to ...
12
votes
2answers
14k views

writeOGR with a spatialpolygon simplified by gSimplify

I'm using gSimplify (rgeos package) to simplify the geometries of a shapefile. The funcion works good, but now I can't write the output in a new shapefile. I tried some ways: writeOGR(simplyshape, ...
11
votes
3answers
878 views

How to anonymise a gps file?

Imagine you have a GPS trace that you want to make anonymous, in the legal sense. How would you do this? Is snapping to the nearest x distance and stripping out the time enough? Are there ...
11
votes
1answer
740 views

Simplify the straight sections of (multi)Linestring in PostgreSQL/PostGIS leaving the curved sections untouched

I have (multi)linestrings containing upwards of 5000 points and I want to perform two simplifications possibly using Ramer Douglas Peucker or alternative methods in PostGIS. The (multi)linestrings ...
9
votes
2answers
8k views

What is “Simplify tolerance” in QGIS's Simplify geometries tool?

I am trying to use QGIS 2.8 to simplify vector geometries. But I do not understand the significance of the Simplify tolerance value in the Simplify geometries tool. The documentation does not ...
9
votes
1answer
1k views

How to Simplify a Line Network Preserving Topology?

I have a Shapefile (consisting of European major roads) with about 250.000 Segments which I have to simplify for pgrouting. But I can't seem to find a way to do that properly. This is what it looks ...
8
votes
1answer
1k views

Cleaning large Shapefile using v.clean in order to dissolve features?

I'm having real problems cleaning up and reducing the size of a Shapefile which is published by the UK's Environment Agency. It shows the extents of the LiDAR open data they publish: each polygon is ...
8
votes
3answers
2k views

Lossless Polygon Simplification?

Is there a standard/recommended algorithm for simplifying a polygon without shrinking any of its original boundaries? Right now I'm using TopologyPreservingSimplifer within JTS and running into ...
7
votes
2answers
505 views

Complex Shapefile Compression Advice

I'm looking for some advice on how I can simplify this very detailed shapefile to ultimately be used for the web (as topojson) as a interactive heatmap. It was originally created from a raster file (...
7
votes
1answer
2k views

Why do simplify polygon results differ between ArcGIS for Desktop and PostGIS?

I am mainly interested in why and how the Simplify Polygons tool in ArcGIS for Desktop handles the simplification process, including preventing and resolving topological errors better than the ...
7
votes
1answer
623 views

How to use simplify()

i have my Vector Data saved in a PostgreSQL PostGIS enabled Database. The Data im displaying is very detailed, i want to simplify it through the simplify() method of Postgis. I duplicated one of my ...
7
votes
1answer
419 views

POSTGIS workflow for cleaning up a noisy dataset

I have a conservation dataset that im trying to simplify for the purpose of using it as a GML layer in openlayers, ie reducing the total shape and node count to quite small. The data has issues: eg- ...
6
votes
1answer
2k views

Help simplifying multipolygons in geodjango

I have a few multipolygons that have several hundred points in them. I'm looking to create less complex "thumbnails" polygons. Naturally I'm attempting to use the simplify method, which is supposed ...
6
votes
1answer
292 views

Is there a difference in results between Simplifying a geometry by different projections?

We have geometries in a PostGIS database projected in srid 4326. We need to have these geometries simplified with ST_SimplifyPreserveTopology. My question is whether this geometry needs to be ...
6
votes
1answer
2k views

How do I smooth edges of polygons in QGIS?

Is there a built in function or plugin I can use to achieve smooth lines for my polygons instead of the blocky ones I have now?
6
votes
1answer
2k views

Smooth, not simplify, lines features in PostGIS

I'm trying to automatically generate paths to place labels on that follow the shape of rivers, 4wd tracks and other very windy lines. At first I thought the st_simplify() function was the answer, but ...
6
votes
1answer
1k views

Competing approaches to line & polygon simplification

There seems to be a few theoretical options around at the moment for geometric simplification. Douglas–Peucker seems the most established, followed by Visvalingam's approach (used by d3.js). Now ...
6
votes
1answer
194 views

Finding Ring Smaller than a certain tolerance

In Simplifying a shapefile for world timezones http://efele.net/maps/tz/world/ all generalize/simplify algorithms fail on 5 countries/states, shown in this shape file http://enclick.com/...
6
votes
0answers
778 views

ogr2ogr (or other) simplification of polygons with shared boundaries

I am trying to simplify a collection of 100,000 or so polygons containing nearly 4 million vertices. The data is stored in a 2GB shapefile so there is no explicit representation of the topology ...
5
votes
3answers
5k views

Simplify geometries but keep them contiguous

I have several detailed contiguous areas. I need to turn each one into KML, but when I do so, the end result is too large (in terms of memory). Using PostGIS I need to simplify these geometries but ...
5
votes
1answer
1k views

ogr SimplifyPreserveTopology does not keep the Topology

I use ogr2ogr to simplify a layer of polyline, from the document: -simplify tolerance: (starting with GDAL 1.9.0) distance tolerance for simplification. This method will preserve topology, in ...
5
votes
1answer
618 views

Simplifying polygons made from binary rasters using ArcGIS Spatial Analyst?

I'm using MaxEnt to produce a species presence / absence raster layer. It works fine but I have to choose a cut off point for what constitutes presence or absence. As a result I end up with a lot of ...
5
votes
1answer
544 views

Simplify a road network to obtain the intersections

In QGIS 2.6.1 in Ubuntu, I want to measure the density of block in this city (FYI my final aim is to measure the TOD level). I have the road network from French national IGN dataset BDTopo. I have ...
5
votes
2answers
70 views

How to find fluctuant parts in a trajectory

I am currently doing an assignment on how to compress a trajectory. Given a trajectory T1 in figure 1, and I want to get a compressed version as T2. For segments p0~p3 and p6~p9 in T2, I can obtain ...
4
votes
2answers
11k views

Removing unnecessary vertices?

I have over sampled polygons that I need to simplify, without changing the shape. basically, I want to reduce the number of vertices, by eliminating the ones that are useless and have the polygons ...
4
votes
2answers
2k views

Simplify/generalize Polygons and keep topology of different layers PostGIS/QGIS

i have some polygons of a country, states, districts, communities and i want to simplify the geometry. i already simplified the geometry of each layer but afterwards of course it doesnt fit with the ...
4
votes
2answers
4k views

Simplify Raster Contours ArcGIS 10

Does anybody know a way to simplify a number of contour polylines derived from a raster dataset? I need to generate a map that shows contour polylines at relatively small scale. With the contour ...
4
votes
1answer
2k views

Changing the scale (generalisation) in ArcGIS 10

I have 2 polygon layers, accordingly 1:10 000 and 1:500 000. I want to generalize the first layer from 1:10 000 to 1:500 000. I tried using Simplify polygon tool, and since these scales relate to ...
4
votes
1answer
188 views

How to delete vertices with the same direction

I have feature with a big amount of vertices. But these vertices are totally useless and make Qgis editing too slow. Lets look on image with example: These vertices inside of black line I want to ...
4
votes
1answer
3k views

How Does Ogr2Ogr Simplify Work?

Can someone explain how the ogr2ogr simplify works? I am trying to use raster data which has a spectral resolution of 30m. The vector file that I am trying to import into Google Fusion is large in ...
4
votes
1answer
2k views

How to maintain right-angles when buffering?

When buffering some polygons I am trying to avoid the curved buffered area like this: I'm trying to do thins within an FME workbench but if someone knows how its done in other software that would ...
4
votes
1answer
2k views

Simplification algorithms for 3D topology

My problem is about simplifying a given topology that can be opened ( an usual 3D reconstruction of a given square on a map ), totally closed (like a perfect sphere) or a topology with holes ( a ...
4
votes
2answers
610 views

How to simplify streets such that seperate driving tracks are reduced?

Streets in Openstreetmap have more detail than I need. For instance I do not need seperate street tracks for each driving direction, instead I just want to show the general path of the street. Example:...
3
votes
3answers
3k views

Simplifying Shapefile using ArcGIS Desktop or alternative?

I have a shapefile that contains neighborhood boundaries that I want to simplify. Right now I am thinking of converting the shapefile to Google maps KML so I can insert the boundaries into the map as ...
3
votes
1answer
224 views

How to delete from mutipolygons all but the biggest polygon in QGIS

I have a bit too complex multipolygon set to be used in a web application (thematic map) so I'd like to simplify the structure by removing small islands of areas. I am not an expert on QGIS but so far ...
3
votes
1answer
239 views

Methods behind qgis:simplifygeometries and qgis:smoothgeometry?

I would like to know on which method (e.g. Douglas-Peucker line simplification) the modules qgis:simplifygeometries and qgis:smoothgeometry are built on. I cannot find further information on these ...
3
votes
1answer
410 views

How to use GRASS Generalize to reduce GADM data size to 1/5 preserving topology?

The GADM is a great resource from global boundaries of countries, states and municipalities. The amount of detail is suitable for many analyses but when it comes to mapping or displaying it is often ...
3
votes
4answers
1k views

Redistribute linestring vertices to specified distance

I use a groundwater model program called GMS, and it has a very useful function "Redistribute vertices" (more info). I use this function all the time to both simplify and provide regular spacings ...
3
votes
1answer
291 views

Create Strictly Simple Polygon in PostGIS/Shapely

The clipper lib has an amazing function to create a strictly simple polygon (definition below). Is it possible to do this in simple features (pref postgis or shapely)? A strictly simple polygon is a ...
3
votes
1answer
406 views

Reducing number of points, keeping most recent data within given distance, using QGIS?

I have a HUGE dataset of points that were collected along a route. The data may change daily, and the most recent data is the most important. What I would like to do is take only 1 point from a given ...
3
votes
1answer
1k views

Shapely's simplify won't simplify any more

I have a multipolygon in shapely, and I want to simplify it until it has less than a certain number of points. When I use the preseve_topology=False argument to geom.simplify, I can get the number of ...
3
votes
1answer
158 views

qgis: generalisation & covex - how to? what plugin?

I'm looking for a way to generalize and simlify polygon to remove "internal spikes" as ilustrated below. The violet in input and green expected poligon.