Linked Questions

31
votes
4answers
17k views

More Efficient Spatial join in Python without QGIS, ArcGIS, PostGIS, etc

I'm attempting to do a spatial join much like the example here: Is there a python option to "join attributes by location"?. However, that approach seems really inefficient / slow. Even ...
8
votes
2answers
8k views

Converting huge multipolygon to polygons

I have a shapefile with some huge multipolygons, with 100.000's of parts. What would be the easiest way to split them to singlepart polygons? I'm looking for something like QGIS ”Multipart to ...
5
votes
4answers
17k views

Formula to Check Latitude & Longitude is within Area without Google Maps Api

I got this Example Map SampleMap: http://techinfo.co.id/test/map.php I make Boundary Polygon shape , -6.875165174925262, 107.56293296813965 -6.882663904407988, 107.66730308532715 -6.980818117491586,...
1
vote
1answer
4k views

Performing Spatial Join / match Points from dataframe to polygons using Python?

I have a dataframe with coordinates and other attributes, and a shp file (the whole package with shx and dbf as well) with many polygons of neighborhoods. I need to match each point to which polygon ...
3
votes
1answer
1k views

Find csv lat and long points in a shapefile polygon with geopandas spatial index

I have a csv with two sets of latitude and longitude points, and a shapefile with espg 4326. I want to find which points are inside the shapefile. I've been following the guide here which uses a ...
1
vote
2answers
141 views

How is arcpy.Clip_analysis() so fast against non-arcpy implementations?

I'm using a version of Solution 2 of the selected answer here to build a new shapefile of all points that fall within a given polygon object (i.e. a clip). When run against 27K points, it takes ...
0
votes
0answers
74 views

Finding out which U.S. state a tweet was generated in

I have a database of records with latitude and longitude information (imagine this is a CSV file containing tweets and their geo-coordinates). I also have shapefiles of U.S. states. I want to add ...
0
votes
2answers
49 views

Displaying of lake names similar to Google or OSM maps

This is a lake in Netherlands. Right side of the image : Points contains names of the lake (red label). I performed a spatial join between the point and polygon in order that the polygon get names ...
0
votes
0answers
37 views

Get a column from database and populate the shapefile attributes?

I would like to know how to get copy a specific columns from the database and add that column in a shapefile attribute table? I am open to other better ideas.
0
votes
0answers
36 views

Error while performing an intersection of a point and a multipolygon

I'm willing to build a tiny service that given a point location, it searches within a multipolygon, which polygon object it is intersecting. My current development is defined as this: from osgeo ...