All Questions

Filter by
Sorted by
Tagged with
2 votes
0 answers
200 views

Simple user input in QGIS with pyqt plugin

SplitPolygon plugin allows the user to enter an angle by which the polygon(s) will be split. I would like to modify the plugin and take that value from graphical user input (say, parallel with one ...
Nicu Tofan's user avatar
2 votes
1 answer
3k views

DEM reconditioning?

I'm using ArcGIS Desktop 10.5 Arc Hydro Toolbox & encountered a problem while trying to delineate watersheds respectively drainage lines. The red lines indicate my obtained drainage lines, which ...
Olli's user avatar
  • 153
2 votes
1 answer
1k views

Choropleth map from voronoi map from a set of coordinates (d3+leaflet)

I have a csv file with a set of coordinates with the following structure: id,name,latitude,longitude (24 values). Those 24 points represent coordinates in a city. I would like to get a voronoi map ...
Daniel F's user avatar
1 vote
1 answer
695 views

Expression to define label font in QGIS 3.2?

I am trying to define the font for features based on values in the attribute table. This is what I have tried in the Expression String Builder next to the Font dropdown in Layer Properties/Labels/Text:...
Bruce Young's user avatar
3 votes
0 answers
102 views

pyqgis: release all image locks

I have a QGIS 3.2 workflow that helps me to mass produce image classiication labels for some deep learning work. The workflow creates multiple files with various prefixes in tif format. At the end ...
Patrice Carbonneau's user avatar
1 vote
1 answer
3k views

How can I set Style text from attribute in Openlayers

I have a feature layer in my application. let layer = new OlLayerVector({ source: vectorSource }); So I need to set a style for this layer. But style should write attribute value as ...
barteloma's user avatar
  • 1,704
1 vote
1 answer
686 views

Filtering elements of layer with active element of QGIS atlas with geometry functions?

I'm working with QGIS 2.18 In a print composer I can filter the elements of a layer based on the attribute of the active element of an atlas. For example, show only the cities (points) of a state (...
Emilio Abad's user avatar
5 votes
1 answer
169 views

Creating new Half-Inch Bartholomew-Style Maps in QGIS 2.18?

I have a full set of the old half-Inch Scale John Bartholomew maps produced up to the early 1970s (1972 - 1974) of Great Britain, and I'd like to produce new mapping in the same style, but with modern ...
Christopher Williams's user avatar
2 votes
1 answer
128 views

Select by character limit

I'm using the select by attributes to find unique values that I am copy pasting from a spreedsheet. EX "jobnumber" = 1111116 OR "jobnumber" = 2222245 OR "jobnumber" = 5555655 .. etc The problem is ...
Eissen's user avatar
  • 23
1 vote
1 answer
5k views

How to extract values from .tiff file using R?

Maybe a rather simple question, but I could not find an answer. I am trying to extract long, lat, value from a .tiff file of a map of Africa with long/lat and soil acidity as the values. Here is some ...
Neviem's user avatar
  • 13
0 votes
2 answers
655 views

Shapefile from heading and distance directions for property boundary

I have a survey with heading and direction points describing the boundary for a rural property in Brazil. I am in correspondence with someone there who needs a shapefile (I believe he mentioned kml or ...
Verbal_Kint's user avatar
2 votes
0 answers
865 views

Publishing subtypes on ArcGIS Online for Collector?

I am kind of new to ArcGIS online and I just publishes a feature hosted map service after I have fixed my data with subtypes and subtypes-domains. After publishing to agol I discovered that all my ...
mirnaki's user avatar
  • 21
5 votes
1 answer
3k views

Displaying overlapping polyline segments as multiple lines with offsets

Selecting which polyline is displayed on top in case of segment overlaps seems to be quite a FAQ, however, I would like to find a way to display overlapping polyline segments side-by-side, i.e. as ...
FDMS's user avatar
  • 157
1 vote
2 answers
425 views

Extract by mask, default naming and arcpy

The extract by mask tool in ArcGIS has only two required arguments. The first is inRaster and the second is inMaskData. The filename and format of the output raster are determined automatically. The ...
user32882's user avatar
  • 3,524
1 vote
1 answer
74 views

Plotting monthly SO2 map [closed]

I need to plot a map to show monthly SO2 emission point over a specific area. To do so, I have an Excel monthly dataset (derived from satellite data) contains a column for latitude, a column for ...
seti's user avatar
  • 9
3 votes
0 answers
280 views

Configuring wps service in the lizmap web client

I can run lizmap web client after configuring the lizmap web client according to Updated - Installing Apache, QGIS Server, And Lizmap Web Client On Windows OS. There is a way (Lizmap WPS Web Client) ...
dao wu's user avatar
  • 31
3 votes
1 answer
2k views

USA Albers Equal Area Conic USGS version (LANDFIRE) projection not read by R?

I am working with the North America Forest Dynamics dataset. As mentioned it uses the USA Albers Equal Area USGS version projection, which is primarily different from the USA Albers Equal Area ...
tg110's user avatar
  • 840
1 vote
1 answer
450 views

Dynamically rendering tiles in mapnik [closed]

I am working on a mapping project on an embedded system (~1 Ghz, 512MB RAM, 2GB flash storage). It is not feasible to pre-render all of the tiles and setup a tile server. Instead, I was planning to ...
user8908459's user avatar
2 votes
1 answer
2k views

QGIS default style stored in PostGIS public.layer_styles table won't load with data from other schemas

In QGIS 2.18.15 (and 3.0), I cannot get default styles stored in 'public.layer_styles' in a PostGIS database to load automatically when adding a new layer to the map. I believe the problem is that ...
Chris Meder's user avatar
1 vote
1 answer
2k views

ArcMap field calculator error 000989 indention error?

I'm trying to make a four character output based on concatenating a single character field (in1) with either 1 or 2 zeros, depending on the length of in2, and then concatenating that . I'm getting an ...
geoJshaun's user avatar
  • 1,535
2 votes
0 answers
56 views

Merging bunch of tracks into fewer?

The following OverpassTurbo query for train routes in Sicily, Italy, returns ten's of tiny tracks: [out:json][timeout:25]; //Sicily: 39152 rel(39152);map_to_area -> .searchArea; ( node["...
Gulbahar's user avatar
  • 1,433
0 votes
1 answer
324 views

Extracting raster values and creating new raster in QGIS is not working as intended

I am trying to extract certain values from a raster image in order to create a new raster which should then only contain the specified values. I have a single band raster showing forest loss from 2000 ...
Hank's user avatar
  • 23
8 votes
2 answers
6k views

What is the new projection for Google Maps called?

Google released a new projection for the desktop version of Google Maps which appears to preserve the spherical nature of the Earth at all zoom levels. The old projection was called “Web Mercator”. ...
brainkim's user avatar
  • 191
1 vote
1 answer
533 views

GeoTools: Encode into GML 3 not working

I want to use GeoTools to convert collection of SimpleFeature objects to GML 3.2.1 geometry. However, I'm dealing with this: Creation of XSD works with both GML 2 and 3. Creation of GML works only ...
Stanislav Dušek's user avatar
1 vote
2 answers
779 views

Import Cropland Data Layer

I am completely new to QGIS (and mapping in general), and I can't get my layers to line up. QGIS Version: 3.2.1-Bonn Standalone-installer Windows 10 64-bit All of my layers are in the USA ...
Emily Wine's user avatar
3 votes
4 answers
4k views

Concatenating address fields with possible blank or null values in fields using Python parser?

The following Python code is what I have already tried in field calculator of ArcMap 10.5.1: Pre-Logic Script Code: def ConcatAddr(!JOIN_KEY!) val = "" if !Address! <> val ...
Ms05's user avatar
  • 125
0 votes
1 answer
241 views

Carto Builder map not filtering dynamically

I have a Carto Builder map with several layers and widgets in it. I assumed that when filtering the widgets or the time series that the points on the map would also update to show only the filtered ...
A Cabrera's user avatar
0 votes
1 answer
229 views

Finding the percent of acres per landuse in ArcMap

I'm trying to add a field to my attribute table that shows the percent of acres per land use. I tried using this approach enter link description here but I couldn't seen to get it to work for me. I ...
NBE's user avatar
  • 145
1 vote
1 answer
124 views

Editing the description in the dashboard view of a Carto map once the map has been published?

It appears that once you write a description in the dashboard view of a Carto map (where it says "Add description...") the text is un-editable. Is there a way to edit the text? The map on the left ...
Asia Sageman's user avatar
1 vote
0 answers
77 views

QGIS 3 map viewing area not filling up window area [duplicate]

I just installed QGIS 3.2.1 from QGIS 2.18 on MacOS 10.3.6. When I open the new install, the map does not fill up the area in the app window (below).
H Ludwig's user avatar
2 votes
1 answer
5k views

Fill a comboBox with the result of a query to sqlServer

I need to fill a comboBox with the result of a query to sqlServer, this result is filtered according to the data that was entered in the batch field Try doing it with pyodbc, but when the form is ...
Seba79's user avatar
  • 187
1 vote
1 answer
1k views

Pulling Spatial Data in Geography Format From MS SQL Server 2008 Using ogr2ogr

Can the MSSQLSpatial driver support geography fields queried from MS SQL Server 2008 as spatial data? Background I have been using unixODBC on an Ubuntu 16.04 machine with ODBC Driver 17 for SQL ...
Alan Aytbaev's user avatar
1 vote
0 answers
320 views

Opening National Land Cover data?

How do I open the National Land Cover data in QGIS 3.0? Attached is an image of the files. It looks like it's an .rrd file.
csft306's user avatar
  • 649
0 votes
1 answer
3k views

EarthEngine - Layer error: Image.parseExpression: Expression parse error [closed]

I am trying to create a layer using conditional statement in Google Earth Engine. I have created a stack of two layers as follows: var NDVI_2000_2001_2002 = NDVI_2001_2000.addBands(NDVI_2002_2000); ...
Shuvankar Ghosh's user avatar
0 votes
1 answer
639 views

Pirmary key constraint on objectid field

I am trying to copy data from a PostgreSQL (9.4) DB table to an SDE table. Both have an objectid field. If I copy the data from the source table with the OID field, I get an error because the values ...
GabSP's user avatar
  • 3
1 vote
1 answer
3k views

AttributeError: DescribeData: Method fieldInfo does not exist

I have a script that looks at feature class inside a .gdb and prints some simple information about the attributes field. Note- these is actually only one feature class in the .gdb. I want use the ...
gwydion93's user avatar
  • 1,903
0 votes
2 answers
696 views

TypeError: 'int' object is not iterable in reclassifying raster using arcpy

I am trying to reclassify a raster, using arcpy in Python. My code is below from osgeo import gdal import arcpy from arcpy import env from arcpy.sa import * raster_file = 'M:/tgopalakrishna\Data\...
tg110's user avatar
  • 840
2 votes
1 answer
179 views

Field Calculator incremental letters

Is there a way to calculate a field in ArcMap to be one letter up from another field? I'll never need to go beyond letter 'T', so no worries there. Field Ltr| Field NLtr a b ...
Guy832018's user avatar
3 votes
2 answers
449 views

Geocoding sensitive addresses without API

I have a large set of sensitive addresses that I need to Geocode on a server. I cannot send them to an external API due to HIPAA restrictions. Ideally I'd love to use an open source solution, even ...
Selah's user avatar
  • 143
1 vote
1 answer
348 views

Lost pixels during a raster merge with gdalbuildvrt

I'm trying to merge some rasters with gdalbuildvrt in a python script: rasters = glob.glob('/{0}/ndvi_masked/*.tif'.format(path)) gdal_cmd = 'gdalbuildvrt -q -vrtnodata "0" -overwrite {0}.vrt'....
Tim C.'s user avatar
  • 1,516
1 vote
1 answer
582 views

Google Maps Android SDK - Get features based on user location

I am using Google Maps Android Utility SDK, using GeoJSON features. I would like to, based on the user Location (which I already have) determine the features that contain this point. Does Google ...
Luiz's user avatar
  • 135
0 votes
2 answers
1k views

Dissolve Shapefile and sum attribute in R

I have a shapefile with thousands of polygons and a separate csv of additional attribute data. I have joined these by new_shp <- merge(old_shp, add_data, by.x="ID", by.y="ID") However, now I ...
Rtab's user avatar
  • 15
7 votes
2 answers
1k views

How can I estimate a Least Cost Path in Google Earth Engine?

I'm using Google Earth Engine to estimate walking time based on slope, using the Google tutorial and this example based on a DEM. My code actually runs, but I don't know what units the output raster ...
Erik Marsh's user avatar
0 votes
2 answers
299 views

Adjusting the extent of raster

I have a netcdf file which I converted using Make NetCDF Raster. Unfortunately, the x and y are not, I think, properly define. One way to solve this is by correcting the extent (I am not sure here) ...
user2543's user avatar
  • 1,188
0 votes
1 answer
243 views

Qgis Server Error while rendering postgis osm layer planet_osm_polygon

I have hosted QGIS server on a remote server. I want to publish OSM layer which is stored in PostgreSQL database. I have prepared one project file with .qgis extension and copied to the desired ...
Rajesh Kumar's user avatar
2 votes
1 answer
352 views

Changing line type for boundary of two vectors?

I currently have two vector shapefiles containing polygons representing health geographies of England and Wales. I would like to be able to change the line type for the boundary/lines between the ...
user126082's user avatar
1 vote
1 answer
451 views

Using Geographic Transformation in Projection?

I copied my coordinate files into Coordinate folder inside Users\myuser\AppData\Roaming\Esri\Desktop 10.2\ArcMap\Coordinate Systems\.... The problem arises when I try to project using a custom made ...
Sunil Tripathi's user avatar
2 votes
2 answers
816 views

ESRI fonts and QGIS

I should convert an ArcGIS cartography style (where the Esri fonts were used for the symbology) in QGIS. Is it possible to use the esri symbolic fonts and why some of them (eg ESRI Oil, Gas, & ...
Andrew-63's user avatar
  • 643
0 votes
0 answers
171 views

QGIS/PostGIS Difference Geoprocessing with tolerance

This is probably an extended question from my another question (Increase spatial query performance (st_difference)) This is the background is this. I have a road link and a tunnel link. From the road ...
Pil Kwon's user avatar
  • 1,040
0 votes
1 answer
2k views

What is the Formula to get an Image's Bounding Box from it's GDAL GeoTransform Array?

I have a process which needs to read in an Image's GeoTransform Array, and convert it to the Bounding Box i.e. If the Input is: <GeoTransform> 7.8087700868360430e+05, 9.9974951285737870e+...
Devdatta Tengshe's user avatar

15 30 50 per page