On a map, a closed shape defined by a connected sequence of x,y coordinate pairs, where the first and last coordinate pair are the same and all other pairs are unique.

learn more… | top users | synonyms

3
votes
2answers
88 views

Add rectangle polygon

I have a polygon shapefile layer. I want to add a rectangle polygon (just like in Arcmap), and another one using the previous polygon edge. I need it to be accurate, my hands do not meet this ...
2
votes
2answers
324 views

Iterating polygons on a SpatialPolygonsDataFrame in R with readWKT

I have fetched some data (39 objects) from my PostGIS database and converted this data into a matrix: rs <- dbSendQuery(con, "SELECT ST_AsText(polygon_accumulation) AS ShapeWKT from ...
1
vote
2answers
25 views

How to extract a new linestring vector from a existing multipolygon in QGIS?

What I want to do: create a new line (named linestring in Postgis?) from existing multipolygon layer in Postgis. Purpose: once these lines are created, I'll run some distance calcs from specific ...
1
vote
2answers
24 views

Split polygon based on line segment

I am trying to split a street polygon based on the segment ID of the street, giving them the same segment_ID in the attribute table of the street lines. I did not use the line feature class to derive ...
6
votes
1answer
60 views

Suitable algorithms for simplifying isochrone polygons

I'm looking for an algorithm for simplifying isochrones which were generated using OSM data. These are generally characterised as having lots of small "holes" mostly due to missing OSM data but also ...
5
votes
1answer
144 views

Select by location of doughnut hole polygon

I have vectorized the Corine Land class raster and want to select certain classes that are "inside" other classes. How can I select the polygons circled in blue? All the select by location options ...
3
votes
1answer
88 views

Postgis 2.0 geographic polygon has max longitudinal range

My problem is that I have a load of geographic point data (srid 4326) in a table. A user may do a bounding box search - essentially create a polygon as follows: l_poly geography(Polygon,4326):= ...
3
votes
1answer
161 views

digitizing (tolerence) error in line data

I have designed a large number of boundaries. For accuracy, I took lines in patches from different data sets and merged them into one. Now I want to turn them into polygons from lines. I every second ...
2
votes
1answer
59 views

What methods exist for geohash of polygon?

GeoHash is an excellent method to code the latitude and longitude of a point into a string. It's concise, due to the use of numbers + letters, and the precision can be tuned adding characters at the ...
2
votes
1answer
33 views

Is there a way to clip a polygon layer according to DEM elevation?

I have a polygon layer on top of a DEM. Is there a way to clip the polygon layer according to elevation, ie the clipped result being only those areas of the polygon layer between x and y altitude? ...
2
votes
1answer
103 views

Determine when I have crossed state line?

We are currently using the Google Maps API to get route information and total mileage but we would like to determine when we are crossing into a new state. When we return the route information we can ...
2
votes
1answer
118 views

Separate a polygon in different polygons depending of the distance to another polygon

I have a reference polygon "R", and others polygons (in grey). I want to separate each grey polygon in multiple polygons, depending on the distance to R with different Buffers : - The red line is R ...
2
votes
1answer
25 views

Selecting Polygon Features in QGIS Lisboa

I want to select and save as a separate shape file, a smaller section (polygon) from a whole island country which includes both land and shallow habitat coastal features (like coral reefs) and when I ...
1
vote
1answer
53 views

Step-by-step: How do I extract Raster values from Polygon overlay with Q-GIS or R?

I am writing my master thesis at the moment and am having the exact same problem as user Curley in this question: I first need to overlay a Corine 2006 raster with a polygon layer (2638 polygons). ...
1
vote
1answer
42 views

Smoothly interpolating Polygons from set of coordinates?

I'm still quite new to QGIS and I'm using it to display and analyze my soil data. I have point information on the distribution of the soils in a specific area and I need to create a soil map from ...
1
vote
1answer
44 views

Rectangle polygon is displayed as triangle

i am wondering why a rectangle polygon that i have created on an official german surveying website (downloaded as compressed shape in a zip-file) is displayed as a triangle when loaded in qgis. mighty ...
1
vote
1answer
62 views

autocad-map of real estates with own coordinate system and information to be converted to use it in QGIS

I have a question regarding CAD and QGIS, but unfortunately I don't have a clue of CAD. Here it goes: Real estates data has been mapped. There are several reference points surrounding the area. So ...
1
vote
1answer
57 views

QGIS: Clipping a line layer using a polygon and getting an empty shapefile

I am using QGIS 2.2.0 and want to clip a line layer (roads) so that only those inside a polygon are shown. When I do this using Vector->Geoprocessing Tools->Clip I only get an empty shapefile as an ...
1
vote
1answer
50 views

How do I peform a true GIS Clip of polygons layer using a polygon layer in R

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the CLIP function in ...
1
vote
1answer
56 views

How to map flood areas from a set of points containing surface and height of water?

I am working on the damages made by the typhoon Haiyan. I use QGIS 2.0 with extensions and toolbox, and MapInfo. I have vectors, rasters of the place. I want to map the flood area along the ...
1
vote
1answer
64 views

How to get a centroid of a closed line in MYSQL

I have a table that contains only closed lines (lines where endpoint is the same as startpoint). I would need to find a centroid for those lines. How would I be able to achieve it? It does not ...
1
vote
1answer
150 views

How to construct a line from points in pyshp?

I am reading a shapefile for a pipeline and what I've noticed is that if I just draw a line from one point to the next (in the order I read them), there will be points where the line terminates, and ...
0
votes
1answer
22 views

accurately find the bounding box of geography polygons

Im displaying polygons on a map and have had issues with the spatial index where the index performs well only for certain data sets (large areas with low density / high density small map areas). I've ...
0
votes
1answer
18 views

gdal_rasterize : getting area not in or touching polygon (options -at and -i)

I would like to capture the area that is not in a polygon (option -i) and that doesn't touch that polygon. gdal_rasterize -at will return the polygon + edges, but gdal_rasterize -at -i will not ...
0
votes
1answer
36 views

Millions of polygons: displaying layers in Leaflet based on location being viewed?

I'm trying to create a map of all parcels in a state. In my state, this is several million parcels. In their current format, they are encoded as topojson and divided up by county. I'd like to show ...
0
votes
1answer
53 views

How to add point attributes to containing polygon?

I have three layers in a QGIS project: layer 1 is a boundary layer of polygons each with and id I will call "p_id" layer 2 is a point layer each with an id called "p_id" layer 3 is a .csv layer ...
0
votes
1answer
73 views

Automating Intersect between two polygon layers

I have a spreadsheet that has county-level occurrences of around 1000 species within the US in the column headings (Species State County). Thus, for some counties there may be multiple species. I ...
0
votes
1answer
37 views

CartoDB simple process

I'm attempting to create a simple process with CartoDB, I have a layer with number of polygons, I want to to run a SQL with a multipoint line to report which polygons were intersected.
0
votes
1answer
185 views

CartoDB.js - Accessing table fields in hover function

I am new to CartoDB.js and javascript in general, and I am attempting to highlight polygons in response to a mouse hover. My plan of attack attempts to utilize one of the interesting templates ...
0
votes
1answer
54 views

How to copy closed loop lines into polygon feature class

I'm trying to utilize line contour data to find the volumes of local depressions. To do this, I want to copy the closed loops formed by depression contours into a polygon feature class to find the ...
0
votes
1answer
46 views

Using attributes of a polygon in one layer to identify polygons in another

So I'm in the process of developing a web application, I am using open source tools so qgis, postgis, play framework for the web app. And I have come across an interesting problem that I'm trying to ...
0
votes
1answer
221 views

How to calculate the percentage of distribution in each polygon?

I have binary map for disease suitable area and I want to calculate the percentage using pixel count in each polygon how can I do that? I use zonal histogram and do have frequency for each polygon is ...
0
votes
1answer
279 views

How to narrow the result from Nominatim with only cities and countries, no additional areas with the same name?

I'm trying to get WKT or GeoJson polygons of cities and countries from Nominatim (for example, Paris and France). I send a GET request but it returns me several results named "Paris" or "France". How ...
0
votes
1answer
49 views

represent multiple geometry as single feature

There is a school. it is on two disjoint areas, one is primary wing and other is secondary. I need to make single feature from the two areas such that, there is only one column in gis table, i.e. only ...
0
votes
1answer
320 views

Reverse geocoding polygon co-ordinates?

I have a large dataset of polygons for property sections that I need to reverse geocode. It was recommended that I use a GIS like Quantam to do this however from my research I am not 100% sure if a ...
0
votes
0answers
39 views

Align a polygon to a point in another layer - QGIS

I had a rectangle in a polygon layer, and a point in another layer. How can I align the polygon centroid to that point ? I'm doing manually with the move polygon tool, but it would be great if i can ...
0
votes
0answers
45 views

Polygon shading is darker in certain areas

When drawing in qgis i am encountering an error when drawing large polygons snapped to multiple points. Polygons that have this shading in certain areas are not displaying correctly in other ...
0
votes
0answers
109 views

How to access vertices in a polygon layer using ogr library with c++

up to now I have tried these classes in order to extract the vertices of polygons: OGRPolygon : It doesn't have any method to get number of vertices, start point and end point. OGRLineString : ...
0
votes
0answers
80 views

Polygon dynamic grid creation for a shape file

I have used QGIS Vector->ResearchTools-> Vector Grid to create a 1lat x 1 long grid for the landpolygon shape file (from osm). Now, I am interested in creating dynamic grid for the original ...
0
votes
0answers
83 views

How to convert a set of points to a polygon based on a specific field in QGIS

I am having a point shapefile that consists of a number of point sets. I need to convert these points to a polygon based on a particular field in attribute table say for example locality . How can i ...
0
votes
0answers
525 views

How to split polygons based on other polygons?

In ArcGIS, I have a layer of polygons (created from the Service Area function) and want to split each one of those based on another polygon layer (the boroughs of London). The purpose is that I want ...
0
votes
0answers
53 views

Unwanted lines when cutting & merging polygons

I am using QGIS version 1.8.0. Sometimes when I cut or merge polygons I get unwanted lines left in them. On zooming in to them they do not appear to be slivers. Is there a way of getting rid of these ...
0
votes
0answers
54 views

Tiles cover Polygon on zoom and move

i'm using OpenLayers.Geometry.Polygon.createRegularPolygon to generate some nice circles. After i draw them to the Map i'm Moving them and after some while they where hiding by some tiles. The circle ...
0
votes
0answers
102 views

How to create sector figure in ArcObject?

How to create sector in ArcObject 10.1? Now I draw one point, two lines, two arks. But I think it is not good. It is differents objects. I need one object. Well. Now I drawing: IElementCollection ...
0
votes
0answers
884 views

How to write a point-in-polygon query for Postgis?

I'm trying to write a query in Postgis which will return all rows where a dynamically changing longitude/latitude point resides within the geometric polygon of that row (in the geom column). This is ...
0
votes
0answers
136 views

Offset a Polygon defined in Lat Lng points by a given distance of miles or km

I am trying apply a positive offset/buffer (enlarge a shape equally from the borders) to a polygon that is made up of a series of latitude/longitude coordinates by a distance that is defined in either ...
0
votes
0answers
98 views

Where can I get polygons for the Municipalities of Puerto Rico?

I'd like to find GeoJSON files to draw the polygons of municipalities of Puerto Rico. It might be nice get the Nokia Map (or any reasonable publicly available map) of the same regions and overlay ...
0
votes
0answers
432 views

How to do a spatial join if QGIS 1.8 keeps crashing?

I am trying to perform a simple spatial join (adding polygon data to points) in QGIS 1.8: target vector: points join vector: polygons take attributes of first located feature keep all records ...
0
votes
0answers
641 views

How to remove small polygons in ArcGIS 10 using extension by Gonza2?

Does anybody have experience and success working with the Remove small polygons from a feature class script tool by Gonza2 in ArcGIS 10? The extension works perfectly in previous version of ArcGIS ...
-1
votes
0answers
39 views

how to determine the direction in point-in-polygon

I am very new to GIS and I am wondering if the following problem could be solved or not. Given that there are three pairs of points(A<-B, C->D, E<-F) Each pair of points has a direction and ...