I am trying to create a PPP in spatstat using my study area (a large polygon made up of individual polygons) from a shape file from GIS. I have been ...
I am trying to create a PPP in spatstat using my study area (a large polygon made up of individual polygons) from a shape file from GIS. I have been ...
I converted a raster to an image and wanted to plot it. However, I then get the following error: I've already tried to find this error with help(pl ...
I'm building a shapefile of states where Alaska and Hawaii are represented as being somewhere south of Texas, for ease of making an illustrative map. ...
I am trying to incorporate labels of provinces, and cities with labels and dots into a South African map.I can get a map with provincial subdivisions ...
I'd like to do an Europe map, so I was trying with this code but I don't really know how it works. Now I was using this code that I've found, I kno ...
i have tried 2 approaches to get the long lat of location. or but both do not work any ideas to get the respectively code without API key? ...
I'm new to geographic data. I've opened and modified the SpatialPolygonsDataFrame rnaturalearthdata::countries50. After using st_as_sf() and st_shift_ ...
In R: In python rpy2, how do I access wrld_simpl? The following code (in Python) fails as follows...package "maptools" has no attribute wrld_simpl ...
I am now doing exploratory analysis and the objective is to plot a quadrat map, determine if there exists complete spatial randomness (visually and us ...
I am quite new to R and am having some trouble setting up my data for some point pattern analysis. What I want to do: conduct a point pattern analysi ...
Im am trying to create a .geojson file in my local repository for this output. I am downloading the file locally, making my adjustments and writing in ...
I'm looking for a bit of Java help here. I am trying to run MapTool on a Raspberry Pi 4. No mean feat -- I've installed ubuntu server, so I could get ...
I want to merge city names to approximate coordinates. I have two datasets. lat-long for cities, called cities. lat-long for observed events, ...
I'm hoping to export a map with a raster plotted on it as a .pdf or some other vector file. For some reason, when I save it as a .pdf or .ps file, the ...
I recently find a problem of snapPointsToLines. It can't keep the attributes of the spatial point dataframe. The example is as below: res only has ...
I'm trying to use the wrld_simple data from the maptools package to plot a Cartogram that involves some European countries based on their Population i ...
I have an earlier post here on drawing US maps using shape file from GADM while at the same time removing color mapping onto the Great Lakes region. T ...
I am using R to draw US map at county level. I downloaded the shapefile for US from GADM. The county-level shape file is "gadm36_USA_2.shp". I then us ...
I would like to rotate multiple polylines based on their given bearing to magnetic north, or 0 degrees. I can do it for a single polyline, but need to ...
question for GIS fans out there. I have two sp objects. A spatial lines data frame (Taken as a clipped version of the OS Roads Vector) and a spatial p ...