All Questions

1
vote
1answer
23 views

Clipping Vector by Custom Raster Extent in QGIS?

I have a raster image (elevation map from DEM) where I have limited the rendered elevation to only 3,500' and higher. I would like to convert the boundary/extent of this rendered image into a vector ...
0
votes
0answers
10 views

Trigger click on geoJSON layer on dragend

I have a map where users can click on municipality polygones and the lat/lon values of the clicked position as well as the respective municipality name are saved in form fields for later use. I want ...
0
votes
1answer
26 views

How to add projected point coordinates to attribute table?

I want to get the projected coordinates of each point into my attribute table? The software which I want to use can only compute Cartesian/projected files, and not data in lat long or any other kind ...
1
vote
0answers
21 views

Eliminate irrelevant points based on time and distance

I'm collecting raw GPS points from android device for tracking, now when i'm creating a linestring based on the points i collected there are some points which makes no sense (due to GPS fluctuations). ...
2
votes
3answers
24 views

Extracting coordinates of segments in raster from TIFF image?

I'm working with the attached tiff file and I am trying to extract the xy coordinates of the green lines. so far I saved the image as raster stack, and this specific image is from a layer of that ...
1
vote
1answer
12 views

Polygons vs MultiPolygons in Google Earth Engine, labelling and reducing for each Feature

This question is a specific application of a previous question I want to: Generate different groups of polygons (each belonging to a zone) Each polygon inside a zone would have a label that ...
0
votes
0answers
12 views

Manually Change File Creation Date of SSF File

I have read that with the utility of GPS Pathfinder Office software called "Check SSF files" you can change the date of creation of such files, checking the option "manually alter the GPS week". Well, ...
2
votes
0answers
20 views

QGIS install on OSX with homebrew: “You have other linked versions!”

I have an OSX Mojave setup where I've already installed PostGIS and GDAL using Homebrew. Now I'd like to install QGIS. I'm trying: brew install qgis But... I'm getting lots of warnings of the form: ...
0
votes
0answers
23 views

Field calculator not working with division command

Really do not understand what is up. I am able to sum two columns, but unable to divide them. I selected out any entries with "0". Nonetheless, a simple division command in the form of ([a]+[b])/[...
0
votes
0answers
20 views

Installing QGIS on OSX: “QGIS requires Python 3.6” but 3.6 is already default Python

I'm trying to install QGIS on OSX Mojave from the official installer. I have system Python 3.6 installed, as the default: $ which python $ ls -al /usr/local/bin/python lrwxr-xr-x 1 me admin 44 18 ...
1
vote
1answer
23 views

Using GDAL Warp results in odd pixel sizes and gaps

I am mosaicking one meter and three meter rasters to two meters in Python with GDAL Warp using the following code: cl_string = "-of GTiff -co COMPRESS=LZW -tr 2 2 -tap -r near -overwrite \ -multi -wo ...
1
vote
1answer
14 views

Closest Facility routes do not align with network dataset

I am running both Service Area analysis and Closest Facility analysis using the same network dataset, StreetMap Premium 2017R3. The service area lines exactly line up with the underlying street ...
0
votes
0answers
21 views

Change in the water body area for the last five years using Google Earth Engine

I am new to JavaScript and GEE and I want to carry out a task which involves 'finding out the change in the water body area for the last five years (pre and post-monsoon) using Landsat or Sentinel ...
0
votes
0answers
7 views

configuration file not found

Every time at startup this message shows (and reappears a second time after clicking it away). And everytime I quit QGIS 2.18 the same message shows. How do I get rid of it ? I imagine it has to do ...
2
votes
2answers
92 views

Source for Esri sample data from 911 Hot Spot Analysis

I was trying to replicate the Hot Spot Analysis (Getis-Ord Gi*) from Esri, but cannot find the shapefile, like the "911Count.shp", "911HotSpots.shp", etc. Can somebody tell me where I can download ...
0
votes
0answers
16 views

Kernel Density Estimation Weighting Factor

I dont understand where is this weighting factor coming from, does it need to be in the quakeLyr in the attribute table named with "mag" or? ##Now, we can run the kernel density estimation algorithm ...
0
votes
1answer
7 views

Using Soil Moisture dataset with Google Earth Engine? [on hold]

I am new to the GEE platform. I used recently the datasets: ee.ImageCollection('NASA_USDA/HSL/soil_moisture'). It was going well but the last few days I am getting an internal server error (see the ...
0
votes
0answers
10 views

Extracting surface reflectance values of stratified sampled points in Google Earth Engine

I created 400 stratified sampling points (100 for each of the four classes) using this script: https://code.earthengine.google.com/cbba16d87066b45e61e7d2f7e06bd5c5. Then I exported the result as an ...
1
vote
2answers
25 views

Inserting nodata value using GDAL?

I'd like to edit the nodata values in several raster files, but big number of these file doesn't have any nodata value defined, there is nothing to edit. I'v tried the gdal_translate -a_nodata ...
1
vote
0answers
29 views

Output layer doesn't get created [on hold]

Why isn't my heat layer valid and I don't get a .tif in this location (this location exists 100%)? Code below: output = "D:/QGIS_Project_New/heat_map_last.tif" heat = QgsRasterLayer(output, "Heatmap")...
-2
votes
2answers
34 views

Seeking data for spatial interpolation?

Can someone point me to a Kriging dataset? If it is a natural data, it would be great! (Such as rainfall, porosity, soil-density, atmosphere-concentration, etc. ), temperature observations.
0
votes
0answers
22 views

SDO Oracle Table not recognized as Geometry in QGIS

I can connect to the Oracle Database with QGIS but spatial table/layers are not recognized as such. I have read the following in the QGIS documentation: Normally, an Oracle Spatial layer is ...
2
votes
0answers
22 views

Dissolve Line Strings to one string - “No Shapely geometry can be created from null value”

I have a layer with 7000 LineStrings, all represent bus routes: It seems that all the bus routes are contiguous, but I'm not sure of it. I'm trying to use python shapely to dissolve all those ...
0
votes
0answers
11 views

Convert DWG to Shapefile Using FME and R

I converted a DWG file to an ESRI Shapefile using FME Workbench. Now I wish to create an elevation raster. I'm not sure how to extract the elevation info. library(sp) library(raster) # https://www....
2
votes
1answer
18 views

Raster calculator - set default output path - QGIS 3.4.6

Raster calculator: How can I set the default output folder? By default it's set to "C:\Program Files\QGIS 3.4\bin" I'm using QGIS 3.4.6
0
votes
0answers
18 views

Error in FillSinks with Python

I'm trying to use FillSinks from ArcHydroTools with Python My code is: >>> import arcpy >>> import ArcHydroTools >>> fill = arcpy.GetParameterAsText(0) + '\\fill' >>...
0
votes
1answer
26 views

Open the popups of all markers that are visible on the map with a zoom > 10

I need to open all the markers that are visible on the map at Zoom > 10. I am using leaflet.markercluster plugin. Init map: initMap() { this.map = L.map('map', { center: [55.55, 37.61], ...
1
vote
0answers
27 views

Changing the field colour/design on a QGIS 3 QT attribute form?

I have problems with changing the physical appearance of a custom attribute form (QGIS 3, Windows 7). A custom attribute form can be designed, for use in QGIS, using QT / QT Designer. In QT Designer ...
-1
votes
0answers
8 views

org.geotools.data.wfs.internal.WFSException [on hold]

I upgraded recently to geotools 21 since am working with java11 and I'm getting now the following error when doing anything on my FeatureCollection which wasn't there using the older version of ...
0
votes
0answers
15 views

Problem with Fill Sinks - ArcHydroTools

I'm getting use FillSinks of ArchHydroTools with Python but some problems are happen My code is: Import arcpy Import ArcHydroTools ArcHydroTools.FillSinks('projectraster.tif','fil.lyr', "10", "...
-1
votes
0answers
11 views

How to setup geofencing in MySQL? [on hold]

Right now I am working with PostgreSQL database and want to work with the MySQL database to setup geofencing. How can I do that?
3
votes
1answer
35 views

Cheapest path through polygons and lines from point to point

I want to find the cheapest path or the least cost path from one point to another point. The points are part of a vector map and do not lie on a network. All features being part of the map have ...
1
vote
0answers
13 views

Raster correlation: Error (arg6) in raster.modified.ttest (R)

I am performing pairwise spatial correlation of 6 rasters using the raster.modified.ttest() function in R, as per this very useful post. I have consistently had the following error with my data; ...
3
votes
1answer
36 views

Central deployment of startup.py in QGIS

In QGIS 3 on Win10 we use a startup.py script for setting up e.g. database connections and a couple of other things, residing in C:\Users\me\AppData\Roaming\QGIS\QGIS3 What we are after is to ...
0
votes
0answers
19 views

Using Modis Reprojection Tool (MRT)? [on hold]

I am trying to use MODIS (Aqua) images but I want it to be geo-referenced using the MODIS Reprojection Tool. The problem is USGS has recently removed it from their website. Does anybody here have a ...
1
vote
0answers
9 views

Creating Scale field based on polyline length (ArcMap)(Python)

I'm playing around with data driven pages, and have a polyline feature class that I'm using as my index. Now, because the lines are all of variable lengths I can't just use the default settings as ...
0
votes
0answers
16 views

How to use PostGIS to get the exact polygon outline of a pointcloud patch (pcpatch) [on hold]

How can I use PostGIS or PostgreSQL to get the exact polygon outline of a pointcloud patch (pcpatch)? It seems there is no pc function to do this. The documentation on pc functions are quite limited....
5
votes
2answers
35 views

Distance to a ridge as function of angle (Python)

No success googling this for a while, but likely I just don't know correct terminology. Also, tell me if you see another exchange more suited for this. Given: A boolean 2-dim array that stores if a ...
0
votes
0answers
6 views

Repoint enterprise geodatabase connection using ArcPy in ArcGIS Pro

I have an ArcPy script that changes the connection parameters for every item in a layer file from a SQL Server connection to a PostGIS connection. This script works perfectly in ArcGIS Python version ...
0
votes
0answers
24 views

Leaflet markers at same geo location (ClusterGroup)

I have a map created with leaflet with different markers. Sometimes the markers have the same (1:1) geo position. I have already tested the great addon clustergroup, but I need the function to be ...
1
vote
0answers
29 views

Download data on click via Leaflet webmap [on hold]

I am working on a webmap which will allow users to click on a portion of the globe and download associated river data. Here is my code so far. <!DOCTYPE html> <html> <head> <...
2
votes
1answer
39 views

Get OGR driver Name for QGIS VectorLayer

Is it possible in the Python script to get the name of the OGR driver (for example, "Esri Shapefile" or "MapInfo File") for the QGIS vector layer? __ QGIS 2.18
0
votes
1answer
22 views

is it possible to show all labels of WMS layer at any extent without SLD ol5?

I am showing WMS layer that shows label on it by defining SLD in GeoServer. The problem is that is is not showing all labels at particular extent. But when I zoom in, all labels are displayed. My ...
0
votes
0answers
11 views

ArcGIS is importing orginal numpy while VirtualEnv is activated

I could activate ArcGIS's python command windows to use VirtualEnv by "execute execfile(r'C:\Users\jason\myenv\Scripts\activate_this.py', {'file': r'C:\Users\jason\myenv\Scripts\activate_this.py'})" ...
0
votes
1answer
29 views

Print elevation of different coordinates from .hgt file

I am trying iterate through the data(elevation) from .hgt file. I have attached the codes which i used to get the elevation from the file. from gmalthgtparser import HgtParser hgt_file='N09E076....
0
votes
0answers
11 views

Parameters of the Muskingum-Cunge Model in HEC-HMS

I'm trying to simulate the flow of a river in HEC-HMS and for the routing model, I have chosen to use Muskingum-Cunge. In preparing the model, I used HEC-GeoHMS. When I got to check the parameters ...
0
votes
0answers
11 views

How to save user drawn layers into files(.shp or .tiff)? [on hold]

I am developing a wpf gis application using arcgis runtime sdk. In my application user can define FeatureCollectionTable schema and draw features(such as polyline,polygon,point and etc) on map. Now, I ...
0
votes
0answers
5 views

Get Feature Service syncCapabilities with ArcPy

I'm working on an ArcPy script to test layers. I have either an arcpy mapping module layer object, or a feature service URL as a text string. I wish to get the feature service's capabilities, in ...
0
votes
0answers
10 views

Using output of ArcGIS Euclidean distance tool?

How do I use the output of the ArcGIS Desktop Euclidean distance tool? It gives raster output and I want to generate a table enlisting the distance between various centroids from one centroid.
-1
votes
1answer
18 views

Linear model in R - Multiplication Expression [on hold]

I have 3 numerical variables A, B and C. I am trying to create a linear model capable of predicting A. The expression that I am using is the product of B*C in order to predict A; however, when looking ...

15 30 50 per page