All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

getValue() from second order ui.Select in Google Earth Engine

I would like two make two ui.Select widgets. The items of second ui.Select depends on first ui.Select. Then I would like to get values of both ui.Selects using ui.Button. I have drafted a code, but it ...
1
vote
0answers
5 views

Struggling to find a shiny workaround to flush data from $finished while using EditMod in the mapEdit package

This is a crosspost from the mapedit issues github page here. I am attempting to build a shiny app that allows a user to plot a subset of data after selecting polygons using the mapedit package. While ...
0
votes
0answers
10 views

Best Method to Replicate ArcPy Toolbar in PyQGIS

I am trying to build the equivalent of an ArcMap Toolbar in PyQGIS. My toolbar has interactive functionality. For example, in the toolbar below, I cannot access any edit functions until I have ...
0
votes
0answers
17 views

Project raster when some of extent out of range

I have a raster that is in a North America Albers equal area projection. I would like to project this raster to unprojected long/lat, but I get an error. I understand that this is likely because some ...
0
votes
0answers
4 views

Retrieve pixel value using SNAP-engine and Python for specific geographic coordinates

I'm trying to retrieve pixel values in Sentinel-3 data for specific geographic coordinates using the SNAP-Engine. Until now, I transform the geographic coordinates to the corresponding X and Y with ...
0
votes
0answers
12 views

Reordering layers in ArcMap using ArcPy

I am trying to automate a map I create every so often. The map flags counties based on certain commodities, and color codes them based on price changes. I am able to get each layer created, but would ...
-1
votes
0answers
12 views

Exporting cloud masked images from MODIS EVI collection as separate images

I was performing Quality assessment on a collection of MODIS EVI data in google earth engine.using the quality band that is provided by the Modis product. Though when I try to export the images, it ...
0
votes
0answers
6 views

Averaging surrounding cells of raster conditional on values of another raster

I have a raster I would like smooth in QGIS 3.4. For each cell, I would like to average the cells from 20m around the centre cell. However, I would only like to include cells which are higher in ...
1
vote
1answer
20 views

Geopandas errors when using “.within()” in an if statement

I have three dataframes I am working with and want to do the following logic: if dataframe1 in not within dataframe2 but is within dataframe3 then do something first attempt was: if df1['geometry']....
0
votes
0answers
8 views

Normalizing raster reflectance values between 0 and 1 in ArcGIS Pro 2.4.2?

I am using ArcGIS Pro, and I am trying to mine some data from a raster that I collected via UAV (drone) imagery. The multispectral sensor I used consists of 5 different spectral bands, and radiometric ...
1
vote
1answer
18 views

If a ship gave a mayday/SOS call out to a coast guard and sent the lat/lng coordinates where they needed to be rescued, is WGS84 implied or assumed?

Lat/Lng coordinates don't necessarily mean anything without knowing if it's WGS84 vs. something else. If a ship/crew/captain were to send an SOS call out with just coordinates, do they have to say ...
0
votes
0answers
12 views

ArcObjects SDK for .NET Framework with Annual Educational Advanced (ArcInfo) Single Use License

I usually use my organization's ESRI account when at work, but I am now working at my home Desktop PC. On my home PC, I have an ArcGIS 10.6 annual educational license that I do not want to sacrifice. ...
1
vote
0answers
21 views

Using a custom UI for a QGIS processing algorithm script

In QGIS 2.x I have a PyQGIS script that utilises a custom form created in Qt Designer. I could simply call the form and connect a button to a function with the following: class MyWidget(QtGui.QWidget)...
1
vote
0answers
7 views

Adding the Legend title using GetLegendGraphic request in GeoServer to Leaflet

I am trying to load the dynamic legend for GeoServer using GetLegendGraphic request. My GetLegendGraphic URL is something like this, http://localhost/geoserver/wms?REQUEST=GetLegendGraphic&...
0
votes
0answers
11 views

Sentinel-1 missing data gaps between two images GEE

I am trying to export a Sentinel-1 mosaic with the code below. I keep getting this missing data gap between the two images. Even when I export the images separately, and mosaic them myself in ArcGIS, ...
1
vote
0answers
11 views

Applying Landsat scan line correction on a time series

I am currently trying to adapt the scan line correction (SLC) for Landsat 7 on my timeseries. My code is based on the stack exchange question how to do the SLC, but I am not managing to apply it as a ...
1
vote
0answers
25 views

Weird behaviour when intersecting polygons in python Shapely

I'm using shapely to get the intersection between an isochrone polygon and a restriction area my car can't leave. I have a list of restriction areas, some of which overlaps by little, making it harder ...
-3
votes
0answers
33 views

Compute distance from point to class

I'd like to know if it is possible, in lidR, to compute the distance from a point to a class (for instance ground class). The objective is to have the distance to the ground for each points.
0
votes
0answers
13 views

Problem loading image in HTML Pop up in ArcGIS

I am trying to load a small image along with other field in Html pop up but i am getting some problem. I tried using field calculator with Python code "<img src=%s width='300' />" % r'!Location!'...
0
votes
0answers
13 views

Using webmap-package of ArcREST

I'm trying to use the code belonging to the webmap-folder of ArcREST. However, I seem to be unable to do so. In the init.py of ArcREST I noticed that the import of webmap is commented out. When I try ...
0
votes
0answers
16 views

ArcGIS Pro Python Validate and Alter Field Names

I want to check if the field names in shapefile start with a number (or other forbidden character) or if they contain spaces. If so I want to update the names into some which are correct. I tried: ...
1
vote
0answers
33 views

Conditional formatting QGIS Legend

I use QGIS to create surface plots for measurements made in the field. I use the contour plugin. I usually create ~50 contours in order to make a smooth surface. When I use print composer, I generally ...
0
votes
0answers
13 views

WebAppBuilder Developer 2.15 Bug in Filtering?

We have Portal 10.7.1 and WebAppbuilder Developer 2.15 with a Filter Wiget and two expressions, we have the setting for the drop-down set to "Ask for Values" "Values Filtered by all other expressions"....
1
vote
1answer
28 views

Reprojected output data has different shape than input

I am using the python gdal library and the warp method (osgeo.gdal.Warp) and I have it set up like the below. warped = gdal.Warp( destNameOrDestDS=destNameOrDestDS, srcDSOrSrcDSTab=...
0
votes
1answer
16 views

PyQGIS standalone script error message for gdal_merge: “Incorrect parameter value for INPUT”

In my standalone PyQGIS script I would like to merge two raster layer. "zero" and "raster". Both variables are definitly QgsRasterLayer objects. This is the function: def merge(self): zero = self....
1
vote
0answers
20 views

How to clear the cache of QGIS 3.10 with Python?

I want to add new attributes to a new and empty shapefile layer. The problem is, that QGIS 3.10 takes attributes from the shapefile layer which was used before when loading it to the GUI. So there ...
1
vote
0answers
11 views

Change the hover contents of the control navigation buttons in Mapbox GL

On my Mapbox map, I added the navigation control elements proposed by the Mapbox API (zoom and rotation). map.addControl(new mapboxgl.NavigationControl()); When hovering over these buttons, a ...
0
votes
0answers
17 views

SAGA Tool clip raster by mask layer for QGIS standalone script

In my PyQGIS standalone script I want to use the SAGA Tool "Clip raster by mask layer". I have tried to following. def clipRaster(self): raster = self.getRasterLayer() vector = self....
0
votes
1answer
22 views

Extract highest quality MODIS pixels in Earth Engine

Based on the MYD09GA QC_500m layer description below: MYD09GA LAYERS info QC_500m: 500m Reflectance Band Quality Bit 2-5: band 1 data quality four bit range 0000 (0): highest quality I need to ...
0
votes
1answer
19 views

Clip multiple line layers with several polygon layers at the same time

I am in the process of making the database for 9 consecutive years in 150 local administrative units. To do that I have to clip 9 line layers (roads for 9 years) with 150 polygon layers. So far I ...
1
vote
0answers
21 views

Why is an original ArcMap-project twice as big as its copies?

I'm currently working with ArcMap 10.7. Therein, I regularly do File > Save a Copy of an existing ArcMap-project to create a copy for another ArcMap version. However, the file size of the original ...
0
votes
0answers
19 views

Danger of exposing internal server name when allowing internet access to AGS REST services? [closed]

I have recently asked my network administrator to set up our apache2 proxy server to allow public internet access to a single ArcGIS Server Folder from which I would like to publish data. I expected ...
0
votes
1answer
17 views

PostGIS shp2pgsql command not recognized

I'm new to PostgreSQL and PostGIS, but I'm eager to learn. I'm currently following an online course. The problem I'm facing is the fact that I can not get the shp2gpsql to work in my SQL Shell or ...
1
vote
1answer
22 views

Dissolve ArcGIS Pro Python doesn't take string variable for field list

I try to dissolve layer having multiple fields statistics calculated. I prepared a string variable which has all the information in it. When I paste printed variable into dissolve it works. However I'...
0
votes
0answers
10 views

QGIS as OGC Data Server only returns white box

I just setup my QGIS Server as a OGC Data Server following: Installation on Debian-based systems. When I try to access it and retrieve my QGIS project using the following link http://localhost:8080/...
0
votes
1answer
31 views

Converting polygon to raster in QGIS

This seems like a simple question but I can't solve this issue. I want to convert the following Polygons (see Image) into Raster using QGIS and used the Tools 'rasterize' from QGIS and SAGA as well ...
1
vote
0answers
17 views

OpenLayers Degrees to radians -180 -> +180

I need to use OpenLayers to rotate polygons directly with the mouse. For this I use ol-ext which works perfectly. My problem: I store the angles in degrees in the database and I need the conversion ...
1
vote
0answers
28 views

Adding features to existing layer through CSV file in PyQGIS

I have an existing QGIS project that was prepared with the QGIS GUI application. It contains several layers, one which I need to update with pyQGIS. The project data is stored in an sqlite database. ...
0
votes
2answers
23 views

Two-value raster to generalized polygons (join pixels close together into one polygon) with short computation time in QGIS or ArcMap [closed]

I want to create application map for agriculture based on NDVI map. I have theoretical way how to do it. My raster has two values (1 - red, 0 - green), the raster is quite big (100 hectares with 6 ...
1
vote
1answer
28 views

Winkel II projection transformation in QGIS 3.12

Currently, in QGIS 3.12 the Winkel Tripel projection transformation is implemented and working but Winkel II, which is also implemented, is not working. This is the fact or there is a bug?
1
vote
0answers
22 views

Changing pan map symbol in QGIS 3.12

I work with QGIS 3.12 and the default pan map symbol is I try to find a way to change it into an arrow.
1
vote
1answer
24 views

Categorizing most often attributes in column

I have a shp point layer with a "USER_ID" column. There is about 19 thousands features. Some of "ID"'s enters the list only ones or twice, but some of them enters 50 or more than 100 times. I need to ...
2
votes
1answer
35 views

Set DPI in QGIS Atlas

How can I set DPI (or reduce quality in some other way) in QGIS 3.12 when exporting Atlas as PDF? My output is 300 MB for 89 A4 pages and the quality/resolution is unnecessarily high. I can't find ...
0
votes
1answer
12 views

How can I label feature using sld file in geoserver for symbols?

I generate the sld file from Qgis and upload it to the geoserver. My sld file looks like following, <?xml version="1.0" encoding="UTF-8"?> <StyledLayerDescriptor xmlns="http://www.opengis....
0
votes
0answers
11 views

Google Earth Engine code editor: classification: Layer error: No valid training data were found

I am new in GIS and I am trying to train a classification in Google Earth Engine code editor and facing an error when I train the classification I could not explore the error. My code is : var ...
2
votes
1answer
34 views

PostGIS: Finding duplicate label within a radius

I have data in PostGIS that have value and geometry. If there is a same value within let's say <10 m, I want to detect or remove that value from my table. Here is the small example: create table ...
1
vote
1answer
28 views

Is it possible to create specific-sized watershed in a GIS environment? [closed]

I used the GRASS gis module to design catchment area with a minimum size of 2 kmsq. However, I would like to know if, in addition to the minimum size, I can limit a maximum size of 5 kmsq for them. In ...
2
votes
1answer
16 views

Usage of geometryFilter in Planet.com API?

Question: Where to put the GeoJSON filter AOI into the existing Python script I wrote to constrain (or clip) the image download? Setup: I was recently tasked with writing a Python script to download ...
0
votes
1answer
20 views

Create training samples for eCognition [closed]

Most of the tutorial videos, they simply add those training samples. Looking at the attribute table they seems like, they in some specific format. Like all the training samples belonging to perticular ...
1
vote
0answers
11 views

AET Calculation with MOD16A2 Monthly and Annual?

How can I calculate Actual Evapotranspiration by using Raster Calculator in ArcGIS with MOD16A2 monthly and Annual images?

15 30 50 per page
1
2 3 4 5
2451