gis

Large .img file processing in R (GIS)

扶醉桌前 提交于 2021-02-16 13:44:07
问题 I am working with U.S. National Landcover Dataset (NLCD) to classify habitat type at more than 150 sites across the northeast U.S. The dataset is very large (15GB) so I cannot upload it here, but it comes in .img format at 30m resolution. I have GPS coordinates for the center point of all the sites. I would like to be able to extract the proportion of landcover classes in a 1 square kilometer around the point. My questions are: 1) How do I upload .img files into r? 2) How do I extract the

Filter Folium Map based on marker color

拥有回忆 提交于 2021-02-11 07:57:22
问题 I am mapping markers that have a row called "marker_color" indicating "red", "yellow", and "green" based on other column values. How can I add a filter option to the corner of my map that will allow me to only show one, two, all, or none of the markers based on color? Basically, three clickable radio options to render the three colored markers. Currently, I am mapping all markers like so from my sales_colored dataframe: basemap2 = generateBaseMap() for index, row in sales_colored.iterrows():

Maximo: Show user's assigned workflow work orders in map

谁说胖子不能爱 提交于 2021-02-08 11:39:42
问题 A user has multiple workflow work orders assigned to them in the Start Center: I want the user to be able to click a button (or link) in the Start Center that will: Open a Maximo map (Maximo Spatial). Show the assigned work orders on the map. Allow the user to click a work order on the map, which will open the work order in the Work Order Tracking application. How can I configure Maximo to do this? Maximo 7.6.1.1 来源: https://stackoverflow.com/questions/57937719/maximo-show-users-assigned

Maximo: Show user's assigned workflow work orders in map

吃可爱长大的小学妹 提交于 2021-02-08 11:39:39
问题 A user has multiple workflow work orders assigned to them in the Start Center: I want the user to be able to click a button (or link) in the Start Center that will: Open a Maximo map (Maximo Spatial). Show the assigned work orders on the map. Allow the user to click a work order on the map, which will open the work order in the Work Order Tracking application. How can I configure Maximo to do this? Maximo 7.6.1.1 来源: https://stackoverflow.com/questions/57937719/maximo-show-users-assigned

How to set fixed size for 'basemap' subplot when iterating through rows?

女生的网名这么多〃 提交于 2021-02-08 10:14:42
问题 Please forgive me as this is my first go at a Python 'Project'. A quick overview: I am trying to produce maps (MatPlotLib figures) by iterating through a GeoPandas dataframe of a GeoJSON file containing the boundaries of active subdivision phases in order to show the progress of construction of the individual lots in each subdivision phase. We normally did this manually in GIS, but I figured I'd take a stab at automating some, or all, of the process. I am also attempting to do this without

overlay rasters at a given value

余生颓废 提交于 2021-02-08 06:15:30
问题 I am relatively new to using R and working with GIS data. I am trying to create a function to overlay two Raster layers, only when one of the rasters (in this case raster1 ) is at a certain value (in this case 0). I have tried numerous options in doing this but they don't seem to work. My last attempt is provided below, and it runs but the output just says NULL and it does not plot. library(raster) raster1 <- raster(ncols=10,nrows=10) raster2 <- raster(ncols=10,nrows=10) values(raster1) <-

overlay rasters at a given value

浪尽此生 提交于 2021-02-08 06:15:10
问题 I am relatively new to using R and working with GIS data. I am trying to create a function to overlay two Raster layers, only when one of the rasters (in this case raster1 ) is at a certain value (in this case 0). I have tried numerous options in doing this but they don't seem to work. My last attempt is provided below, and it runs but the output just says NULL and it does not plot. library(raster) raster1 <- raster(ncols=10,nrows=10) raster2 <- raster(ncols=10,nrows=10) values(raster1) <-

How to insert a HTML into Excel

眉间皱痕 提交于 2021-02-08 06:12:41
问题 I have a map on a website which changes with time (interactive) and I would like to insert it on the excel sheet. I am using this code but it does not show the HTML: Private Sub Mapit() URL = Sheets("sheet1").Cells(1, 1) //Here there is written the link to the website that want to show on excel Sheets("sheet1").Pictures.Insert(URL).Select End Sub Is that possible? I guess that Sheets("sheet1"). Pictures .Insert(URL).Select is the problem but I am not able to find which is the correct way.

How to insert a HTML into Excel

﹥>﹥吖頭↗ 提交于 2021-02-08 06:09:16
问题 I have a map on a website which changes with time (interactive) and I would like to insert it on the excel sheet. I am using this code but it does not show the HTML: Private Sub Mapit() URL = Sheets("sheet1").Cells(1, 1) //Here there is written the link to the website that want to show on excel Sheets("sheet1").Pictures.Insert(URL).Select End Sub Is that possible? I guess that Sheets("sheet1"). Pictures .Insert(URL).Select is the problem but I am not able to find which is the correct way.

C#: How to determine if a coordinates is in the continental United States?

回眸只為那壹抹淺笑 提交于 2021-02-07 14:25:21
问题 I am getting coordinates - lat/lon and I want to check if these coordinates are in the continental United States or not. Is there a easy way to do it in C#? I can convert the coordinates into MGRS or UTM. Thanks! 回答1: Oh wow, they have it just for you: http://econym.org.uk/gmap/states.xml All the coords of the US states! Build up a polygon and apply any polygon-contains-point algorithm. The classic algorithm is ray-casting, and its even pretty simple. Let me know if you have any trouble with