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
1answer
22 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 ...
1
vote
2answers
94 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
1answer
122 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
176 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 ...
4
votes
3answers
509 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 ...
1
vote
1answer
90 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 ...
4
votes
3answers
123 views

Select the most distant vertex from polygon's centroid using ArcPy

I have a poligon and the polygon's centroid. I want to select the most distant vertex from centroid (picture: point A). I used arcpy.FeatureVerticesToPoints_management to create a feature class ...
0
votes
2answers
60 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 ...
1
vote
0answers
31 views

Calculate Sum on One Field Within Several Different Point Feature Classes?

I have several point feature classes (eg: the location of mall, liquor stores, etc), that I need to get the count of within a specified city district. Basically, I want to great a modelbuilder model ...
2
votes
1answer
93 views

Is there a way to give the drawing red polygon a higher alpha channel

Is it possible to set the alpha channel a bit higher when drawing? I don't mean the alphachannel of a already finished polygon, that's possible for sure! I mean the red area. It's really stressful ...
1
vote
2answers
69 views

How to separate polygons within layer and measure line through each polygon?

I have 3 layers of polygons, each layer with multiple polygons spatially separated, although the layer only counts it as 1 polygon. I have a layer with a line going through these polygons. What is ...
4
votes
2answers
73 views

Why does qgis give multiple centroids per polygon?

I have a shapefile for the boundaries of European NUTS regions, and I would like to compute the centroid for each of those regions. When I do this in QGIS (2.6.1 on OSX, using polygon centroids from ...
2
votes
1answer
73 views

Simplify a polygon dataset with a minimum distance between the new vertices

I would like to simplify a polygon shapefile where the resulting output has a minimum distance of 5 kilometres between the new vertices. We have ArcMap 10 on an ArcView license, FME and QGIS. I have ...
0
votes
1answer
49 views

Merge two points of two different polygons to get one polygon at the end

I would like to join points from two different features. I already searched for plugins but so far but didn't find one working plugin or solution for my task. So here is a picture of 2 ...
0
votes
0answers
33 views

line features show up as polygons in GeoServer

the layers are located in a postgreSQL Enterprise Geodatabase. I created a new line feature class and added it to the database and then added it to geoserver. But in geoserver it comes in as a polygon ...
2
votes
1answer
42 views

Is there a way to disable right-click in QGIS when drawing

I would like to know if I can disable the rightclick in QGIS. The issue is that I draw polygons that are kind of big, let's say 4000 polygon points. And as you know rightclick brakes the drawing ...
1
vote
0answers
45 views

Merge zip code based polygons to create sales territories

I have access the full data set of the KML file shown here: http://www.maptechnica.com/downloads/samples/mt_2014a_kml_us_zcta5_sample.tar.gz Here's what it basically looks like: ...
0
votes
1answer
65 views

Converting polyline data to polygons?

I am trying to convert some polyline coastline data into a polygon that I can use to clip/subset back other data sets by this polygon. There are some small gaps in the coastline data, which ...
0
votes
0answers
59 views

Is it possible to calculate area of polygons from GPS points without POSTGIS

I am new with GIS. Assume we use the UTM30N coordinate system. Is it possible to calculate an area (say a square box) by the 4 given points? (assume the points are in order, and the coordinates are ...
5
votes
2answers
91 views

POSTGIS get the max length of the polygon and the average width

I have in postgis a polygon type table. I need to calculate automatically the maximum length of the polygon: And the second one is the average width: I am doubting rigth now if this is possible ...
3
votes
4answers
169 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 ...
2
votes
2answers
231 views

How to count point shp inside polygon shp using Python?

This is my first time here, so I'll try to be as specific as I can. What I'm trying to do is found out which polygon contains the most points and write the result in a text file. Here is my script : ...
1
vote
0answers
26 views

Select a polygon which is just partly member of another polygon with its area of the other polygon

I need to generate random points within geometries, which works quite good, but there are some small errors. Take the picture below. There are some greenish and redish Polygons(?!) which do not have ...
1
vote
0answers
25 views

combine multiple geojsons

I have several geojsons which contain polygons. But the polygons are reaching over other geojsons. When I import them into lets say Qgis, the polygons, which are distributed among several geojsons are ...
2
votes
2answers
96 views

OGR DXF Closed Polyline Conversion

I'm trying to convert closed polylines into polygons using ogr2ogr from dxf to mssql. Here It says that polylines are converted into POLYGON if they are closed, but I always get the type LINESTRING ...
2
votes
1answer
44 views

Error converting a raster to polygons

When I am converting a raster using the polygonize tool, I get this error: ERROR 4: 'C:/Users/Vitor/Desktop/Cartografia EE_Portimo/COS RASTER/cos_raster_reeditada.tif' does not exist in the file ...
2
votes
0answers
60 views

R Spatial: Trouble with disjointed polygon that has self-intersections

I have a shapefile which represents the areas of a city which have higher risks of flooding than others. This is a spatial polygon object however the polygon is disjoint and not connected. I also have ...
0
votes
1answer
56 views

.net arcobjects draw polygon(rectangle) can not start at the preferred location

I am using the sample code (draw a polygon on the screen) provided by Esri but it seems I cannot start the drawing from a location I want, every time it starts at wherever the function(or tool) ...
0
votes
1answer
64 views

Testing correlation between two polygon features

I am working on a project looking at county boundaries for the state of California. I have 2 polygon datasets with this same geographic boundary, and these datasets, when mapped individually, visually ...
0
votes
1answer
29 views

How to use Clip_analysis (in_features, clip_features, out_feature_class, {cluster_tolerance})

I draw Polygon any, how to clip it and save to shapefile. .png
1
vote
2answers
49 views

postgis - get nth point of a polygon

I would like to create a postgresql function to correct geographic coordinates inside a polygon that are outside the -180 to 180 range of longitudes. To do this, I thought I would create a function ...
1
vote
0answers
37 views

QGIS polygon - filling a polygon gap

I do not use Python, I'm afraid. I need to fill in a polygon gap for this map of Scotland. Here is the gap: How do I fill in this gap? I have already tried drawing another polygon inside the gap ...
2
votes
0answers
41 views

Error ET Geowizard Clean Polygon() takes no arguments (3 given)

I want to clean polygon feature classes with ET Geowizards (clean polygon) because I cannot find any tool within ArcMap (ArcInfo) that does the same. I have really small gaps within the polygons (but ...
1
vote
2answers
43 views

how can we save vector layer as a file in openlayers

Im using mapserver + openlayer for GIS API and im new to GIS. I'm done with drawing line, point and polygon features in openlayer. but not being able to save it in some shapefile afterwards i got to ...
1
vote
2answers
53 views

Where to find neighborhood boundaries for Israel?

Is there a place that has neighborhood boundary data for Israeli cities as polygons? I have searched the web without results.
1
vote
1answer
255 views

r - increase speed of crop, mask, & extract raster by many polygons

I'm extracting the area and percent cover of different land use types from a raster based on several thousand polygon boundaries. I've found that the extract function works much faster if I iterate ...
1
vote
1answer
141 views

postgis calculate distance between point & polygon/circle

By basic requirement is to find the nearby fences to a particular point(user lat long alt) within a N meters. I have list of polygon/circle in DB with 900913 srid ...
1
vote
1answer
98 views

Convert polygon to point with QGIS [duplicate]

I work with QGIS and I tried to convert polygon into point. I need points all over the perimeter of the polygon. I saw several answers like: Problems converting polygon to point but I didn't see an ...
1
vote
1answer
32 views

Calculate raster mode with r.mode - problem with decimals

I am working with a raster file that represents the percentage of vinyards by commune (e.g., municipality) in a region in France. The statistics were calculated for each commune based on surveys from ...
0
votes
0answers
20 views

Clip Multipatch Feature class with Polygon Feature Clas

i have city_gml data with 3D buildings lod2. I now want to extract the buildings which intersect with a polygon feature class and create a new multipatch feature class. How can I do that? Thanks in ...
2
votes
2answers
60 views

Create lines from polygon borders with polygons attributes

I have a shapefile of polygons that border each other perfectly, each with a numerical attriubte. I'd to create a shapefile of lines, where every line is created from the border between two polygons, ...
0
votes
0answers
28 views

polygon will not project correctly into project

I have a project that one shapefile( I believe created in arcgis) layer mysteriously quit projecting correctly. I am using Q 2.6.1 On the fly is enabled, coord system set at EPSG:4326 - WGS 84, when ...
1
vote
2answers
84 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 ...
2
votes
1answer
90 views

Merge polygons in CartoDB?

I created this map in cartodb: http://cdb.io/1xBj4Xo Now I have to merge some of the districts to a bigger district. Is it possible to do this in Cartodb? Using a SQL query for instance? I can also ...
2
votes
2answers
121 views

How to mask labels in QGIS using an inverted polygon?

I created a file consists of a raster (snow load) and a vector with municipal boundaries. I added a vector with the contour lines of the snow load. Labels represent the snow load (kN / m2). With the ...
0
votes
0answers
24 views

Outlining multiple KML objects

I have a KML file (generated from Census data) that outlines several contiguous counties. How do I go about getting KML data to draw a border outlining the combined area of the counties instead. My ...
1
vote
1answer
67 views

Cover a polygon with fixed size squares

Can you please advice me of an algorithm (which I can implement in a Java) to cover some polygon (not exact cover) with squares of certain size (aXa squares)? The cover doesn't have to be exact - ...
1
vote
1answer
70 views

CartoDB - How do you do a line fill of polygons in CartoDB?

I would like to show overlaping layers with hash marks, is this possible by editing the css in some way?
0
votes
1answer
66 views

Merging polygons which have different coordinate system with map coordinate system?

in order to merge the polygon I go to editor tool and then select merge, however in my case when I want to edit it is giving me this statement" the layers are in a different coordinate system than the ...
0
votes
0answers
48 views

Unit of Geotools' getArea function

I have Polygons with WGS84/EPSG:4326 coordinates (like 13.57933804767844,52.5126298984133) and use the Polygon.getArea function to obtain the area of the polygon. But the result I get is something ...