All Questions
38,214
questions with no upvoted or accepted answers
1
vote
0
answers
202
views
Snapping an annotation feature class (anno class)
Is there any work around for being able to snap an annotation feature class (non-simple feature type) to the vertex points of another layer en masse?
Similar to how the 'Editing toolbox > snap' tool ...
1
vote
0
answers
905
views
Moving raster layer using QGIS
I'm a user of QGIS with a very precarious understanding of it, and I've been looking for a way to move a couple of raster layers that have no coordinates and have been given some default ones placed ...
1
vote
0
answers
55
views
Merging Features in QGIS While Avoiding Rings
I have a large grid (~1m/feature) poly shapefile I need to get into an application controller. The controller is seeing coverage, so a feature=already applied, no feature=apply. The features can have ...
1
vote
0
answers
143
views
Define Custom CRS for working with SVG
I can't seem to figure out a way to define a custom PROJ4 projection that can mirror geometries (e.g. inverse x to -x and y to -y and vice versa). Other than that, I don't need any transformations or ...
1
vote
0
answers
219
views
Interaction with multi points
I have multiple geometries with multi-points, and when I use script to select a feature, all features from multi-points are selected, but I want only clicked point.
My code to select points:map....
1
vote
0
answers
1k
views
How to get the svg element id on clicking in leaflet?
I'm new to Leaflet and I'm trying to place a SVG file on the Leaflet map. My basic requirement is to get the svg path id on clicking in particular SVG element,
I tried making the image overlay on ...
1
vote
0
answers
284
views
CQL query from PostGIS using GeoTools
I have a shapefile (points) loaded in PostGIS. What I want to do is execute an ECQL query using geotools filtering points within a certain radius (10 kilometers) from a specific point (user input). ...
1
vote
0
answers
330
views
Using TauDEM in QGIS 2.18.15 - error "mpiexex is not recognized..."
I am attempting to use TauDEM tools to model an existing watershed. I have installed the "TauDEM 5.3 Complete Windows Installer" mentioned on the download page (http://hydrology.usu.edu/taudem/taudem5/...
1
vote
0
answers
20
views
What simplifying polygons functions f y = f(x) have ( y union x equal y ) property?
I've looked at GRASS v.generalize manual but they don't say. As far I can tell there's hermit but it's a Smoothing function.
1
vote
0
answers
643
views
Adding WMTS basemap.at to GeoServer?
Tried to add "basemap.at" WMTS (Austrian Basemap grey) in GeoServer 2.12.1 as Datastore/Layer.
The preview just shows the image attached.
In QGIS and Leaflet the WMTS works well - the ...
1
vote
0
answers
53
views
Python error on previously working model
I have a model built that's adding columns to a vector layer and creating a fixed width buffer layer. Everything was working fine, but now when I go to edit the model it won't open and I'm receiving ...
1
vote
0
answers
66
views
How to define the path which I surveyed 4 times?
I did a kinematic survey of a path. I automatically collected data with GPS every second while I was walking on the path (walking speed is not constant). I did 8 repetitions on the same path. Now I ...
1
vote
0
answers
2k
views
Leaflet markers map slow (200-400 markers?)
here is my script, I'm currently having a bad time with leaflet, it is taking substantial amounts of time to load my markers yet I'm only playing with up to 200-500 at a time and can't seem to find ...
1
vote
0
answers
35
views
How to get the data on screen after movened event is triggered
I am displaying 100 cities on the map.
After zoom or move the map, only e.g. 9 items are displaying on the current screen.
So how can I get these data from my dataset? Especially the object id?
...
1
vote
0
answers
157
views
How to represents multiple layers in QGIS using time slider?
Conecting QGIS to a WMS server I obtain a multiple layers representing windspeed calculated by a meteo model.
The values are into a netCDS file. The WMS capacity permits me obtain and visualize the ...
1
vote
0
answers
185
views
How create String primary key with GeoTools?
I'm developing a gis app with geotools 19-SNAPSHOT. I want to get some gis data from another app. After getting data, save them in local db. Received data has a String primary key as follow:
@Id
...
1
vote
0
answers
221
views
Geotools quickstart tutorial not displaying map
I am getting started with the Geotools quickstart guide:
http://docs.geotools.org/latest/userguide/tutorial/quickstart/eclipse.html
I have followed every step but when I run the application I get a ...
1
vote
0
answers
43
views
Model Builder - Selections Add Up at the End
I am creating a model so that I can help colleagues visualize the workflow I used on a problem.
My task was find all manholes in a specific area that connect to pipes >= 36". Simple enough, I did ...
1
vote
0
answers
85
views
How to set flags when re-use QgsFeatureRequest object
I have a standalone PyQGis application that is working fine. When I query a vector layer via QgsFeatureRequest class, I would like to instantiate one object and reuse it. But I am not sure how to set- ...
1
vote
0
answers
168
views
Iterating over pyshp writer object records
The current branch of pyshp has removed the Editor class that combines reading and writing records. The justification is that removing the Editor has been planned for a while now, and might as well ...
1
vote
0
answers
2k
views
QGIS 2.18, gives Invalid Data source
Using QGIS 2.18.14, add vector layer, open a shapefile, gives:
Invalid Data Source: FILE.shp is not a valid or recognized data source
This FILE.shp was OK on QGIS 2.12. Same result for other .shp ...
1
vote
0
answers
465
views
Display an moveable image layer in openlayers 3
so im trying since a month now to solve the above mentioned problem.
The idea is to display an image of a city map and drag it with the mouse or move it with a slider to the desired location.
That's ...
1
vote
0
answers
147
views
How to get attribute table information when clicking on OpenLayers webgis?
Might seems like a very trivial question to ask, but I am currently facing the problem with webGIS using JavaScript and python (with flask and psycopg2) where I load some shapefiles into pgadmin with ...
1
vote
1
answer
49
views
How to present parameters and their contents for each attribute
I have a table of data and I would like to know how I can use this data for a cartographic presentation and a publication on a geoportal as well as a map service.
The data represents measuring ...
1
vote
0
answers
55
views
Update raster data without restarting the service
I am trying to update raster datasets (3-4 times a day) that are being used by an ImageServer service.
Is there a way to do this without stopping/restarting the service (to get rid of possible locks) ...
1
vote
0
answers
209
views
Error "StopIteration: iteration not started" when updating row
I get the following error when trying to update the row on a for loop where I have assigned values to the row's attributes:
Traceback (most recent call last):
File "D:\ArcGIS_Pro_Projects\...
1
vote
0
answers
84
views
Query on all layer features with boundlessgeo sdk
I'm currently implementing a webgis by using the reactjs components from the boundlessgeo sdk.
I'm using the QueryBuilder component in order to query for features but It always performs the query on ...
1
vote
0
answers
36
views
Program crashed when using the function CPLString in GDAL
When I use the function CPLString in GDAL, the program crashes. Why is this happening? (I use GDAL Library in vs2012 with C++).
For example:
const char* str = "Test";
CPLString cplString(str);
...
1
vote
0
answers
231
views
Directions based on polygon centroid and average/median point of adjacent polygon's touching border
I have a layer containing multiple polygons, and I am trying to find a way to identify the directions of the adjacent polygons of a certain polygon. The directions would be based on the main polygon ...
1
vote
0
answers
59
views
How to make rules so two QGIS contour maps don't cross
I'm creating multiple contour maps stacked on one another over one geographical area based on the depths of various attributes. In some cases, given the mass of data and occasional inaccurate data, ...
1
vote
0
answers
397
views
Attribute table shows histogram/pixel count for a thematic raster image, but on enquiring, every pixel's value is zero
I have a thematic raster image containing 18 land use classes (like built-up, water bodies, plantations, forest, etc.). When I display this image in a GIS application (Arcmap/Erdas IMAGINE), the map ...
1
vote
0
answers
711
views
Geoserver sld pass long env parameter
I have a geotiff file served with geoserver. The geotiff is styled with the following sld, which includes a spatial filter. I am sending a polygon geometry as an env parameter, which results in ...
1
vote
0
answers
53
views
Map service is published with wrong time info settings
I have a mosaic dataset and it contains GRIB data sets. I want to publish this dataset as a time aware map layer. For this I use ArcMap 10.5.1 and ArcGIS for Server 10.5.1 on Windows. Unfortunately I'...
1
vote
0
answers
352
views
NetworkX read_shp works on Python 2.7 but not on Python 3?
I was trying to implement the same code in Python 2.7 and Python 3.0 opening the same file from the same directory using NetworkX's read_shp function.
One, using Python 2.7 IDE and the other is ...
1
vote
1
answer
2k
views
Using Geotiffwrite or Worldfilewrite for global TIF in MATLAB?
In MATLAB I have written the code:
[image,geo]=geotiffread('africa.tif');
info=geotiffinfo('africa.tif');
geotiffwrite('Wafrica.tif',image,geo);
but there was error:
geotiffwrite>validateR (line ...
1
vote
1
answer
181
views
refreshClusters on esri.Cluster.featureLayer
I am trying to 'refresh' a cluster layer which is created by L.esri.Cluster.featureLayer and a feature url. I have tried to remove and re-add the layer (with no succees). But the refreshClusters is ...
1
vote
0
answers
76
views
Variable substitution GeoWebCache
I have my Geoserver set up, I can pass variables in my WMS requests using:
env=value1:50;value2:100;
Now I want to send a reseed request - using the REST API - to GeoWebCache(GWC) and pass these ...
1
vote
0
answers
352
views
how to plot lat lon data to a map using jupyter notebook?
import arcgis
from arcgis.gis import GIS
from arcgis.features import SpatialDataFrame
ago_gis = GIS()
search_subset = ago_gis.content.search("Hong Kong Topographic Map")
subset_item = search_subset[...
1
vote
0
answers
246
views
Cannot plot map on ArcGIS python API?
I do not have ArcGIS desktop. And I have installed the ArcGIS Python API.
And I tried the following:
import arcgis
from arcgis.gis import GIS
from arcgis.mapping import WebMap
gis = GIS()
map1 = gis....
1
vote
0
answers
387
views
Unable to create Cache for Large Vector
I have uploaded a large vector data (20 million records) to Postgres; published the data on Geoserver. But, when I try to create cache for the same it throws GC overhead limit exceeded error.
I have ...
1
vote
0
answers
211
views
Interpolation resulting in nan
I am trying to interpolate a point layer holding data of type double, I have gone back to older projects where I have successfully interpolated before and these don't work either (resulting in nan).
...
1
vote
0
answers
21
views
Is it possible to get specific Asian population totals from the Census at the Block or Block Group level?
I know you can get it at the Tract level but I can't for the life of me find it at at a lower level. I can find totals for just "Asian" at these levels but I want it to be more specific than that (e.g....
1
vote
0
answers
392
views
Getting buildings that house specific amenities using R?
I am new using OSM and I am little bit lost here. I managed to get all restaurants in Winterthur, a city in Switzerland using amenity=restaurant. I used the R-package osmdata as follows:
q1 <- ...
1
vote
0
answers
117
views
set default value of the first entry made in attribute table in qgis
I will make an example so it's easier to understand what I am trying to do. So let's say I have an Attribute table with 3 columns(district-name, building, district-number). What I want to do is the ...
1
vote
0
answers
81
views
Calculated sum of visible areas in print composer
I want to view the sum of area of each habitat displayed in the layout. Only the displayed habitats in the viewport. Which expression do I have to use in the textbox? Now I have calculated them manual....
1
vote
0
answers
751
views
ValueError: Attempted relative import in non-package
I run myscript and get this error:
from qgis.core import * # @UnusedWildImport
from qgis.gui import * # @UnusedWildImport
from PyQt4.QtCore import * # @UnusedWildImport
from PyQt4.QtGui import * # @...
1
vote
0
answers
26
views
Error when replacing part of raster with another raster
When using Con(IsNull("replacement_raster"), "full_raster", "replacement_raster") to replace parts of a larger raster with a new smaller raster I get stripes in the vicinity of the smaller raster ...
1
vote
0
answers
210
views
Attachment from Data Driven Pages - Name Filter
We are using data driven pages to create a large series of figures. We used Collector in the field to collect features with data and attachments.
To display the attachments for each feature, we use ...
1
vote
0
answers
431
views
Move node feature and snap to node of other layer
This seems like I'm missing something obvious - I have a layer with node features that I need to update the position of by referencing another node layer. Should be a simple move and snap-to ...
1
vote
0
answers
44
views
Generate near tables from one layer to all in mxd
I am looking to create a script where user can choose a layer, then find all the layers within a set distance of it. I have set up a script to iterate through the mxd but I keep getting an error for ...