All Questions

Filter by
Sorted by
Tagged with
-1
votes
0answers
34 views

Getting position of point in PyQGIS? [on hold]

How to get position of QgsPoint objects in pyqgis/ python console using QGIS 3.x? For example: 1 points in vector layer TEST_P migeometria = f.geometry() posicion=geom.asPoint() print(posicion.x()) ...
0
votes
1answer
31 views

MGI_Lambert to WGS48 UTM33 transformation problem

I tried to reproject a raster (DEM) with MGI_Lambert Projection (Austria) into WGS48 UTM33 Zone. I did it with ArcMap 10.6 using the recommended MGI_To_WGS_1984_3 transformation aswell as a ...
0
votes
0answers
10 views

ArcMap Zonal Statistics as Table 2 output does not contain all zones

I'm encountering an issue with zonal statistics in which my output table contains less zones than my input (the output contains roughly 1/3 of the input zones). It is a large data set with about 65,...
3
votes
0answers
30 views

QGIS 3.4.6 Cannot create fields in new shapefiles

Running 3.4.6 on Windows 10. Until today I have had no problems creating new shapefiles and fields. Now when I create a new shapefile everything in the new dialog box works as usual when I create ...
0
votes
0answers
29 views

Getting lines across Legend symbol in ArcMap export to PDF?

I am encountering an issue with an item in the legend when I use a page size of 36x48 for exported PDFs. The item, a library symbol, appears to have lines going through it. It looks fine with smaller ...
1
vote
1answer
14 views

Passing multiple arguments to callback function in Leaflet layer method bindTooltip()

I have a few GeoJSON layers on a Leaflet map that I am using the bindTooltip method on. Specifically, I am trying to use a function as the argument to bindTooltip so that I can produce some custom ...
1
vote
1answer
33 views

Distinct st_shortestline

I have 61 pts and numerous rds. I would like to find the shortest distance to the nearest road using st_shortestline. I need 61 unique line segments, one for each point to its nearest road. Instead I ...
0
votes
0answers
38 views

QGIS 3.4 Layout composer tool bars are too small to see

I'm at a loss. I just updated to QGIS 3.4, and it was working fine, but now my Layout window has only tiny tool bars and the move item content tool is non-existent. Can anyone help? The same thing ...
0
votes
0answers
29 views

PostgreSQL - can't add PostGIS extension to database

Long story short I am trying to enable the PostGIS extension in PostgreSQL databases. I am having some trouble doing this and don't really know why. I updated PostgreSQL to the newest version, which ...
0
votes
0answers
16 views

Determine which zip codes are within defined boundary

The Antelope Valley Air Quality Management District publishes their district boundaries here: https://avaqmd.ca.gov/district-boundaries I need to figure out which zip codes fall within those ...
0
votes
1answer
20 views

Script that works in Python Toolbox not working in Standard Toolbox?

This script does not work in a Standard Toolbox but it works in a Python Toolbox. Do I need to delete all the parameters from the script? import arcpy, os, sys, shutil class Toolbox(object): ...
-2
votes
0answers
20 views

Create a new polygon from existing polygon in Pro [on hold]

I'm trying to create a new polygon from an existing polygon in Pro. I've tried split and clip, but there has got to be an easier way OR a way to do this by coding? If anyone knows SOS I need to find ...
2
votes
0answers
29 views

MapServer Query Raster for Pixel Value at Point

I am working with a MapServer and a map file that is displaying a color-relief image. LAYER NAME "sum" DATA "sum.vrt" TYPE RASTER STATUS ...
1
vote
0answers
36 views

Visualizing street shape data for London?

I am trying to visualise some street-level data I got, but since I'm very new to GIS I don't know the correct terminology to Google. My data looks like this: Street, Incident Count Congo Road, 12 ...
1
vote
0answers
16 views

Obtaining sublayer of layer for calculating shortest path algoritm in PyQGIS? [on hold]

I am trying to calculate the shortest path over a series of points via the road layer. For this, I am using the shortest path algorithm in the network analysis tool via the Python console. However, ...
1
vote
0answers
10 views

Resample a raster to the grid of another unaligned raster using GDAL/pktools

Is there a way to resample a raster to the grid of another raster using Bash utilities (GDAL or pktools), if both of the rasters do not necessarily have their origins aligned (and without an ...
0
votes
0answers
21 views

Labeling contour lines through script [on hold]

I've been working with QGIS I have a file with contour lines. I can easily label them through the UI but I can't seem to find a way to label them with a script/program. Is there any tool I can ...
1
vote
1answer
17 views

Select or export features within layer that intersect one another, and also within distance in ArcMap

As shown in the image, I would like to select or export features within a layer that intersect one another, and also within a specified distance. I am trying to use the "Select Layer by Location" ...
2
votes
0answers
56 views

Running QGIS on GPU [on hold]

I have a QGIS application running on Linux and I added a heavy vector layer. Every user operation like zooming or panning, takes almost one minute. I installed NVIDIA graphics card but it didn't ...
2
votes
1answer
22 views

'Must have equal len keys and value when setting with an iterable' error message

I have a postgres spatial table that I want to convert to a geopandas GeoDataFrame. In order to do so I wrote the following piece of code: #'pg_tab_clip' is the name of the postgres spatial table #'b'...
1
vote
0answers
19 views

Log Scale Contouring in ArcMap?

I have a shapefile of concentration values, they range from 0 7000. I want to either contour or display these in log scale (0.1, 1, 10, 100 and 1000) what is the best way of doing this? I have about ...
1
vote
1answer
11 views

Getting coordinates of ways with Overpass API osm script

I realize there are questions similar to this one but after looking at them, I still can't fix my problem. I would like to get all the node coordinates for the nodes along all the road ways in some ...
1
vote
1answer
25 views

Make imagecollection from list of images through a for loop in Earth Engine Python API

I try to code Mosaicking a Image Collection by Date (day) in Google Earth Engine this issue with Python. #Load Sentinel 1 and filter data def load_dataset(ImageCollection_ID,begin,end,aoi): ic = ...
0
votes
0answers
20 views

Open source GIS programs that support .NET Core

My office is starting a new project where we were hoping to use MapXtreme but soon realized that it does not support .NET Core, which is what we are hoping to use to create the application. Are ...
1
vote
0answers
29 views

Multiprocess Spatial Join with Spatial Index

I'm a newbie in implementing GIS on Python, but the lack of any GIS software at the office has forced me to learn about it. I have a huge grid (a multipolygon) that I'm currently filling out with ...
2
votes
1answer
23 views

Turning off cache in FME?

I did not find what I am looking for neither here nor in FME Website. When I run some workflow I get that warning message (it is displayed in French I am not really sure of the accurate translation) : ...
0
votes
1answer
12 views

Linked popup image in GeoJSON file

Developing the issue solved in this post: Trying to pop up image in GeoJSON file? I would like to have each GeoJSON image thumbnail possible to open in larger window. I was trying to connect with ...
1
vote
0answers
21 views

Pyqgis Set the field value of a dynamically created vector layer in QGIS 3 before user saves to database

I am quite new to both QGIS and Python. I have inherited a project that needs to be upgraded from using QGIS 2.0 DUFOUR to 3.8 Zanzibar. The way it works is, there is a separate application written ...
1
vote
0answers
28 views

Create SQL View in GeoPackage in GeoServer

In GeoServer 2.15.2 I can "publish" an entire layer from a GeoPackage. No issues there, works great. However, If I attempt to "Configure a new SQL view..." using that same layer in the GeoPackage (...
0
votes
0answers
16 views

Updating text elements not working when using APRX path vs “CURRENT”

I am beginner in ArcGIS Pro and I am trying to expand into using python with ArcGIS Pro. I have a working script that will update a specified text element in all layouts in ArcGIS Pro, in my case it's ...
2
votes
1answer
70 views

Ignoring feature with featureIdentified with Pyqgis

I am using the QgsMapToolEmitPoint and QgsMapToolIdentifyFeature classes in my QGIS project. I created 2 variables: self.pointTool = QgsMapToolEmitPoint (self.canvas) self.linetool = ...
2
votes
0answers
36 views

Adding raster in external Python API using QGIS?

I try to build mapping and navigation app using QGIS 2.18 and I start by doing the same thing in this book "building-mapping-applications-with-qgis" chapters 8 but I face problem in add the basemap ...
0
votes
1answer
15 views

MapXtreme compatibility with with .NET CORE

In my office we are looking to use MapXtreme 9.0 for a new project we have. Is there a way to have MapXtreme support using .NET Core?
0
votes
1answer
13 views

GEE Linear Regression Error - ReduceBands reducer must have one input: <Reducer>

I am having a problem with the Linear Regression function (code attached) when I try to regress latitude or longitude against B4 reflectance for a S2 image. I am getting the following error: ...
2
votes
1answer
43 views

Georeferencing a numpy tensor (spatio-temporal data)

I have a CSV file in which each row represents a record of an event with the following columns: latitude, longitude, time I want to build a numpy tensor with n x m x 8760 (hours in a year) ...
1
vote
1answer
18 views

PYQGIS 3: Save custom layout in .qgs project

I iteratively create .qgs projects, load different layers in them, create a layout and export the maps. The .qgs projects are created but when I open them, my custom layout is not there! Therefore it ...
2
votes
1answer
38 views

Change path to help in QGIS 3.4.8 LTR

I want to use the offical help from qgis, which I can open with the F1 button. But it doesn´t work. I always get this message: I checked the Settings → Options →System, the path is right. And in the ....
0
votes
0answers
12 views

Missing area when using tabulate area in ArcPy?

I create a polygon layer including 80 buffer areas (they are not overlapping) and want to get the area of each value of a raster file for each buffer area. I can use the tabulate area to realize this ...
2
votes
0answers
23 views

QGIS3 application not there after installing

I installed QGIS3 on my computer at work. The installation was completed without errors. But there is no QGIS application on the computer. The folder exists though, and it also contains all the other ...
0
votes
1answer
35 views

PYQGIS 3: Get the maximum extent of 2 different layers for map display

In the layout, I would like to display two layers and for this I need their combined maximum extent. So far I've got: import os import processing from qgis.core import * from qgis.gui import * import ...
1
vote
1answer
25 views

Turn string data (of GPS coordinates) into a GPS tracker = frozen map. QGIS2.14/Py2.7/Win7/LAN

I am currently involved in a student project which is to turn string GPS coordinates into a GPS tracker. This is my current work: First, the UDP data is shared through a LAN (No internet available) ...
0
votes
0answers
13 views

Automation of tracing of line until point layer in ArcGIS Desktop? [on hold]

Problem- Water Distribution system Im doing tracing manual work in arcgis since a long time and want to automate it. Can you help me with any trick or python or VB script? Layers available one ...
1
vote
0answers
23 views

Monthly Water Area Monitoring in Google Earth Engine?

I've computed water area for each 8 days for about 20 years. I don't know how can I compute monthly area for these years? or How can I change 8 days product to the monthly in this code? code link: ...
2
votes
3answers
66 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....
1
vote
0answers
43 views

QGIS 3 running slowly

I've been using QGIS 2.14 pretty successfully for about two years. I do also have Arc but tend to use Q more primarily because it did run considerably faster. I then installed QGIS 3 as I noticed it ...
1
vote
0answers
37 views

QGIS3.8 Hotspot Analysis Plugin not installing

I'm hoping someone on here might be able to help me. I'm fairly new to working with QGIS I'm completely lost. For my PhD project I have to use QGIS to produce georeferenced heatmaps based on ...
1
vote
0answers
20 views

Display .kml file in Leaflet

I would like to show my .kml file in my leaflet map.~ There is a plugin: https://github.com/windycom/leaflet-kml whixh unfortunately doesn't work. It show only a blank map in the coordinates provided....
0
votes
2answers
21 views

ArcPy: Select_Analysis Invalid Characters

The following script produces the ERROR 000210: Cannot create output... .shp and ERROR 000354: The name containts invalic characters Failed to execute (Select.). The line with arcpy.Select_analysis ...
-1
votes
0answers
29 views

ESRI-GRID data or ASCII GRID data [closed]

I'm trying to make a poster with different climate projections for a river basin in Thailand. I would like to make a box & whisker plot for each month in 2030 (will repeat this for other years). ...
0
votes
0answers
38 views

Using UpdateCursor in the same loop as SearchCursor

I have 2 layers, one with land plots and one with hazard zones. I want to iterate through the layer with land plots and for every plot I want to add 2 (or 3, depending on some variables) fields. Then ...

15 30 50 per page