All Questions

0
votes
0answers
3 views

pyqgis intersects and update field

i have two different polygons layers(one postgis layer and other is temporary shp from QGIS) That layers they have common fields names (id,field_1) but different geometries. i want the first polygon ...
0
votes
0answers
6 views

Iterative Processing for make NetCDF table View in ArcGIS Desktop?

I am trying to process NetCDF file using Make NetCDF view table but do not understand where it stores output? I have 32 nc file for which I am using ModelBuilder.
1
vote
0answers
9 views

Getting attribute information from layer in OpenLayers

I just want to add a layer that represents a city with its city districts. When the user clicks on a district, the site fires an alert presenting the population number. It looks like that: ...
0
votes
0answers
6 views

How can I specify dimension for a variable in NetCDF input file using GDAL

I have a data which is in .nc format. I want to extract a variable which is in XxYxZ dimensions for example 4032x496x3 inside the netcdf file. But the problem is when using gdal_translate it is ...
0
votes
0answers
9 views

Is there any way to save QgsRasterBlock object as .tif, or to add it as QgsRasterLayer?

I am currently working on a qgis plugin and I need to simulate each pixel value in raster. I read that the best way to read each pixel value is by using QgsRasterBlock object and I assigned simulated ...
0
votes
0answers
9 views

Disconnect between raster symbology in Layers Panel and Layer Properties (QGIS 3)

I'm working on a Python plugin for QGIS that applies a customised colorRampItemList to a single band raster. The result displays correctly on the map and in the Layers Panel but incorrectly in the ...
0
votes
0answers
4 views

pyqgis processing, grass: --overwrite does not work

I have a QGIS plugin that tries to call the v.clean algorithm multiple times in a row and use the same output file each time the algorithm runs through. But even though I set the --overwrite parameter ...
0
votes
1answer
23 views

Selecting latest date with QGIS field calculator?

My shapefile contains columns like "Street", "number" and "date". What I want to do is, to find the latest date (where we have done house services). If we have 2 dates for one house number ("number")...
0
votes
1answer
21 views

What algorithm is used by the $geowithin operator of Mongodb

MongoDB can perform geospatial query such as finding restaurants inside region with the operator $geowithin. For example: db.places.find( { loc: { $geoWithin: { $geometry: { ...
-1
votes
0answers
6 views

Overlapping points converted into separate distance in ArcMap [on hold]

How can I convert overlapping points data into separate distance in ArcMap or PostGIS? Something like Disperse Markers in ArcMap but this is representation only. I need a shapefile.
0
votes
0answers
9 views

How to change NoData cells to a value in a raster with ArcPy? [on hold]

I have a raster created from a point shapefile, so I have some pixels with specific values and others with NoData. I would like to assign a value to NoData (example: 12345) but I need that the other ...
0
votes
0answers
10 views

Connecting line with polygon edge using ArcGIS Topology?

I have to connect many of these points with the edges of polygons. I am using Topology, but the "must not have Dangles" allow to connect two lines together, not a polygon edge and a line. Can ...
0
votes
1answer
17 views

Style a feature in one layer based on an attribute in another layer in Print Composer Atlas

I have two layers; one is the foreground and the other a background. Both layers have fields containing similar values (field values in the foreground layer (mun_code) is also present in the ...
0
votes
1answer
26 views

Generating Tiles with QGIS

Is there any in the year 2019 working plugin? I try QTiles but this make errors (https://github.com/nextgis/QTiles/issues/100). So I need an alternative that is working with QGIS 3.6 How I can produce ...
-2
votes
0answers
9 views

AttributeError: 'NoneType' object has no attribute 'Show' [on hold]

enter code here sys.path.append(r"D:\\DIGSILENT\\PowerFactory 2018 SP5\\python\\3.6") import powerfactory app=powerfactory.GetApplication() app.Show() The program made an error in line 1,it shows ...
1
vote
0answers
26 views

QGIS temporary layer to PostGIS table database

I have an empty polygon table in PostgreSQL/PostGIS database with fields (id,field_1). after some processing in QGIS using pyqgis and processing toolbar I create some temporary layer like this case : ...
1
vote
0answers
11 views

How to properly uninstall OSGeo4W+GRASS+QGIS on Windows7 64bit

Over the years I have tried QGIS and other mapping systems. Lately I wanted to make a go at using the newer versions of QGIS but wanted the ability to run the new one, 3.4 or 3.6 and to keep the old ...
-1
votes
0answers
14 views

MODIS (MOD11C3) dataset [on hold]

I have been trying to reproject MODIS (MOD11C3) LST datasets from past three days, always error in MCiDAS, SeaDAS, GRaDS yet no solution for the same. How can I reproject and analyze MODIS (MOD11C3) ...
0
votes
0answers
7 views

Reclassified Raster To Polygon with mulitple features

How can I take a raster that has been reclassified into 8 classes and convert it to a polygon with 8 features?
0
votes
1answer
18 views

Convert CRS for spatial join for GeoDataFrame

I have the following 2 GeoDataFrame variables in GeoPandas. # shp.csr {'init': 'epsg:2953'} # line.csr {'proj': 'sterea', 'lat_0': 46.5, 'lon_0': -66.5, 'k': 0.999912, 'x_0': 2500000, 'y_0': ...
-1
votes
1answer
31 views

ArcMap Raster Calculator with Python code

I'm trying use raster calculator that can export a raster to do different average values for for multiple layers. For example, I want to do averages for only the values and layers that are greater ...
0
votes
0answers
8 views

Copy Rows to SQL Server Table using ModelBuilder?

I want to copy a table in my GDB to a table in MSSQL server 2012. I'm using the "Copy Rows" tool in ModelBuilder, but when I run it, I get the following error: ERROR 000210: Cannot create output ...
0
votes
0answers
11 views

How to insert result function in raster created pyqgis3

I am doing a script, but I have a problem with the insertion of the result that my calculation function provided in my raster output that I created. Does anyone know how to insert the output result ...
0
votes
0answers
7 views

Unable to save point features to QGIS on MySQL database

I created a table with point geometry in MySQL. Subsequently added a vector layer from MySQL table. The table could be accessed from QGIS. However on pressing the add button the system threw warning ...
-1
votes
1answer
18 views

Fishnet overlaid on shapefile centroids with Python [on hold]

I am a newcomer to the GIS world so I'm not 100% confident with the terminology, but I am trying to overlay a grid (fishnet/raster?) over top of a set centroids that I have calculated from the ...
0
votes
0answers
6 views

Mapping GeoJSON polygons onto leaflet Eckert IV projection using Proj4leaflet

I am trying to draw polygons (using a collection polygons in a GeoJSON object) on a world map that is projected in the Eckert IV projection in Leaflet. The code I am using is as follows: ekertiv = ...
0
votes
0answers
5 views

Understanding group attribute in mapserver's cluster?

I am trying to use the Group function in Mapserver's Cluster. We have a cluster defined where when we have a lot of objects on top of each other we group them in a cluster. Show a circle and a count....
0
votes
0answers
7 views

Collector changes the dates in appended shapefile data

Today I was working in an area where I lost cell service and had to collect GPS points. When I got back to the office, I appended those points into the ArcGIS Collector map. The "Date" field shows ...
0
votes
0answers
23 views

Push attributes to GeoJSON in Leaflet

I am trying to add attributes to a layer. I have a select function that finds all points within 10 miles of a feature. If the point is within the radius distance I add it to an array and make another "...
1
vote
1answer
27 views

Getting angle of point generated from DEM in Raster using Field Calculator in ArcGIS Desktop?

I am trying to calculate the angle of some specific points generated from flow direction in ArcMap 10.2. I converted the DEM to flow direction and then to points. I am trying to convert the grid_code ...
0
votes
0answers
23 views

Converting large NetCDF daily precip data to monthly averages

I have a large NetCDF file containing daily gridded precipitation data for around 30 years and I'd like to create monthly average precipitation rasters from this. I've had a look around and the only ...
0
votes
1answer
38 views

Storing spreadsheets and .mxd inside .gdb folder?

To set the stage. When you create a file Geodatabase in Arc, it then creates a .gdb folder in your connected folder. My supervisor has asked that once that folder is created, to move all documents (...
1
vote
0answers
16 views

Boolean input in Python 3 Script?

in QGIS 2.18 I had this script ##formula_1=boolean ##formula_2=boolean ##formula_3=boolean ##result=output string if formula_1 == True: result= 1 elif formula_2 == True: result= 2 elif ...
1
vote
0answers
55 views

Shapefile not working in QGIS

I am a beginner with QGIS. I downloaded from different websites administrative levels for a country (0, 1, 2), full package: dbf, shp, shp.xlm, snb, shx, sbx, sbn, prj etc. However, QGIS is not ...
1
vote
0answers
13 views

How to switch on snap option in QGIS 2.18 when creating customize polygon

How to switch on snap option in QGIS 2.18 when creating customize polygon as in: class customPoly(QgsMapToolEmitPoint): def __init__(self, iface): self.iface = iface QgsMapToolEmitPoint....
0
votes
0answers
11 views

Where do I find the date for a specific NED raster?

I am looking at stream height and flooding. As there are seasonal differences in flood severity, knowing what month or general time of year of the image(s) is essential. I downloaded a 3m National ...
1
vote
0answers
22 views

QGIS Modeler - Select by expression error

QGIS Modeler works fine with my data if I store the layers as temporary layers, but soon as I will save the output in the selected folder (as shapefile or geopackage) I get a wrong result. The select ...
0
votes
0answers
12 views

Cache lookup failed for function 1 while activating PostGIS

I'm using PostgreSQL 10.5 on a remote server (Debian). I created a database inside then I attempted to enable PostGIS but it wasn't successful. I had this error : cache lookup failed for function 1
0
votes
0answers
22 views

Georeferencing via GDAL

Plugin GDAL didn't work on my qgis 2.18.17. I'm working on linux mint 19 Installed version : Version 3.1.9 (dans /usr/lib/qgis/plugins/libgeorefplugin.so) How i can change the version of GDAL?
0
votes
1answer
27 views

Load LINESTRING in WKT-format from CSV to pgAdmin?

I've got a CSV file with a column containing LINESTRINGs that looks something like this: 1,"LINESTRING(20.331 54.33, 21.67 44.89, 12.67 13.5679)",2014-03-09 13:30:33,2014-03-09 13:31:33 2,"LINESTRING(...
1
vote
0answers
19 views

Modeler with optional inputs or none?

I have a need for a model that all the input may be optional and allow the "Selected features only" option. So, I developed a model that fakes it all as seen in the example below I realize that some ...
1
vote
0answers
10 views

GRASS: db.in.ogr fails where v.in.ogr succeeds

This is a follow up on a previous question on the storage of vectors layers imported from PostGIS. To importing a spatial table from PostGIS I use, sucessfully, the following formulation with v.in....
0
votes
2answers
14 views

GEE - Image collection to multiband image

I'm new to GEE and got stucked running the followed code. My problem is: Get L5 collection, selecting B7 channel > Mask clouds and shadows based on pixel_qa product > Convert the image collection to a ...
-1
votes
0answers
14 views

error in making voronoy diagram in r

I try to make Voronoy diagram in latitude/longitude cooredinates. Frist of all I made grid: library(gstat) library(sp) longitude_for_data = c(32,68,89,145,176, -14, -42) latitude_for_data = c(...
0
votes
0answers
20 views

How can I calculate the direction of a Google Maps polygon?

To create a hole in a polygon, you need to know if the inner polygon is in the opposite direction as the outer polygon (See here). How can I calculate this? Here are some examples: var ...
0
votes
0answers
20 views

Merging polygons in ArcMap?

Inside the red circle, there are two yellow polygons of different sizes inside the large polygons. There are many such polygons. I want to merge the attribute information of a large yellow polygon in ...
0
votes
0answers
11 views

ArcGIS: Point nearest to border with information on bordering region

I am trying to create a table from a yield map in Europe, that tells me how much yield for each 5'x5' raster field is achieved. This I have managed. However, I now need information for each raster ...
1
vote
1answer
32 views

Georeferencing non-projected pdf using bounding box in FME?

I have two similar looking and extend map files. Pdf -map (N4443) with vector but not projected and the raster tiff map (N4443) with projection. I need to georeference pdf-vector objects using tiff -...
-1
votes
0answers
39 views

QGIS - merged/serial maps printing/exporting possible (like a merged letter in Word)? [on hold]

I need to create around 50 maps (= export PDFs) that all contain the following elements that remain the same for each map: Background map (raster) Polygon Each of this map should contain property ...
0
votes
0answers
18 views

Calculating elevation difference along river using ArcGIS Desktop?

I am working on a project to calculate the hydropower potential of a river using ArcGIS Desktop. I have derived a river flow raster and now need elevation difference in order to calculate pressure ...

15 30 50 per page