shapefile Questions

2

Solved

is there any library that is able to read parse a .shp file, preferably on where I don't need to use NDK. I was trying to use GeoTools but i can't seam to get it to work on Android.
Daigle asked 23/10, 2013 at 17:9

4

I am not able to read the shape file. It says no such working directory. !pip install sentinelsat !pip install geopandas !pip install folium from sentinelsat import SentinelAPI user = '****' pas...
Delative asked 26/4, 2020 at 7:2

4

I have a folder with about 100 point shapefiles that are locations obtained while scat sampling of an ungulate species. I would like to merge all these point shapefiles into one shapefile in R. All...
Tripod asked 27/11, 2018 at 19:52

6

Solved

I'm trying to export the results of the scikit-image.measure.find_contours() function as a shapefile or geojson after running on a satellite image. The output is an array like (row, column) with c...
Deforest asked 5/1, 2017 at 14:35

4

Solved

Where can I find old R packages in .zip format ? At CRAN for example : http://cran.r-project.org/src/contrib/Archive/shapefiles there are only sources of .tar.gz files, I have to install old ver...
Wafture asked 24/6, 2013 at 17:25

4

Solved

I'm trying to save Geopandas data frame into a shapefile that is written to a zipped folder directly. As any shapefile user knows, a shapefile is not a single file but rather a collection of files ...
Expressly asked 14/4, 2021 at 8:29

6

I am using mapdotnet services for our gis application to load the shapefiles, and this mapdotnet service wants the proj4 details. I'm getting them from spatialreference.org, but for this projection...
Diathesis asked 30/6, 2010 at 12:13

4

I want to create hexagons on my geographic map and want to preserve the digital boundary specified by the shapefile/geojson as well. How do I do it using uber's h3 python library? I'm new to shapef...
Whopping asked 21/8, 2020 at 5:22

6

Solved

Are there any libraries that I can use to read a shp/shx/dbf/sbx set of files? I mainly need to extract some polygons but something that lets me extract any data that I want would be awesome.
Boycott asked 5/12, 2010 at 5:36

2

Solved

So I'm trying to plot a bunch of coordinates on the earth and track how many coordinates are in each country. I have plotted the map and coordinates fine, but when I try to use the intersection to ...
Spectroscopy asked 22/11, 2022 at 2:38

2

Solved

I'm trying to read a shapefile r = shapefile.Reader(filepath, encoding = "utf-8") but when I try to get a value from the .records() object like: r.records()[0] it returns to me the followin...
Karaganda asked 21/1, 2020 at 17:36

4

I would like to generate shapefiles for H3 hexagons in a specific geographic area. Particularly, I'm interested in the Bay Area with resolutions = 6, 7 and 9. How can I create the shapefiles for th...
Hibernaculum asked 3/7, 2018 at 16:27

1

I am trying to plot points from a df (xyz/latlonvalue) as raster over a geom_sf shapefile. I tried the answers from another post but none of them helped. The data structure is below. First I try ra...
Twobyfour asked 30/9, 2018 at 22:19

2

I am trying to figure out how, using Shiny App, a user can submit a shapefile via fileInput and then map it on a leaflet basemap. I am stuck on the server.R script and unsure how to handle the user...
Rockrose asked 26/7, 2017 at 21:42

2

Solved

I have been trying for the past couple of days to convert a csv to shapefile. I know I can easily do in QGIS or Arc but would like to add this process into my existing R code. So i can read in the...
Grochow asked 8/5, 2015 at 15:17

0

I have read shapefile in a zip format from my S3 bucket successfully through geopandas, but I get error when trying to output the same geodataframe as a shapefile to the same S3 bucket. The code be...
Nikolas asked 20/6, 2021 at 18:9

1

I am trying to ensure I have geodjango properly installed so I can follow this tutorial. I have used Brew as my installer for Geodjango prequisites: postgresql, postgis, gdal, libgeoip. My gdal ver...
Outlaw asked 8/8, 2020 at 3:6

4

Solved

I don't seem to be able to open the zip3.zip shape file I download from (http://www.vdstech.com/usa-data.aspx) Here is my code: import geopandas as gpd data = gpd.read_file("data/zip3.shp") thi...
Dwelt asked 17/1, 2018 at 16:9

2

Solved

I am using {raster} to clip (or crop) a raster based on an irregular shapefile (the Amazon biome) but the output always has a rectangular extent. However, I need the output in the exact same geomet...
Sterrett asked 15/4, 2014 at 2:29

2

I have a polygon shapefile of the U.S. made up of individual states as their attribute values. In addition, I have arrays storing latitude and longitude values of point events that I am also intere...
Edwinaedwine asked 22/12, 2014 at 16:50

3

Solved

I've posted this question on the GIS stack exchange, but it's not seeing much traffic. I'm a GIS user who's been using R for stats for a few years, and I'm excited to see a lot of new GIS capabili...
Curtiscurtiss asked 22/6, 2013 at 15:18

5

Solved

Sorry for not included any example data for my problem. I couldn’t find a way to easily produce an example shape file. Hopefully, experienced users of ggplot can see what I’d like to do from the de...
Spiro asked 27/9, 2010 at 14:55

3

Solved

output_buffer = [] for features in range(0,layer.GetFeatureCount()): feat = layer.GetNextFeature() geom = feat.GetGeometryRef() result = feat.ExportToJson() output_buffer.append(result) When ...
Infusionism asked 30/3, 2017 at 13:17

2

Solved

How can I please convert a multipolygon geometry into a list? I tried this: mycoords=geom.exterior.coords mycoordslist = list(mycoords) But I get the error: AttributeError: 'MultiPolygon' object ...
Copolymerize asked 28/9, 2020 at 9:5

2

Solved

I am working in R with a regular dataframe (df) and a shapefile (map2), the share a common column called CD116FP. df has 103552 lines while map2 has 444 .I am loading the shapefile in the following...
Jawbone asked 17/9, 2020 at 16:50

© 2022 - 2025 — McMap. All rights reserved.