All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
15 views

Adding information to layers in group (QGIS)

For a QGIS plugin I want to access the layers in a group called 'Drawings'. For this I want a ComboBox with the list of layers. I tried different methods but can't get past the fact that i am refering ...
12
votes
2answers
21k views

How to make RASTER from irregular point data without interpolation

I was trying to make a raster image from an irregularly spaced point database. The data looks like- > head(s100_ras) x y z 1 267573.9 2633781 213.29545 2 262224.4 2633781 ...
0
votes
0answers
9 views

Error copying environment to Anaconda3\envs?

I tried to copy environment to another PC before and it worked with me Now I got the error below . This application failed to start because it could not find or load the Qt platform plugin "windows" ...
1
vote
0answers
16 views

Stop QGIS opening multiple taskbar items?

I have QGIS pinned to my taskbar, right clicking shows that it's named "QGIS Desktop 3.8.2". When I run it and open projects some of them open a new taskbar item called "QGIS 3". This also happens ...
0
votes
1answer
36 views

High resolution and reasonable cost RGB satellite images [on hold]

I need to obtain high-resolution RGB satellite images with reasonable cost for Pakistan. The objective is to guide tourist on high-resolution GIS maps. Google Earth does not have very high resolution ...
0
votes
0answers
7 views

GeoPandas: plot two layers but only to the extent of the smaller one

I am using GeoPandas and I want to plot two layers. I want the map to have the extent of the smaller layer. With this code below, the map's size automatically fits the bigger layer. import geopandas ...
0
votes
0answers
9 views

R raster to shapefile

I created a raster with the function rasterFromXYZ() in R using a dataframe with coordinates and the value of a variable, the result was this: plot(raster1) which is exactly what I need. Now I just ...
2
votes
1answer
407 views

QGIS estimate height of feature vertices from TIN

I have a TIN representing a digital terrain model, and another polygon layer representing features (e.g. building outlines) which is assumed to 'sit' on top of the DTM. How do I calculate the ...
-1
votes
0answers
6 views

Earth Engine: ReduceRegions Graph Javascript

As you can see in the picture I'm trying to get NDVI values as a featureCollection. But the "ReduceRegions" function does not recognize the input. How to solve this problem ? Thanks for you answers.
8
votes
4answers
9k views

Trying to extract a list of Unique Values from a field using python

I have a number of columns in a number of tables withinh a FGDB where I need to extract the unique values for each column. For Example: the values may be [1,2,2,2,3,4], and I am trying to return [...
5
votes
3answers
1k views

Can ogr2ogr “reverse clip” (or “clip out” or “erase” or “difference”) one shapefile from another?

Is there a means in ogr2ogr to "clip out" one shapefile from another? I know ogr2ogr -clipsrc B.shp out.shp A.shp will remove any part of A.shp that is NOT in B.shp. Is there an ogr2ogr command to ...
0
votes
0answers
14 views

QGIS forms : field display based on the value of another field

I have a form designed in QGIS 3.8.1. The form is associated with a layer for inputting data. Many of the fields on the form are only relevant if the first field is equal to True. Example: Field 1: ...
0
votes
2answers
23 views

Android app to get altitude of places to use in field visit?

I want to verify the height of the ground which is provided to me with the help of an app if available. Of course, I am aware an app will not give me exact value but for me, it works if it shows ...
0
votes
1answer
144 views

Iterating folder of shapefiles using ArcPy and exporting mxd to PDF

I'm new to Python and just created a hard coded script for the process I want, and it works. Right now it calls on the one of three shapefile I have in this map document. I want it to do the same ...
2
votes
0answers
26 views

Applying filter on the geometry for a given feature?

I have multiple layers, with multiple features, where I am interested in extracting information from a given feature within a rectangle. I am able to achieve this using the following filter, ...
2
votes
3answers
80 views

ST_IsValidReason get all points 'Self-intersection'

Check this geometry, please: ST_GeomFromText('MULTIPOLYGON Z (((228696.8 338223.3 0,228563.8 338278.5 0,228579.6 338194.2 0,228678.5 338298.6 0,228573 338078.6 0,228512.3 338355.7 0,228696.8 338223....
-5
votes
0answers
43 views

Spatial query with ST_DWithin [on hold]

I want to find the touching road with A306 road using ST_DWithin function. The below statement just query the A306 road, not the closest road or the road which is connected to the A306 SELECT r.ref, ...
1
vote
1answer
29 views

Managing PostGIS default privileges for users in QGIS?

I have a PostGIS database for several projects, most of which we work with in QGIS. Each project has it's own schema. For each schema I have created a group role project-members, where project is ...
0
votes
0answers
5 views

R Tmap Package: Finding Population Dataset of provinces in Europe?

I applied the following function of the R Tmap package: library(tmap) data(NLD_muni) NLD_muni$perc_men <- NLD_muni$pop_men / NLD_muni$population * 100 tm_shape(NLD_muni) + tm_polygons("...
3
votes
1answer
127 views

Incorrect result while adding points along geometry in QGIS

I'm trying to add points along lines every 3 metres but I'd like the starting/ending point at certain non fixed distance. When I use the tool 'Points along geometry' inside Graphical Modeler. I don't ...
0
votes
0answers
220 views

Importing raster into geodatabase using ArcGIS Desktop? [on hold]

I am using ArcGIS Desktop 9.2. When I try to import a raster (jpg or tiff) into a file geodatabase using ArcCatalog, MS Picture Manager opens and tries (unsuccessfully) to open RasterConversion.py ...
2
votes
0answers
28 views

Spatial distribution of vector polygons

I have two vector layers and I am looking for a tool for spatial distribution of the polygons. polygon 1 is the frame, polygon 2 are objects with different size and distribution. I need an index value ...
3
votes
1answer
47 views

Finding sum of points values within distance from paths

I'm willing to plot public transport data for a university project, and I'm currently trying to find out roughly how many people live with a reasonable distance from a set of bus routes. I have my ...
0
votes
0answers
13 views

Printing the mean NPP value from MODIS imagery in a specific region?

I am getting started with Google Earth Engine, trying to do something simple: calculate the mean Net Primary Productivity in a region that is defined by a polygon. NPP values are taken from the MODIS ...
0
votes
1answer
87 views

Length of intersections from a linestring and a grid shapefile by using Python geopandas & QGIS

I am using Python geopandas and I have two shapefiles. One of them is a grid file containing equal polygons. The other shapefile is a linestring file with several lines and its Attributes. The idea ...
2
votes
1answer
60 views

Making colored hillshade in QGIS?

Today I found that ArcGis can make colored hillshade like on piture below. Here is link to their blog. I want to do that in QGIS. I know about layer coloring feature, and it's close for perfect, but ...
1
vote
2answers
31 views

Realising vector file mapping using QGIS Modeler?

I pretty often get lots of vector files with different column namings. I need to produce a defined vector data file with certain columns. Is it possible to build a model that allows to make a mapping? ...
-1
votes
0answers
20 views

ArcGIS 10.6.1 Model - dissolving loop - Merge tool [on hold]

The problem has been solved - the thread can be closed. If this can be useful to anybody, my solution was to buffer the initial point layer to a larger size (10m, intead of 0.5m). After this edit, the ...
1
vote
1answer
15 views

Assigning points to all bends on polyline in QGIS 3.6

I have a series of polylines representing water pipelines that I want to clean up. I want to split the pipeline polyline at key locations where there is a fitting such as a stop valve or hydrant. ...
0
votes
0answers
9 views

Reduce regions when polygons overlap [on hold]

Does the reduce regions functions work when the polygons overlap spatially? I am working on a problem where management districts overlap and I want to summarize the land cover within districts. Some ...
1
vote
1answer
16 views

Exporting NetCDF layer with defined colors using QGIS?

I have average wind speed NetCDF file (.nc) that I imported to QGIS. Then I defined colors for wind speeds in equal interval (3, 3.5, 4, 4.5 etc). Now I would like to save this colored map for sharing ...
0
votes
1answer
599 views

Legend in GeoExt.tree.LayerContainer

Using the code below in this jsfiddle example: tree = new Ext.tree.TreePanel({ renderTo: "tree", root: new GeoExt.tree.LayerContainer({ text: 'Map Layers', ...
1
vote
2answers
61 views

Aligning an edge to match another edge

I'm new to QGIS and I wonder whether there is a tool that helps to adjust the edges between two or more polygons; similar to that topology tool that's used in ArcGIS. http://desktop.arcgis.com/en/...
0
votes
0answers
16 views

Addin to Style Legend

I created an arcpy script to apply a style to my legend from my style template and it works when using the module within arcmap. But i want to add it as an addin button. import arcpy import Python ...
1
vote
1answer
16 views

Clip Square region from Point Geometry [on hold]

I have a series of (lat, lng) coordinates and I need to extract 10x10 sq_km satellite imagery from them. Google Earth Engine (GEE) has this functionality: geometry = ee.Geometry.Point(lat, lng)....
1
vote
1answer
119 views

Rounding numbers in QGIS raster legend?

Is it possible to have the numbers in the raster legend automatically rounded off? In the example below I'd like the labels to be 8, 29, 51 and so on. I know I can manually edit the labels, but is ...
0
votes
0answers
15 views

Selecting text characters within a string, or multiple field characteristic results as independent values? [duplicate]

I'm working to map data out using information extracted from a database where values were input based on characteristics assigned by a reviewer. I'm looking at mapping characteristics of a building's ...
1
vote
0answers
13 views

Changing Legend Icon color for visual variables?

I am building an Arcgis application with the latest Javascript API. Its a relatively simple sensor management tool. The problem I am facing is with the legend and the way the icons are represented. I ...
1
vote
1answer
24 views

Removing clouds from LandSat 8 Surface Reflectance in Google Earth Engine?

When I graph the tree health for regions of interest for multiple years; during a twelve month period, there appears to be significant drops in the returned NDVI values. I believe these drops are ...
1
vote
0answers
15 views

Using Arabic and Persian in SLD filter?

I want to create Attribute-based polygon with SLD but when I use Persian or Arabic filter It's not working. This is my sld: Attribute-based polygon SLD Cook Book: Attribute-based ...
1
vote
1answer
14 views

(QGIS) Shapefile with attribute table: Convert it to raster burning values of each polygon to the raster. “Heatmap”

I am working on QGis with a shapefile with an attribute table, I have created this shapefile through "Vector->Analysis tools->Count Points in Polygon", so this new shapefile got the count in the ...
0
votes
1answer
37 views

Arcpy - how to go back in for loop at the end of a while loop?

I'm quite novice in python and arcpy (and in English ...) I have a river network with Strahler orders (starting from 1). I want to create a new network where the new streams will start from order 1 ...
1
vote
1answer
16 views

How to import CLR in QGIS python?

I created a plugin and I added my separate python file(added in plugin path itself) in the created qgis plugin. In that separate python file, I called a DLL file like below, import sys import clr ...
0
votes
0answers
5 views

How to do Layer stacking in Google Earth Engine? [on hold]

I have an image uploaded to GEE, which has H, A and Alpha as bands and Sentinel-1 GRD image after Lee filtering (VV and VH as a separate image). I tried addBands and toBands. They both are not working....
1
vote
1answer
216 views

django-raster rendering raster url

i want to add raster functionality in django using postgis database using django-raster package and this docs. here my code : models.py from django.contrib.gis.db import models class RasterWithName(...
0
votes
2answers
1k views

Mapping raw GPS data to Openstreetmap's Node/Way/Relation [on hold]

I have a bunch of raw GPS data points which constitute trips. I want to add semantic information to those data points. For example I'd like to be able to say that a trip consisted of taking street A, ...
1
vote
0answers
14 views

Measuring area covered by linestring

I have a trajectory given by GPS which I store as a ST_LineString() and I'd like to know the area covered by the line string. I know the "width" of the trajectory, but I'm not sure how to approach the ...
43
votes
13answers
24k views

Map matching links and ideas? [closed]

I'm using OpenStreetMap and its vectorial road network and I'd like to implement a map matcher algorithm. Currently I'm able, for each GPS position, to retrieve the nearest road segment and ...
1
vote
1answer
14 views

Find every possible user to user travel time duration using pgr_dijkstra or pgr_kDijkstra

I have this below GetNearest function that will get every user's nearest node from ways (imported using osm2pgrouting). CREATE or REPLACE FUNCTION GetNearest(NUMERIC, NUMERIC) RETURNS BIGINT AS ...
0
votes
1answer
27 views

Temporal combination of Raster files?

I have a set of time series daily raster files, I want to have a temporal combination on daily bases. As an example I want to combine day1 with day2 and day2 with day3 and so on. The file name are ...

15 30 50 per page