All Questions

0
votes
0answers
4 views

Call function from script inserted in Toolbox (ArcGIS)

I'm trying to call a function defined in a script contained in a Toolbox in ArcGIS. I have imported the Toolbox via arcpy.ImportToolbox. The scripts contained are recognized. I cannot call the ...
0
votes
0answers
4 views

pyqgis change pixel size from raster

how to change pixel size from raster by value using pyqgis or python gdal ? i try to using SAGA GIS tool resampling : ext2 = rasterLyr2.extent() xmin = ext2.xMinimum() xmax = ext2.xMaximum() ymin = ...
0
votes
0answers
2 views

Error when trying to include resource file in python eric6 IDE

I'm trying to include some button icons to a gui app using eric6 IDE, but I get error when trying to run the app. I've search a lot but no answer covers my problem. I created a resource.qrc in ui ...
0
votes
1answer
13 views

Using st_intersects between tables in PostGIS?

I have two tables: filter_polygon and myGeometries In both tables I have geometry columns. myGeometries contains > 100 mln of rows. In both tables I have geo indexes like: CREATE INDEX ...
2
votes
1answer
10 views

Selecting polygon id's if their centroid falls in another polygon using PostGIS?

I'm trying to select polygons which centroids fall in another polygon: SELECT smaller_polygons.id FROM big_polygon LEFT JOIN big_polygon smaller_polygons ON ST_Within(ST_Centroid(smaller_polygons....
0
votes
0answers
9 views

QGIS “Sum Line Lengths” return 'nan.'

I have a polygon shapefile and a (merged) line shapefile (both are zipped). When I use Vector -> Analysis Tools -> Sum Line Lengths on these shapefiles, I get a layer with some of the LENGTHS filled ...
0
votes
1answer
18 views

Converting a pixel coordinate in GeoTIFF to a latitude and longitude?

I have a GeoTIFF with the following meta information: PROJCS["WGS 84 / Pseudo-Mercator", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, ...
0
votes
0answers
30 views

Converting latitude and longitude to pixel coordinates on curved map?

I have a project that I am working for my company which involves placing 450 points/markers on a map. In the past my company outsourced this work and the people who worked on it manually placed each ...
0
votes
0answers
11 views

Reading data to geopandas using WFS?

I'm new to GIS. Trying to use Finnish population data on 1km tiles available here: http://www.stat.fi/org/avoindata/paikkatietoaineistot_en.html The WFS service is here: http://geo.stat.fi/geoserver/...
0
votes
0answers
8 views

QGIS3 in custom application via PyQGIS (Linux)

I am trying to establish a QGIS3 custom application under Linux (Arch Antergos), according to the documentation (section 1.4.2) the following should work (but it doesn't). I executed the subsequent ...
1
vote
0answers
10 views

Feature Layer will not refresh ArcGIS Javascript API

I am trying to integrate live point data (worker locations) from Workforce for ArcGIS into a Javascript web app that I am building. The layer loads fine and displays on the map properly, it even ...
0
votes
0answers
4 views

EVI2 value calculated from MODIS MOD09Q1 not bounded by -1 to 1

I'm trying to derive from MODIS 8 day composite MOD09Q1.006 product My formula follows the standard interpretation: EVI2 = 2.5(NIR-Red)/(NIR + 2.4*Red+1) I already know that MODIS bands for NIR ...
0
votes
0answers
13 views

Spatial imputation for missing values in multiple variables in shapefile in r

I currently have a shapefile with approximately 20 numeric variables. Several of these variables have missing values. As this is a shapefile I do not think using the median or mean as a form of ...
0
votes
1answer
14 views

Calculate Locations not adding Status field

When I run the Calculate Locations tool, it inconsistently adds the Status field. It consistently adds the SourceID, SourceOID, PosAlong, SideofEdge, SnapX, SnapY, and Distance fields. I've tried ...
1
vote
1answer
19 views

OpenLayers refresh WMTS tiles when underlying data changes

I am visualizing features from geoserver with OpenLayers using WMTS; I allow users to delete features using WFS-T; after a feature is deleted I would like for it to be removed from the map; however, ...
0
votes
1answer
16 views

Merge multiple raster .tif in QGIS 3.2?

I'm trying to merge 12 .tif raster layers (raster -> misc -> build virtual raster), but keep getting this error: Loading resulting layers The following layers were not correctly generated./var/...
0
votes
0answers
16 views

Field types in ArcCatalog and ArcMap don't match

I am opening a .csv in ArcMap. In ArcCatalog when I open the properties I see that my first field is a text field (which is what I want) but when I open it in ArcMap the field is a double. 1) Why ...
0
votes
0answers
15 views

How to export a map in lower size (11*17 inch) with all the parameters set up for higher map size but still looking good?

I am working with ESRI ArcMap (10.2) and have set up a map page size for 40*60 inch. I created a pdf and printed, it looks good. Next I printed with lower size 11*17 but the place labels does not ...
0
votes
0answers
13 views

Making curved annotated text when Edit vertices in Draw toolbar greyed out?

In the past when I have tried to draw text that wasn't on a straight line, I highlighted the text and was able to use the 'Edit Vertices' tool in the Draw toolbar. For some reason when I highlight the ...
0
votes
0answers
20 views

Connect discontinuous lines in QGIS

In QGIS, I want connect the lines that doesn't have spatial continuity and remove the small lines (red circles), but the area is extensive and it's not feasible to do this manually. Is there any way ...
0
votes
1answer
16 views

Add Feature Class from Geodatabase Dataset to MXD using ArcPy Standalone Script?

I am trying to add a Feature Class from a Geodatabase Dataset to an MXD and save a copy like this but I am getting following errors on each methos import arcpy import os arcpy.env.workspace = r"C:\...
0
votes
2answers
17 views

Add ring feature not available in QGIS

I have installed the version 2.18.24 in QGIS and apparently the plugin 'Digitizing tools' does not include the feture 'add ring' but it was replaced by 'fill ring with a new feature'. However, somehow ...
0
votes
1answer
23 views

Renaming Feature Classes in Geodatabase Dataset?

I am trying to replace/rename feature Classes in a dataset like this import arcpy import os arcpy.env.workspace = r"C:\\GDBs\Delaware.gdb\Kent" fcs = arcpy.ListFeatureClasses() for fc in fcs: ...
0
votes
1answer
22 views

Installation problem QGIS

I do not manage to install QGIS on my windows 10 machine using the osgeo4w installer. During the installation I get this message: At the end of the installation I get this message: And when I ...
0
votes
0answers
6 views

Data in GEE vs Downloaded .nc file from Ocean Colour

I'm looking at MODIS Chlor-a data. When comparing the data in GEE with downloading the file and looking at the measurements using SEADAS, I see the data does not match. Could anyone point me at why ...
0
votes
0answers
6 views

Filling polygon with png pattern in OpenLayers?

I want to fill a set of polygons with png pattern. Here is an extract of my code : var canvas = document.createElement('canvas'); var context = canvas.getContext('2d'); var pattern; var imageObj ...
0
votes
1answer
48 views

Calculate geometry for polygons [on hold]

Currently I am working on a fictional map which had to be rectified, therefore the georeference I used was not important(?). However, as a follow up I had to draw some polygons over a .tiff image and ...
0
votes
0answers
13 views

Meaning of backslash in QgsExpression PyQgis

I m filtering using a Qgsexpression : filterexpression="\"date\"<='{}' AND \"date\">='{}'AND \"nom\"='{}' AND \"id_serie_type\"='{}'".format(date2,datee,nompointeau,serietype) expr = ...
0
votes
1answer
13 views

Eliminating single raster pixels of flow distance raster in ArcGIS Desktop?

I want to clean up a calculated flow distance raster and need some ideas on how to do it. As you can see in the picture, there are some pixels along streets and rivers (gray) that show connection (...
1
vote
0answers
13 views

Selection or highlighting upstream elements

I would like to use the information from the Swedish SMHI related with their hydrological model elements (catchment areas) that have a Containment hierarchy structure, each element has the information ...
0
votes
0answers
6 views

Resource upload via rest API saved in a web-envelope

I'm using GeoServer 2.14.0 and I am trying to upload a couple of css and png files to the workspace. For that purpose, I'm using the /resource/ rest API. The files are uploaded - they are saved at the ...
0
votes
0answers
13 views

Workaround for Intersection with points is not yet supported' GRASS Error

I am dealing with a line layer which I am unable to import properly into GRASS. After some work solving dangles and invalid geometry issues I managed to import it, nevertheless when I try to use v....
1
vote
1answer
16 views

What is the logic behind the order of features when getting features by PyQGIS?

When I run the script below, I get features as ordered by id as expected. layer = iface.activeLayer() # getFeatures() ids = [f.id() for f in layer.getFeatures()] print(ids) # OUTPUT: [0L, 1L, ..... ...
2
votes
0answers
11 views

Understanding difference between collocation and coregistration?

I'm a little confused on this topic. I need to put 2 SAR images into same coordinate grid. In ESA SNAP tool, there are 2 options: coregistration: Radar->Coregistration->Coregistration collocation: ...
-1
votes
0answers
8 views

String out of range when file reading [on hold]

I try to read data(UTF-8) from file > from nltk.tag import hmm >train_data = open('train.txt','r', encoding='utf-8') #trying to read data such as ('Lahore', 'NEL') > trainer = hmm....
0
votes
2answers
28 views

Using IF/ELSE Statement for field calculation in ArcPy?

I would like to calculate the slope value in %, but I don’t want to have any negative values. If there are negative values in the slope field, I would like to multiple them by -1 and if not, multiple ...
1
vote
0answers
9 views

Relating input data to output data in GRASS in QGIS 3

In QGIS 3 there are a number of useful vector tools available via GRASS functions. However, the output of many of these only contain 'cat' attribute in their output. For example, if I run the routing ...
5
votes
0answers
63 views

QGIS tool to identify polygons that can fit a certain sized square within the polygon

I am trying to identify parcels with enough space for an additional building, and one of the parameters for this is: there needs to be a space of at least 9' x 10' available to fit the additional ...
1
vote
0answers
16 views

QGIS - automatically export multiple maps varying only the symbology source column

I have a polygon shapefile where each row represents a sampling grid cell, and each column represents a species, which may be either present or absent in each cell. I need to export one map for each ...
0
votes
0answers
14 views

Delete extra polygon vertices [on hold]

I'm looking for a way to delete any vertices from polygons that don't intersect points in a point feature class. For example, I have PLSS sections and I want to eliminate any vertex that doesn't fall ...
0
votes
0answers
13 views

Loop over columns of shapefile in modelbuilder

I use a shapefile (rain.shp) with a bunch of columns (rain_1979, rain_1990, rain_1991, ..., rain_2015). I would like to transform every column of the shapefile into a different raster using the ...
0
votes
0answers
9 views

GEE night time lights preprocessing problem

I am trying to reproduce some pre-processing steps of night time images. I am trying to calculate the HEP step which takes the average of pixels either side of the pixel of interest, in the vertical ...
0
votes
0answers
21 views

Min and Max values within a group and inside QGIS modeler

I need a function to do this: Take min and max "time" values where "selection" is equal and assign those values to all the registries within the range of time. Moreover, this function should be ...
0
votes
1answer
16 views

Organisation of folders on NEXTGIS

I am trying to set up a folder called 'November' on NEXTGIS such that I can add multiple web maps into subfolders called 1,2,3,etc over time. I want to give a web address to a coworker for the folder '...
0
votes
1answer
6 views

Linking to a specific point in an arcgis online map

I have a map in arcgis online with point data. Each of these points shows houses that have been destroyed by time. We have a wiki that tells the history about these houses, so I was wondering if there ...
0
votes
0answers
15 views

Geoserver SHAPE-ZIP export weird

I'm setting up a geoserver and when I want to export the shape in a ZIP the shape is totally weird. The table is ok and when I preview in openlayers it also OK. Geoserver verion is 2.12.1 Original ...
2
votes
1answer
26 views

Clipping polygon layer to another polygon layer based on matching attributes using QGIS?

Working in QGIS, I have two polygon layers: Building Footprint Polygon Layer Parcel Polygon Layer These two layers have a matching field in the attributes known as "Parcel Number". I would like to ...
0
votes
0answers
28 views

Getting parameter as text when running ArcPy script gives error?

I have a problem with executing an arcgis python script: Executing: acpcanadaScript "C:\Users\User\Documents\miniprojet\test\testzone d etude.tif" C:\Users\User\Documents\ArcGIS\Default.gdb\...
1
vote
0answers
23 views

Process for resolving error messages in NEXTGIS

I'm uplifting a map to NEXTGIS and I get the errors: Response status code is 502 {"exception": "ValidationError", "message": "GDAL library was unable to open the file.", "attr": "source", "serializer"...
-1
votes
1answer
36 views

Reading Text File to create Polyline with ArcPy?

This is carrying forward from the previously asked Creating Polyline shapefile from text file using ArcPy? With further insight from a colleague, I have the following code that I feel is a good ...

15 30 50 per page