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

1
vote
2answers
28 views

How to get the number of polygons of a geometry in PostgreSQL

How can I get the number of polygons that form a geometry in PostgreSQL? For example U.S map has a lot of islands in addition to its main lands. I want to count these islands plus the main lands.
2
votes
4answers
514 views

Combining different geometry types into same feature class?

I've searched the question in this blog. Maybe I don't use the right words but anyway my problem is not present in any post so I'll try to explain my question by opening a new one. I have a polygon ...
1
vote
1answer
32 views

How to create Spatial Reference System in QGIS?

I have some Attribute and the coordinate and the coordinate reference system. I want to create a DBmanagamet form my spatial data. To do that I want to create one table with name Spa_ref_sys, but I ...
0
votes
0answers
22 views

How can I redistribute points within a polygon using certain criteria in ArcGIS?

I have some points (representing pharmacies) scattered around my research area and I would like to redistribute those points through the area using the following criteria: The points should ...
1
vote
1answer
143 views

Is it possible to draw polygons along Google Maps Polyline?

Web application has option that user draws polyline on Google Map. After he draws it, there is a button 'Add polygons', which should draw polygons along that line, based on some width and height in ...
0
votes
2answers
208 views

Calculating minimum/maximum width for overlay of two polygon strips in ArcGIS or some Opensource GIS

Is there some solution for calculating minimum and maximum width for overlay of two polygon strips? When I clip these strips the result is another strip with variable width about 1 km and 20 km long. ...
0
votes
1answer
25 views

How to transform isolines to isopolygons with postgis?

I have a table a postgis table of isolines that's defined like this: CREATE TABLE myisolines ( gid serial NOT NULL, isotime timestamp without timezone, val numeric(10,4), geom ...
1
vote
2answers
33 views

Using GDAL to get vertices of a multipolygon

I am successfully using GDAL to get the vertices of a polygon from a ShapeFile using .NET code. This link showed me how to do that: ...
1
vote
0answers
18 views

QGIS - Label polygon with different projections

I have a polygon layer projected in an UTM. In properties I checked 'show all labels for this layer'. Does anyone know why the label does not show until zoom 15:1 in QGIS with CRS-4326, while in ...
0
votes
0answers
57 views

Polygon vertex “duplication” in QGIS?

New QGIS user, Brighton 2.5. When creating or moving new vertex points of a recently-cut polygon (hence adjacent polygons) I get "duplicate" or "criss-crossed" lines beneath the former vertex ...
0
votes
0answers
30 views

Polygon of Voronoi cell using scipy.spatial?

I have points (e.g., lat, lon pairs of cell tower locations) and I need to get the polygon of the Voronoi cells they form. from scipy.spatial import Voronoi tower = [[ 24.686 , 46.7081], [ ...
1
vote
1answer
59 views

Is there a Python implementation of a Straight Skeleton algorithm?

I'm looking for a Python package which provides an implementation of a Straight Skeleton algorithm. I'm aware that the open source (C++) project CGALcontains an implementation but it seems like ...
-4
votes
0answers
47 views

How to find a point inside a multipolygon?

I have a table postGIS with a column (type: geometry(Multipolygon)). One of the entries looks like below. How do I convert them into polygons ? or If I have a geo-coordinate , is there a way to find ...
1
vote
0answers
21 views

Inflating the boundaries created with convex hull

I have a set of lan and lat points and have plotterd a convex hull for them using QGIS. A polygon is created along the set of points and plotting them on the MAP. Now I am trying to inflate the size ...
1
vote
1answer
36 views

Split polygon into several smaller polygons in QGIS

I have a layer of polygons depicting response boundaries, I would like to break each of these polygons into a number of sub-polygons. As this is for an exploratory project, the polygons themselves ...
0
votes
1answer
43 views

Geostatistical Analyst Grid to Polygon conversion [closed]

I have interpolated points which created a new layer. After that I converted the layer into a grid (using Geostatistical Analyst's layer to grid conversion). I want to convert this grid into a ...
-1
votes
1answer
24 views

Partitioning Polygons layer to smaller partitions

I Have a huge polygon layer which contains many thousand polygons> i am going to operate an intersect loop for every point in the layer with near polygons. i use ITopologicalOperator op = ...
2
votes
1answer
225 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 ...
6
votes
4answers
722 views

Exporting polygon features to individual image pngs

I have a shapefile with a few thousand polygons, ArcGIS [9.3] (and even PostGIS). I would like to export each of those polygons into its own thumbnail image file without any real context. What is the ...
2
votes
0answers
37 views

Polygon Layer Cleaning with QGIS

I have a little situation with my data. I have vectorized a raster layer, and now I have some issues with the geometries, as you can see in the picture. Most of errors I have are like this one. ...
7
votes
2answers
3k views

How to create a heat map or density map from stacked polygons in ArcMap 10

I have a polygon shape file that has many overlapping features. Each feature represents an area used by polar bears. So some of the polygons overlap and some don't, and there are separate clusters of ...
2
votes
2answers
81 views

ArcGIS lines to polygons without holes

I have a dataset with contours. Depression contours are separate of the normal contours and need to be digitized counter-clockwise. Still, there are usually some faulty ones with wrong direction and ...
3
votes
1answer
124 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
0answers
21 views

merge polygons of single feature QGIS

I am new to QGIS and have done some research on this topic before posting but not sure I found an answer. I have one feature that has multiple polygons (islands of a nation). In reality, there is ...
3
votes
1answer
119 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):= ...
1
vote
2answers
65 views

Extracting/Exporting coordinates from polygons (shape) to text?

Is there any well working way to extract the X and Y coordinates of a polygon from shapefile to some sort of text (preferably csv)? The whole process should be somehow done automated through a ...
-1
votes
1answer
119 views

Optimizing ArcPy code to cut polygon?

There is a lot of nested loops and wondering of ways I could speed up this code? Any ideas? Note: This requires ArcMap 10.2 def cut_geometry(to_cut, cutter): """ Cut a feature by a line, ...
2
votes
3answers
81 views

Summarize the total area of land use polygons within map sheets - how?

I would imagine that at least some of you have encountered similar problems to mine and I´d like to hear how you solved them. I have a map sheet index (a grid as a shape file) covering a large area. ...
1
vote
1answer
24 views

Edit existing Polygons to include several new nodes

I want to define catchments which are quite large from vector contour data. I normally start zoomed out to define the catchment generally as it is easier to see. I then zoom in and refine the ...
1
vote
1answer
69 views

postgis: cluster/group points based on distance

We have a set of thousands of points and want to group all of those which are within 100m distance from each other (to get the centroid from each group). A first idea was to build 100m buffers around ...
3
votes
4answers
124 views

Is there a way of auto_increment for the ID column in QGIS

I'm creating a fictive map and so I need to create lots of points, lines and for sure polygons. Later on I export my data as geojson. But before that I aways have to go and give every element an ...
4
votes
3answers
427 views

How to subtract polygons from polygon?

I have two polygon layers, one is green that represents all non-public right-of-way land. I have another polygon that is just a circle with a specified radius. I would like my output to be a polygon ...
0
votes
0answers
19 views

ClipRaster Class of DotSpatial is problematic

I want to clip a raster data with a polygon extent. Here is my Layers. Polygon layer is colored and raster is black and white. When I cliped using ...
0
votes
2answers
888 views

How to get a list of OSM relations (id numbers) of cities and countries only?

I want to get OSM polygon shapes (GEOJson or WKT) of countries and cities only. I know that it is called a "relation" in OSM and each relation has its own id (New York is 175905, for example). How may ...
4
votes
1answer
4k views

Create point in intersections of two layers

I have two layers. One of them is 'Road_line' and another one is 'forest_shape'. I want to create a point layer that has points in intersection of that layers. I couldn't find any tools for it.
0
votes
2answers
67 views

How do I json_encode without those quotes for the coordinates in leaflet geojson polygon?

I have a field name: 'coordinates' I have the coordinates stored in there: like this: [[ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ]] when I json_encode($geojson); I get ...
12
votes
5answers
20k views

Extract coordinates of polygon vertices in ArcMap 10?

I've got about a dozen polygons in a feature class loaded in ArcMap 10, all in geographic WGS 1984. How do I easily obtain the coordinates associated with each vertex of each polygon in that feature ...
0
votes
1answer
44 views

How to avoid 'join features by location' for polygon to polygon creating extra areas

I am trying to work out which large polygons contain smaller ones within them in QGIS. I have a set of smaller features already defined (dark green below). However, for those smaller areas which sit ...
0
votes
0answers
19 views

Stack profile - polyline length

I have created a polyline that stretches from one side of a beach to the other (vertically). I have lidar data for 2005 and 2013. I am trying to compare the changes in morphology of the beach from ...
0
votes
1answer
30 views

Create polygons from point dataset, where each polygon contains 3 points from the dataset

I'm using qgis Brighton I have a dataset of 1500 points. I want to create polygons, where each polygon contains n=3 points from the dataset. The aim of this is to have clusters of 3 points, which ...
1
vote
1answer
53 views

Overlapping polygons in the same layer

I am working in QGIS on a vector layer where areas are classified using an attribute "typo". The problem I'm encountering is that many polygons are duplicated or overlapping, with the result that some ...
1
vote
0answers
42 views

Is it better to work with non-contiguous or contiguous polygons?

I would like to find width-height of a non-contiguous polygon in order to draw paths within it. My question: Is it better to use a bounding box (contiguous polygon) and then clip keeping my real area ...
1
vote
2answers
71 views

Intersection point of polygon and the line created by two points ArcPy

I have polygon layer. I selected the most distant vertex from centroid (picture: point A). (How to do that is in the answer here: Select the most distant vertex from polygon's centroid using ...
0
votes
0answers
20 views

Drawing polygon with predetermined area

Is there an option in quantum gis to draw a polygon with the specyfied area and is it possible to display dynamically the area when reshaping the shape of the polygon ?
0
votes
1answer
582 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
0answers
25 views

Zipcode to Polygon/Boundry

Is there any API out there which can give me Polygon value for a zipcode? I really thought that it would be fairly easy for me given the number of Maps APIs out there. Either Google Maps API or ...
1
vote
1answer
17 views

Is there any way to know if a polygon is part of another bigger polygon(s) in SQL server?

Basicaly, what I am trying to do is we have a lot of geographical containers like territories, sub-territories etc. and the boundaries of each keep on changing all the times and I have to store the ...
0
votes
1answer
36 views

How to export to all points within Leaflet polygon?

I dont have any idea If it is possible to export all points within a draw polygon. (http://leaflet.github.io/Leaflet.draw/). Thanks in advance.
0
votes
2answers
47 views

Intersection between line and polygon

I have 2 layers in openlayers: first is parcel layer (polygons) and second is railway layer (lines). They are already drawn and all i need to do is when i click on some line, to get intersection of ...
2
votes
3answers
233 views

How to change 0,360 WKT string to -180,180?

I'm reading POLYGON WKT strings using OpenLayers.Format.WKT().read(). The polygons use 0,360 longitudes but my map is -180,180. When I display the polygons on the map they are displayed outside of the ...