A common GIS operation. Used to determine whether a point lies within a polygon's bounds.

learn more… | top users | synonyms

1
vote
1answer
25 views

Creating boundary for multiple point shapefiles that overlay base polygon shapefile?

I have several point .shp files that were geocoded using OpenStreetMap. I located a base map to overlay the point files. I would like to create an artificial boundary based on an 80/20 rule for each ...
2
votes
1answer
12 views

Dealing with spatio-temporal data: sp::over function in R

I have a dataset called carcass, which contains occurrences of livestock carcasses in Norway in the last 5 years (each raw corresponds to a single carcass, which has an ID number, along with ...
1
vote
0answers
18 views

SRIDs do not match for the two geometries in oracle spatial

I am trying to resolve where some points from Point Geometry lying outside the Polygon geometry. I want to filter those points which are lying outside the polygon geometry. I am getting error where ...
2
votes
3answers
120 views

Counting number of points within a grid

I'm trying to count how many floods occur within a given grid cell in ArcMap and I can't figure it out. I've been reading some other posts on here but I haven't been able to find an answer. I have ...
0
votes
1answer
33 views

Assign similar ID to points inside a polygon

I have 3 input datasets of points. What I'm trying to do is to assign a common ID code to the points that are close to each other (no specific distance). I'm using a ModelBuilder to achieve this : ...
1
vote
0answers
5 views

Mapping shapefile attributes to raw data [duplicate]

I have raw address data stored in a sql server database (2012) which comprises address, city/suburb, state and generally country (Australia). I would like to take this address data and following ...
1
vote
1answer
34 views

Checking if point is inside irregular polygon?

I'm using Javascript (https://github.com/substack/point-in-polygon) to test if a point is inside polygon, however I think it's adapted from ...
1
vote
0answers
44 views

Calculating the spatial variance of well density? [closed]

I have wells as a point shapefile and have calculated the spatial density of these wells in 400+ basins (polygons) by dividing the number of wells in each basin (found by doing a spatial join) by the ...
1
vote
1answer
46 views

Postgre/PostGIS - How to find points inside an area

I have a database of clients/users with their coordinates. I would like to select all clients within the marked area. Query: SELECT * FROM clients INNER JOIN polygons ON polygons.polygon @> ...
1
vote
1answer
38 views

Postgis bounding box intersect vs polygon intersect

I am running a point in polygon test for close to one billion points. The size of my polygons are very small (at about 12 vertices each polygon). Therefore, I would be satisfied even with a bounding ...
1
vote
1answer
28 views

Mapping Longitude and Latitude to US state

Is there any database (Gov data or private) or web service that map Longitude and Latitude to US state? I have the specific Longitude and Latitude of a location and would want to identify the state ...
4
votes
1answer
102 views

QGIS Points in Polygon Crashes (with data)

New to QGIS, using 2.14.0 on Windows 7 I am trying to run Vector -> Analysis Tools -> Points in Polygon... on these data. I want to get the PNTCNT and summary statistics on the Amount attribute. ...
3
votes
1answer
67 views

Optimising a very large point in polygon query

I have a national dataset of address points (37 million) and a polygon dataset of flood outlines (2 million) of type MultiPolygonZ, some of the polygons are very complex, max ST_NPoints is around ...
2
votes
1answer
70 views

Bulk loading into pyrtree index

I'm using pyrtree to create an index for a point in polygon operation. I am currently trying to insert 1.8 million rows into the index and it takes more than an hour to do so. I am unable to use rtree ...
3
votes
1answer
35 views

Total of several values in field for points within polygons

I have ~4000 insurance claims for a city. I have made a fishnet and would like to count the number of claims within each polygon. It is easy to count the total number of claims, but I would like to ...
1
vote
0answers
46 views

Need to highlight required area using leaflet [closed]

I need to display a polygon and highlight a city, I added the link bellow https://nominatim.openstreetmap.org/search.php?q=Bambalapitiya&polygon=1&viewbox= as nominant search I need to ...
4
votes
1answer
59 views

Add column to point data of whether point falls inside polygon

This seems like it should be fairly simple, but have been having quite a bit of trouble. I am no expert in ArcGIS for Desktop I have: one layer of points, and 4 polygons, which partly overlap I can ...
0
votes
0answers
96 views

How to find a polygon from coordinates provided

I am really new with PostGIS, and I need to find a polygon providing (lat - long) coordinates. My goal is, get the coordinates x and y passed by parameters, and find the polygon which where this ...
0
votes
0answers
50 views

How to get all postal code using polygon mapping

I am working with polygon mapping in GOOGLE MAPS API 3. in my application i need to get all postal code (Singapore) between the boundaries which i mapped. can anyone suggest me for any possibilities.
1
vote
1answer
56 views

Point in Polygon: Aggregation does not work

I'm working with these data: click here. The task is actually pretty simple but somehow it won't work properly. I have a point and a polygon layer. In most polygons there are a couple of points. The ...
0
votes
2answers
278 views

Point in Polygon - geojson - using Shapely / Python returning incorrect results

I'm trying to test if a point is inside a polygon using this example: http://stackoverflow.com/questions/20776205/point-in-polygon-with-geojson-in-python However, my output says that none of the ...
0
votes
0answers
33 views

Spatial Query - Select features within

Is it possible to know which Point In Polygon algorithm is used when we select points within a polygon? Is it for example the ray-casting algorithm? In addition, is there a definition of the operation ...
4
votes
1answer
87 views

How to get the list of QgsPoint from a polygon Layer in pyqgis

I have a little question about how to manage the points in a layer. from qgis.core import * def run_script(iface): layer = QgsVectorLayer(layerType.Polygon+'?'+crs.psg_4326, ...
0
votes
0answers
56 views

Number of polygons in shapefile too high

I downloaded administrative shapefiles from www.gadm.com/country (China). The Python (Basemap) code below tells me that there are 2365 polygons in it. However the .csv and .dbf files included with the ...
0
votes
1answer
202 views

Spatial Join in R

I'm fairly new to using R for spatial work so bear with me. I have found questions similar to this but nothing that answers this question specifically enough for me to implement it. I have point data ...
2
votes
1answer
62 views

Count unique features of points in polygon

I have a series of points with various fields in the attribute table such as car_id, time etc., I've created a hexagon vector grid, I want to count how many unique car_id's occur in one of the ...
2
votes
0answers
28 views

Tool to help us re-district?

I work for a mid-sized school district and we unfortunately have to close one of our school buildings. That means that the neighborhoods who've been sending their children to the school that is ...
0
votes
1answer
300 views

Python: Point in polygon, boundary and vertex check (ray casting)

So I have written some code to check whether a point [(x,y)] lies within a polygon [(x,y), (x,y), (x,y), (x,y)] but the code fails if the point lies on a boundary or a vertex, I need this to be ...
0
votes
2answers
381 views

How to extract all the polygon coordinates from a SpatialPolygonsDataframe?

I want to do something relatively simply but it seems to be very difficult to do, though I am very new to using R for spatial data so apologies if I've missed something obvious. I have a list ...
0
votes
1answer
54 views

cannot get properties of multipolygon - mapbox/leaflet

I'm currently using mapbox with natural earth and geojson to populate a map with multipoygons and custom markers. Each of these has a set of properties and information that I need to display on click ...
1
vote
1answer
41 views

How can I count points from several buffer distances in PostGIS updating the table?

I have a problem regarding a calulation on PostGIS. I have to calculate how many facilities fall within a given distance. This is not really a problem though, but updating my table is. I have this ...
3
votes
2answers
193 views

Deleting line vertices inside polygon using ArcPy?

Is there a way to automatically delete vertices in line features using a polygon file in ArcGIS so that it wouldn't cut up the line but just straightens the line inside the polygon? The lines are ...
2
votes
1answer
307 views

Can a CartoDB-Torque map be used for polygon instead of a point data?

Can you use Torque for country data - polygons instead of points? Make animated maps with polygon data instead of point data? I would like the color of countries to change over time as a particular ...
3
votes
2answers
63 views

How do I generate grid square polygons from a 5m DTM file?

For my dissertation I have collected point features as coordinates and want to relate their distribution around a lake to elevation to see if there is any pattern/relationship between them. I have ...
6
votes
2answers
210 views

Create large amount of random points in binary raster

I want to create a point vector dataset of 10000 points (or larger) within a binary raster, where the points should be constrained to areas where the raster value is 1. I tried the following steps. ...
1
vote
2answers
139 views

What algorithm allows me to calculate the set of all points inside a polygon?

Imagine I have a polygon, which represents the countours of a building on an integer 3D map (everything is a 1 meter by 1 meter block in that map). In the image below, you see several buildings ...
0
votes
1answer
106 views

Finding which points from dataset within specified boundary using CartoDB?

I'm a non-coder using Cartodb. I've uploaded a dataset that has longitudinal and latitudinal coordinates, and overlayed that with a map with neighborhood boundaries. Is there a way to easily compare ...
1
vote
2answers
84 views

Switch selection of specific polygon

I'm using ArcGIS 10 desktop version. I have a number of polygons, let's say 300, in a layer. Each polygon contains information of schools, ranging from 100 to 250 points, in a separate point layer. ...
4
votes
5answers
384 views

Is there any simple integration for counting points in polygon using python qgis?

Is there any simple integration for calculating count of points in polygon using QGIS-Python integration? In other words, are there any pre-defined functions for points in polygon of QGIS using ...
1
vote
1answer
203 views

Can we count the points in polygon using pyqgis code? [duplicate]

Does anyone know how to calculate the point in polygon from the given points and the buffer output using python qgis. I have every thing loading the data and retrieving the output. But now I want to ...
0
votes
2answers
162 views

Help finding point in polygon via Spatialite with example karst zones data

I'm working on a school project involving Spatialite and point in polygon queries. I've successfully followed this example: http://blog.crazystyle.net/?p=255 I am now trying the same sequence of ...
2
votes
0answers
45 views

split points evenly to neighboring polygons?

I have a crime location data set, containing geocoded crime location points that have been geocoded to streets and street interactions. I also have a census tract shpfile. What I would like to do is ...
1
vote
0answers
48 views

How to join points into overlapping polygons layer?

I'm using QGIS and I am relatively new to it. I have a points layer. Each point is the location of a conflict event and the attributes are the type of conflict, year of the event, number of deaths ...
5
votes
2answers
273 views

Boundary from Points

I have a point cloud and need to process a very detailed boundary around the outer points. Is there a tool in QGIS? Convex hull is not detailed enough. Thank you!
0
votes
0answers
73 views

Is there a way to copy attributes from a point layer in an overlaying polygon layer? in arcGIS10

I'm working with an agricultural experimental setup of 450 areas. Each area is represented of a Polygon in ArcGIS and additional with a point Layer. I determined the specific ID for each point but I ...
0
votes
0answers
51 views

If I use the summary statistics tool to get a count of points within a buffer, how come it provides a value of 1 when that table has no rows?

So I am running a model that provide the number of points within a network buffer. After using the Select Layer by Location tool to select the points, I use the Summary Statistics tool get the count. ...
12
votes
2answers
819 views

How does spatial polygon %over% polygon work to when aggregating values in r?

I'm working on an environmental epidemiology project where I have point exposures (~ 2,000 industrial hog operations - IHOs). These IHOs spray on nearby fields, but the feces water droplets and smell ...
0
votes
0answers
92 views

Convert polygons to optimized lat long radius

I have a research project where I need to search Instagram and Twitter for geo coded data. The APIs allow lat, long, and radius, but I have shape files with polygon shapes and some long lines (think ...
2
votes
3answers
558 views

Counting points of specific type within polygon using ArcGIS ModelBuilder?

I'm analyzing wind farms and wind turbines within ArcGIS Desktop 10.2. My data consists of the locations of individual wind turbines that are associated with a wind farm (let's call it "Wind Farm ...
0
votes
1answer
138 views

List all Points within Polygon using QGIS? [duplicate]

Complete newbie to QGIS and can't seem to find how to do this. I have created a map with 84 different polygons. Then I've imported approx. 8000 points. What I want to do is now query my map and get ...