dialog
listlengths
4
30
title
stringlengths
15
150
category
stringclasses
14 values
dialog_time
stringdate
2016-01-21 01:59:30
2018-07-01 01:34:46
[ { "message": "I need to create a multiple bands .tiff file, also known as rasters stack.I ordered the files to be stacked (from the folder) using natsort and it works.How to use the method 'os.walk' with the ordered list (ord_list), becauseI get this error:<pre><code>Traceback (most recent call last): File \"&...
Raster stacking with naturally ordered layers gives ValueError: need at least one array to concatenate?
gis
2017-03-12T12:32:00.873
[ { "message": "I'm trying to use the pgRouting sample for '<a href=\"http://workshop.pgrouting.org/2.1.0-dev/en/chapters/shortest_path.html#exercise-2\" rel=\"nofollow noreferrer\">multiple pedestrians going to the same destination' to determine the 1) length and 2)geometry of students to their schools.Essential...
Using pgRouting for 'multiple pedestrians' on an existing table of 'students'?
gis
2017-03-12T19:22:15.097
[ { "message": "Value maps have been set for some attributes in the properties of a layer (which is an offline edit of a PostGIS database saved as a spatialite file).<a href=\"https://i.stack.imgur.com/thCWZ.png\" rel=\"nofollow noreferrer\">But in the drop down selection it does not allow for a Null to be select...
Allowing NULL value in field's value map in QGIS?
gis
2017-03-13T10:17:08.337
[ { "message": "Is there a way to modify the input layer, when using QGIS processing algorithms from the Python console?<pre><code>import processinglayer = iface.activeLayer()processing.runalg(\"qgis:multiparttosingleparts\", layer, \"tmp.shp\")</code></pre>Instead of creating a new shape layer, I want to convert...
Modify the input layer when using processing algorithms from the console
gis
2017-03-13T12:02:32.853
[ { "message": "In a vector layer is it possible to tune up/scripting the style columns attributes to map \"Label\" column to a specific attribute field/column instead of being populated with same content as the \"Value\" column? I'm working on QGIS 2.14.We have symbology by categories and symbols in a XML create...
Scripting the mapping of style columns attributes in QGIS?
gis
2017-03-13T14:29:44.573
[ { "message": "I am trying to create a descriptive database catalog by implementing the great solution described <a href=\"https://gis.stackexchange.com/questions/34729/creating-table-containing-all-filenames-and-possibly-metadata-in-file-geodatab/34797#34797\">here. This user's solution creates a csv file that ...
Describing Geodatabase Content With Python and XML Metadata
gis
2017-03-13T17:33:08.553
[ { "message": "I'm trying to find a way to build a custom raster mosaic operator. When I Mosaic different raster to a new raster ArcMap lets u chose between \"first\", \"last\", \"max\" etc. I need a operator that chooses not the maximum cell value but the second highest cell value. F.e. if I add 3 overlapping r...
How to build a custom raster mosaic operator?
gis
2017-03-13T18:30:50.983
[ { "message": "I am working on some spatial data in QGIS(2.14.6). The dataset i am working on has a column house-number which is for addresses and it is numerical. In some cases the address is a number range ie 2-6 because the development is on 3 plots 2,4 and 6. Also note numbering is such that odd numbers are ...
How to input number range in QGIS numerical column
gis
2017-03-14T07:58:34.290
[ { "message": "I'm trying to make an application that let the user upload his shapefiles and manage him (show/hide, delete, edit, etc...) I read in the GeoServer documentation that a WFS is the service that can help me to accomplish my purpose.I searched enough to find an example on how to upload shapefile usin...
How to upload a shapefile using WFS service?
gis
2017-03-14T09:04:52.370
[ { "message": "I am using QGIS and I'd like to export a piece of map, scale 1:10000. The area I want to export is wider than the QGIS window, so I can't just use the option \"export everything you see on screen\", because afterwards I'd need to paste 10 or 12 individual files and bring them together, which is ki...
How to export map from raster with coordinates to image/pdf file?
gis
2017-03-14T13:44:03.163
[ { "message": "I'm mapping thousands of concert performances by Iron Maiden on a Carto map using Carto Editor. I was researching solutions to displaying multiple entries on the same point and came across the \"stacking chips\" solution <a href=\"https://carto.com/blog/stacking-chips-a-map-hack\" rel=\"nofollow n...
Carto Editor SQL
gis
2017-03-14T15:01:52.940
[ { "message": "i will want to create a simple QGIS plugin where the user put a number (line_edit) and if that number is something the user take back three new codes(lineEdit_2,lineEdit_3,lineEdit_4) and if user press ok(buttonBox) then plugin do something else in the some GUI.for that i create a new additional ...
QGIS plugin with additional Button and function
gis
2017-03-14T17:57:17.687
[ { "message": "Does anyone know of good tutorials on how to build raster models (using PostGIS) in GeoDjango? I found <a href=\"https://gis.stackexchange.com/questions/93900\">Geodjango read raster files from 3 years ago, as well as some sparse documentation for <code>django-raster</code>, but no real examples o...
Raster functionality in GeoDjango?
gis
2017-03-14T19:45:16.997
[ { "message": "I have a list of 100 lat long pairings that I wish to get the elevation data for. I am familiar with Google Earth and I can plot each of these points but when I check the properties there is no elevation info other than the info at the bottom tool bar which would require me to manually write the e...
Elevation info for multiple lat long coordinates
gis
2017-03-15T08:46:34.863
[ { "message": "I have a polygon layer (>600000 features) in a Spatialite database and I want to overcome to run out of RAM by selecting only the features I need for subsequent workflow.I can connect to my Spatialite database using <code>RSQLite</code> with the following code:<pre><code>dbfile=\"Path/To/field.sql...
How to load a Spatialite layer into R?
gis
2017-03-15T09:01:03.080
[ { "message": "In order to style a map comprised by OSM data (shapefiles), I want to use rule-based style.This is very handy, however: the data has so many attributes with lots of values that I somehow loose the overview. Suppose I want to style different road types. In the properties window, I open the \"fields...
QGIS: get unique values of chosen attributes when editing layer style
gis
2017-03-15T11:14:36.843
[ { "message": "I have India country WMS layer, and I want to add label for each state and point or small circle for each state. I created a layer from GeoServer using a PostgreSQL database. Using the database how can I show the labels and points for each state with OpenLayers 3?", "role": "user" }, { ...
How to add multiple labels and points in OpenLayers 3 using WMS layer
gis
2017-03-15T11:38:26.617
[ { "message": "I'm having trouble serving a layer using the Cartodb JS API. Essentially, the script is being refused because of MIME type. I notice <code>?callback=vizjson</code> has been appended to the end of the URL (see error below) but I haven't specified this to apply anywhere in the script (see immediatel...
MIME type not executable error in CartoDB
gis
2017-03-15T11:46:55.230
[ { "message": "I am trying to convert world coordinates to pixel coordinates. The problem is, some files (shapefiles) do not convert as it should. The lines are slanted or moved, they should look exactly as when I load the file for display.The reason I am converting the lines is because it needs to display in Ad...
Converting Map coordinates to Screen
gis
2017-03-15T12:50:30.243
[ { "message": "With FME 2017 I have to export multiple (205) feature types coming from an SDE Database. I have loaded them into Workbench which creates 205 separate Readers and I now have to create a writer for each one to export into a different format which is obviously very time consuming. Which is the best m...
Reducing number of connections required in FME
gis
2017-03-15T15:11:05.973
[ { "message": "In Attribute Table, there is a form view instead of the table view and the label of listing on the left side can be customized using preview expression. So the user will notice a friendly and meaningful listing. I can customize it manually but I'm creating an automation plugin to load and configur...
Customizing the Preview Expression of a Form View using Python
gis
2017-03-15T15:54:58.747
[ { "message": "In QGIS I have two shapefiles: one point layer representing power plants (654 elements) and one polygon layer representing cities and villages connected to gas grid (1348 elements). For every power plant I need to find all the areas, which are maximum in 10 km distance from the plant. What I can i...
Distance from points to borders of polygons in QGIS big data set
gis
2017-03-15T16:01:42.067
[ { "message": "I made a new shapefile and then in ArcMap, with editor, made a new polygon and gave it a color by clicking the little color square in the Table of contents(TOC). Later on I saw that I needed to make another symbol inside the polygon I drew. So I drew a small circle inside the polygon(still using e...
Giving different colours to two different polygon symbols in same shape layer?
gis
2017-03-16T07:39:01.913
[ { "message": "I'm trying to apply the OS QML (Full Colour) styles to OS Vector Map District shapefiles in QGIS 2.18.0 . Mostly, it works OK sometimes but I am having problems styling the roads.Roads are styled using a number of different layers as shown in the guidance image provided by OS. <a href=\"https://i....
Styling OS maps in QGIS 2.18 with QML
gis
2017-03-16T11:47:56.223
[ { "message": "I have a set of 1000 points which I have added a buffer of 100m too. Then I extracted by mask those 1000 points that have the 100m buffer added from a land use land cover (LULC) raster data set. Now I have 1000, 100m circles of raster data. The attribute table for 1000 LULC data still counts the c...
Raster Land Cover Land Use Data added to vector polygon attribute table
gis
2017-03-16T15:32:42.380
[ { "message": "I have this error when I run some of my python scripts. It does not always occur. It always happens at the END of the script, (all script actions finish!!)I mainly need to fix it because it is annoying and it prevents me from stringing separate scripts together.The traceback I get is:<pre><code>...
QGIS / pyqgis error: wrapped C/C++ object of type QProgressBar has been deleted See log for more details
gis
2017-03-16T16:44:41.293
[ { "message": "I am trying to get (print out) all unique values of a field named <code>PhaseAtt</code> in a group of shapefiles which all have that field with different unique values<pre class=\"lang-py prettyprint-override\"><code>import arcpyfrom arcpy import envprint \"Satrted\"env.workspace = \"C:/Phases\"f...
Arcpy Get Unique Value
gis
2017-03-16T21:48:19.327
[ { "message": "I have downloaded FnodeTnode Tracer plugin from Pitney Bowes plugins repository website. It was just the MBX file that I have to regester it into my MIPRO and did it. I have water distribution network with different levels of data. Now, I wanted to Trace the Water network End to end. I have select...
Using FnodeTnode Tracing Extension in MapInfo?
gis
2017-03-17T05:48:12.660
[ { "message": "I have some rows in the AttributeTable where I want to copy some entries from one column to another. I thought that the best way to do this was in the field calculator and use a <code>CASE WHEN</code> expression followed by <code>IN</code> (and the references I want to update) but I'm not sure whe...
Copying some entries from one column to another with QGIS field calculator?
gis
2017-03-17T07:30:45.877
[ { "message": "I have some rows in the AttributeTable where I want to copy some entries from one column to another. I thought that the best way to do this was in the field calculator and use a <code>CASE WHEN</code> expression followed by <code>IN</code> (and the references I want to update) but I'm not sure whe...
Copying some entries from one column to another with QGIS field calculator?
gis
2017-03-17T07:30:45.877
[ { "message": "I have a QToolButton that I want to add to an existing toolbar. Using the Python Console in QGIS 2.14.12 to debug, here's the code fragment that I'm having a problems with:<pre><code>iface.toolButton=QToolButton()iface.toolButton.setIcon(QIcon(\"C:/Users/Rudy/.qgis2/python/plugins/sandbox/icons/ac...
QGIS: add a widget to a toolbar other than the Plugins toolbar
gis
2017-03-17T07:40:16.717
[ { "message": "There are several posts (<a href=\"https://gis.stackexchange.com/questions/25043/can-qgis-read-spatialite-views\">1), <a href=\"https://gis.stackexchange.com/questions/176652/creating-spatialite-view-in-qgis\">2)) and manuals to create a spatial view within a Spatialite Database and to work with i...
How to make a Spatialite View (with geometries) for QGIS based on two table
gis
2017-03-17T08:48:41.880
[ { "message": "With a lot of help from gis.stackexchange.com I've created leader lines for point symbols. The lines are based on a geometry generator symbology:<a href=\"https://gis.stackexchange.com/questions/227108/shortening-line-geometry-using-expression-dialog-in-qgis\">Shortening line geometry using expres...
Creating leader lines for moved labels
gis
2017-03-19T20:12:41.663
[ { "message": "With a lot of help from gis.stackexchange.com I've created leader lines for point symbols. The lines are based on a geometry generator symbology:<a href=\"https://gis.stackexchange.com/questions/227108/shortening-line-geometry-using-expression-dialog-in-qgis\">Shortening line geometry using expres...
Creating leader lines for moved labels
gis
2017-03-19T20:12:41.663
[ { "message": "I already use another library \"shapefile\", which was easy to import. However I just installed shapely 1.3.3 for windows (which still has an installer) and cannot import it. I tried it the same way as with the other library (import shapely) after the installation, but it only throws the error:<pr...
Shapely in Spyder for Python 2.7
gis
2017-03-20T10:32:29.343
[ { "message": "Is it possible to add a simple show/hide button on the leaflet map which will allow the user to see the legend on choice?Here is my code for the legend: <pre><code> var legend0 = L.control({}); legend0.onAdd = function (map) { var div = L.DomUtil.create('div', 'info legend'), ...
show/hide button for leaflet legend
gis
2017-03-20T11:00:49.957
[ { "message": "I have a simple <code>Leaflet</code> map to which I've added two functionalities: measure tool using <a href=\"https://github.com/jtreml/leaflet.measure\" rel=\"nofollow noreferrer\">leaflet.measure plugin;WMS getFeatureInfo popup using the <a href=\"https://gist.github.com/rclark/6908938\" rel=\"...
Disable Leaflet WMS getFeatureInfo popup while using the Measure tool
gis
2017-03-20T13:08:50.953
[ { "message": "I have multiple land cover rasters for each year (i.e. 2002, 2003, 2004...etc.) and each of them have five land cover classes. I would like to set up evaluation rules in ModelBuilder. An example of a rule would be: can't have class 2 or 3 and then have class 1. To clarify, if 2002 had a value of 1...
Compare multiple rasters with consideration to order over time
gis
2017-03-20T14:59:22.447
[ { "message": "I have a simple Leaflet app that maps some custom points (bars, restaurants, etc...). <a href=\"https://i.stack.imgur.com/MpXs3.png\" rel=\"nofollow noreferrer\">Currently, when the user clicks on on of the marker icons, a popup appears that displays a hyperlink of the location's name (ex: Slim's ...
Modal for hyperlink in Leaflet app
gis
2017-03-20T18:21:26.390
[ { "message": "I'm trying to retrace my steps from a few months ago. I'm working on a project where I have 161 points in a shapefile. I'm hoping there's a python script for selecting each point by the row, exporting it, and creating a 2.5 mile buffer around it. What I meant by retracing my steps is that I've ...
Iterate select attribute and buffer creation
gis
2017-03-20T20:12:11.783
[ { "message": "Linux Mint 17.2.After trying to reinstall QGIS through various processes referred to on SE, AskUbuntu &amp; anywhere else*, I get various unmet dependency or held broken packages errors.Even with adjusting the repository details from saucy or xenial to trusty etc, I still can't get anywhere.I hav...
Linux Mint: QGIS won't install
gis
2017-03-20T21:55:01.373
[ { "message": "I'm facing a problem with a process which should be straight forward, namely transforming a bunch of lines sharing their end nodes to a polygon. The thing is, it just does not work. I tried a dozen of methods, went through validation and cleaning steps to make sure the data is OK, read dozens of o...
Transforming lines to polygons not working in QGIS?
gis
2017-03-21T00:50:29.200
[ { "message": "I am new in the field of geospatial analysis and I'm trying to learn how to process satellites images for remote sensing purposes. I think that my problem is a very basic one.I'm following some tutorials that suggest to download Landsat CDR from Earth explorer provided by USGS. Unfortunately, desp...
USGS Landsat: Use of earth explorer
gis
2017-03-21T12:52:58.120
[ { "message": "I am developing qgis plugin.<pre><code>class HyperspectralClassifier: \"\"\"QGIS Plugin Implementation.\"\"\" def __init__(self, iface): . . self.dlg.pb8.clicked.connect(self.plotspect) def savitzky_golay(y, window_size, order, deriv=0, rate=1): try: window_size = np.abs(np.int(wi...
How to call function inside another function in qgis python plugin?
gis
2017-03-21T15:48:41.687
[ { "message": "Is there a parameter for WCS 2.0.1 <code>GetCoverage</code> requests which will sample underlying WCS data and return a dataset of a particular size? Similar to the <code>height</code> and <code>width</code> parameters in WCS 1.x.x?", "role": "user" }, { "message": "WCS 2.0 is devided ...
WCS 2.0.1 GetCoverage Result Size
gis
2017-03-21T16:07:48.050
[ { "message": "I am working with the Modis version6 NDVI/EVI 16 day composite dataset (MOD13Q1). I am developing a automated algorithm to download, aggregate, and processes the dataset. Therefore, I do not want to use the MODIS specific tools, but use the gdal library to reproject the dataset to UTM 13N. However...
Modis V6 SRID Information
gis
2017-03-21T16:15:05.037
[ { "message": "I have some polygon data<pre><code>first;1;MULTIPOLYGON (((30 20, 45 40, 10 40, 30 20)), ((15 5, 40 10, 10 20, 5 10, 15 5)))second;2;POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))third;3;POLYGON ((35 10, 45 45, 15 40, 10 20, 35 10), (20 30, 35 35, 30 20, 20 30))</code></pre>and points<pre><code>1,3...
Postgis AddGeometryColumn for WKT with different types i.e. Polygon and Multipolygon
gis
2017-03-21T16:47:06.760
[ { "message": "I have multiple overlapping polygons that represent fire perimeters. Each polygon has several attributes including year. I'm turning this shapefile into a raster in ArcGIS 10.5 and I'd like for the most recent year to be on top. Currently it seems to be placing them randomly.", "role": "u...
How to control which overlapping polygon is assigned using polygon to raster?
gis
2017-03-22T02:47:58.830
[ { "message": "How do I generate five random points within each of three polygons with a minimum distance of 100m? I am using QGIS 2.18.4 and 'Random Points Inside Polygons (Fixed)' Sampling Strategy 'Point Count' 5 and min dist 100. I am currently only returning a single random point in each polygon rather than...
How to create multiple points inside polygon in QGIS
gis
2017-03-22T03:28:49.873
[ { "message": "I am trying to open a jp2 image in QGIS, running on an Ubuntu laptop. The file is only 144 mb, but when I attempt to open it my memory usage spikes (16gb) and then my entire swap partition fills up before QGIS crashes. <a href=\"http://files.hawaii.gov/dbedt/op/gis/data/Hawaii_Landsat_Mosaic_Bathy...
jp2 crashes QGIS
gis
2017-03-22T07:39:09.213
[ { "message": "I have calculated the NDVI image and overlain GPS coordinates for a pack of wild animals over the top.I would like to calculate the average NDVI of all the GPS points, and then calculate the average for all of the random points that I have also put over the top. I would like to do this for the ent...
Calculating average NDVI for GPS coordinates using QGIS?
gis
2017-03-22T11:02:20.960
[ { "message": "I am searching for a solution for my current OpenLayers 3 application. We are now in need of adding what seems to be map routing. I have a small area, a building and a parking lot (about 5 or 6 acres) that does not have normal roads populated on it in OSM. I need to be able to add functionality so...
Map Routing in OpenLayers 3
gis
2017-03-22T19:25:05.030
[ { "message": "In R library <code>ggmap</code> there is a function <code>get_map</code> which saves a file (or at least have saved files automatically two or three years ago). Now <code>get_map</code> is not saving anymore, although the parameter <code>filename</code> gives no warning, no error.<pre><code>m &lt;...
R get_map returns map correctly, but filename argument does not work?
gis
2017-03-22T20:37:35.323
[ { "message": "Is there a way to transform a shapefile's datum from WGS 1984 to NAD 1983 in QGIS 2.18.0? In the picture I have attached, the green dots are points that were collected in the field using a Trimble R2 receiver, which by default, collects coordinates in WGS 1984. The red dot is a benchmark with know...
Performing QGIS Datum Transformation from WGS 1984 to NAD 1983?
gis
2017-03-23T16:32:41.937
[ { "message": "I have a shapefile with something similar to <a href=\"http://spatialreference.org/ref/epsg/mgi-austria-gk-east/prettywkt/\" rel=\"nofollow noreferrer\">EPSG Projection 31256 - MGI / Austria GK East. However, the EPSG code states a false easting value of 0, while my prj file contains 750000 (that'...
ogr2ogr: define own false easting value?
gis
2017-03-23T16:45:46.390
[ { "message": "I have a number of tif files. These tif files have white background and black contours. What I want to achieve is to make this white background completely transparent. I tried a lot of <code>gdalwarp</code> commands, but to no avail:<pre><code>gdalwarp -srcnodata 255 -dstalpha ... # completely tra...
How to create transparent tif images using GDAL?
gis
2017-03-23T17:27:20.077
[ { "message": "I have a number of tif files. These tif files have white background and black contours. What I want to achieve is to make this white background completely transparent. I tried a lot of <code>gdalwarp</code> commands, but to no avail:<pre><code>gdalwarp -srcnodata 255 -dstalpha ... # completely tra...
How to create transparent tif images using GDAL?
gis
2017-03-23T17:27:20.077
[ { "message": "I have a numpy data processing loop that repeats ~50,000x and outputs ~23 data values. I want to write this data to the attribute table of my ~50,000-point multipoint feature class. With each loop, I generate 8 individual values, plus 5 sets of three values. (I'm still deciding whether to group th...
Fastest way to write large numpy arrays to feature class: as rows, or as columns?
gis
2017-03-23T23:49:25.493
[ { "message": "I am seeing artifacts and markers are getting cut-off on my map. Zooming in and out can also leave an 'imprint' of what the map looked like before - either for a few seconds or until you refresh the page. What could be causing these issues and how could I fix them? I've added screen-grabs below.<a...
Carto: Markers being offset or cut-off on polygon & marker map
gis
2017-03-24T13:41:30.463
[ { "message": "I was wondering if anyone would be able to tell me the difference between UTM UPS GDA94 (set on my GPS) and GDA94/MGA zone 56, the nearest equivalent I can find in ArcGIS (under Projected Coordinate Systems - National Grid - Australia).When I import GPS coordinates (UTM UPS GDA94) into ArcGIS in a...
Difference between UTM GDA94 and GDA94/MGA zone 56
gis
2017-03-25T11:17:36.557
[ { "message": "I am new in analyzing raster datasets in R. I am trying to get Malawi's forest cover data at a lower administration level ( traditional authority level). So I downloaded shapefile at Traditional Authority level, and also got the Hansen data from Global Forest Change website (raster data). I can ex...
Extracting value from global forest cover
gis
2017-03-26T10:39:15.010
[ { "message": "I've to create dissolved buffers from multi-point input features. In the example below, the input table contains 4 features. Feature <code>#2</code> consists of two point geometries. After creating a buffer, I get 4 polygon geometries:<a href=\"https://i.stack.imgur.com/1lF6H.png\" rel=\"nofollow ...
Create dissolved buffer from multi-geometry (Union by shared attribute and spatial intersection)
gis
2017-03-26T11:53:02.870
[ { "message": "I am not familiar with geographic coordinates systems.Initial dataI found these data, and I know that the position is in Paris, but I don't know how to \"read\" them.<pre><code>603536, 2429320</code></pre>Systems of coordinatesWith <a href=\"https://epsg.io\" rel=\"nofollow noreferrer\">https://ep...
What is this system of coordinates and how to convert to lat lon with R?
gis
2017-03-26T12:17:34.970
[ { "message": "I'm trying to find ZIP Code Tabulation Areas for the list of 2010 Census block codes.How to get ZIP Code Tabulation Areas for Census block code?", "role": "user" }, { "message": "This example uses ArcGIS Desktop 10.4 with shapefiles downloaded from TigerLine. Blocks are for Denver Cou...
How to find ZCTA for the 2010 Census block code?
gis
2017-03-26T14:16:07.053
[ { "message": "I am trying to standardize map export for some of my maps with ArcPy. In the ArcGIS interface, I would click <code>FullExtent</code> before exporting (<code>File --&gt; Export map</code>), so that the full map is covered in the image file.With ArcPy, I have not understood how this works. Currently...
Center map before exporting to jpeg with ArcPy
gis
2017-03-26T16:50:25.727
[ { "message": "I have layers loaded from PostGIS into QGIS(2.14). Since it is a database and I try to respect the normalization rules, datas are not always stored directly into the layer table, and sometimes they exist as an ID number. With the \"value relation\" setting in the field properties I can display the...
Display value relation QGIS
gis
2017-03-27T06:58:05.077
[ { "message": "I know it's possible to query products for Sentinel 2 via their SciHub, or using a tool like <a href=\"http://sentinelsat.readthedocs.io/en/master/\" rel=\"nofollow noreferrer\">http://sentinelsat.readthedocs.io/en/master/However, I need to somehow, given a product ID, get a URL to a specific band...
Sentinel2 : get JPEG200 bands only
gis
2017-03-27T12:51:08.150
[ { "message": "I stumbled upon the map of <a href=\"https://www.openstreetmap.org/relation/1453306\" rel=\"noreferrer\">Yellowstone National Park on OpenStreetMap:<a href=\"https://i.stack.imgur.com/htpkB.png\" rel=\"noreferrer\">Is there a particular reason for this map to be so strange?the borders of the park ...
Why is Yellowstone so empty on OpenStreetMap?
gis
2017-03-27T19:16:42.897
[ { "message": "I am using arcmap 10.1 and working in a personal geodatabase. I am trying to add a sequential number to an [encounterID] field to populate a [sightingID] field. What code would i use? For example I want to sequentially number my encounter ID's and populate the sighting id field as it appear in the...
Field calculator add sequential number to text field to populate a unique ID
gis
2017-03-27T20:35:36.813
[ { "message": "I have a short script that I am using to process roughly 5,000 NetCDF files so that I can extract a single raster layer. This is not difficult, and I have a short script that does it as follows:<pre><code>x_dimension = \"lon\" y_dimension = \"lat\"band_dimension = \"\"dimension = \"time\"valueSele...
NetCDF to Raster: Dealing with Memory Leak
gis
2017-03-28T04:51:39.813
[ { "message": "I'm running this script to iterate through layers, zoom to them, then export each as a pdf but I keep getting this error: <pre><code>AttributeError: 'str' object has no attribute '_arc_object'</code></pre>I'm not skilled enough at python to interpret this error message. Here's my code:<pre><code>i...
Arcpy debug question
gis
2017-03-28T09:21:28.840
[ { "message": "i have some troubles to get RGB true colors image from sentinel satellite bands<a href=\"https://i.stack.imgur.com/qxwa7.jpg\" rel=\"nofollow noreferrer\">wich produce this<a href=\"https://i.stack.imgur.com/KuoS7.jpg\" rel=\"nofollow noreferrer\">to me it looks not natural at allalso i have tried...
get rgb images from sentinel-2 using gdal
gis
2017-03-28T13:12:26.830
[ { "message": "When using the title method, can it only be used on a string or can it run through an entire field and update Names to proper case in a table? <pre><code>str.title()</code></pre>I have tried the following and it did not work;<pre><code>arcpy.title(table,'Field')</code></pre>", "role": "user" ...
Updating String title() for field in attribute table using ArcPy?
gis
2017-03-28T20:54:58.580
[ { "message": "<a href=\"https://i.stack.imgur.com/MzmMw.jpg\" rel=\"nofollow noreferrer\">I am Using QGIS 2.16.1. When I open the Google satellite image by using open layers plugin I am getting watermarks on it. So many time I uninstalled and installed. Even I installed new version of QGIS. I went through the s...
Getting watermarks on my satellite image
gis
2017-03-29T10:45:37.710
[ { "message": "I currently finished adding all the needed attributes for my research. I would like to map these attributes. Is there any way to do so? The original method I was taught was to select: on the map and then add the attributes individually.However, I added the attributes first by mistake. As in when ...
Mapping a feature from the attribute table in QGIS?
gis
2017-03-29T13:43:48.927
[ { "message": "I am looking for Zipcode data with the +4 digits at the end for a City (I can use it by state and clip the points to my municipal boundary). I called the post office and had no luck (national customer center in Memphis, TN- claimed that their +4 ZIP Code GIS Layer is not for the public). Would any...
US ZIP Codes +4 By State or County- Shapefile (or table/dbf)
gis
2017-03-29T13:45:32.567
[ { "message": "I am looking for Zipcode data with the +4 digits at the end for a City (I can use it by state and clip the points to my municipal boundary). I called the post office and had no luck (national customer center in Memphis, TN- claimed that their +4 ZIP Code GIS Layer is not for the public). Would any...
US ZIP Codes +4 By State or County- Shapefile (or table/dbf)
gis
2017-03-29T13:45:32.567
[ { "message": "I am attempting to recreate a layout from ArcGIS in QGIS. One of the advanced label options in ArcGIS is to force horizontal labels outside a polygon. You can optionally choose which quadrant the labels fall in.<br>This question is related, but the labels are parallel with the polygon perimeter:...
In QGIS, how do you place horizontal label outside polygon border?
gis
2017-03-29T20:40:03.507
[ { "message": "I'm using QGIS 2.0.1. I want to compute areas (in km^2) of all municipalities in Mexico. I understand that I need to convert my map from WGS84 to UTM to get units in km, but I'm not sure how to account for the fact that Mexico spans six UTM zones (from 11N to 16N), or which CRS I should pick from ...
CRS for calculating areas in Mexico
gis
2017-03-30T07:56:13.130
[ { "message": "I have crossed a polygon layer with a dataset, and I can color the polygons depending on the value of one dataset variable. Is it possible with the builder to allow the user to switch the variable in which the polygon colors are based?", "role": "user" }, { "message": "You can <code>ST...
Change variable in which polygon colors are based (in Carto)
gis
2017-03-30T12:53:30.430
[ { "message": "I am trying to combine two JS functions in a WMS; drawing features and getting/showing the coordinates of features, e.g. by clicking the drawn features afterwards. I can manage to draw features by using this openlayers example; <a href=\"http://openlayers.org/en/latest/examples/draw-features.html\...
Openlayers JS issue
gis
2017-03-30T14:25:29.097
[ { "message": "I am trying to create a script that makes a copy of the same feature class within the same file GDB by using the \"copyfeatures\" syntax which works fine. I am then trying to iterate through a list of .mxd's within a certain directory and find any .mxd with the feature class that I made a copy of...
Replace Feature Class with Another Feature Class inside an .mxd
gis
2017-03-30T16:37:54.960
[ { "message": "I have nine fields in a shapefile and want to use Python to change the values of those fields. The value would be given by the user.The attributes selected would receive the input value each time the script is run. If the first field is non-zero, it would be compared to the value input and if they...
Changing field values selected attributes of shapefile in ArcGIS desktop?
gis
2017-03-30T19:17:44.190
[ { "message": "I'm writing a custom function in the Field Calculator (QGIS 2.18.5).Creating a new function from <code>Function Editor</code> > <code>New file</code>, I'm able to start using a default function called <code>func</code>:<pre class=\"lang-py prettyprint-override\"><code>\"\"\"Define new functions us...
Using list of values for custom function in QGIS Field Calculator?
gis
2017-03-30T21:27:23.323
[ { "message": "I'm trying to load an Environment Agency GML file into Postgres/PostGIS using ogr2ogr. The file loads fine, all the other data is there, but when I check the table in the database there is no geometry column. As it is a polygon dataset this is a problem!ogr2ogr command is:<pre><code>ogr2ogr -f \"P...
Loading GML data into Postgres - No geom!
gis
2017-03-31T13:38:56.340
[ { "message": "I have a WMS service which is distributed by the national organisation of my country. However, I want to process these data, but it's impossible due to WMS service is provided as a map. Can I find any tool which allows me to convert the WMS service into vector data?I have tried to export the WMS s...
Converting WMS services into vector data using ArcGIS Desktop?
gis
2017-03-31T22:26:57.233
[ { "message": "I can find nearby features in a layer by using <code>QgsSpatialIndex</code>: <a href=\"https://gis.stackexchange.com/questions/59173/how-to-find-the-nearest-line-to-a-point-in-qgis\">Finding the nearest line to a point in QGIS? Using this method, we need to feed in all existing features and query ...
Querying indexed vector layer (finding nearby point)?
gis
2017-04-03T06:56:31.120
[ { "message": "What does it mean \"Source image must have a geo transform matrix\" during gdal_translate when I want to export geotiff to .hgt file. I know what a matrix is, but don't know how to make one.", "role": "user" }, { "message": "The source code of the driver is at <a href=\"https://trac.os...
Geo transform matrix
gis
2017-04-03T09:36:47.283
[ { "message": "I have one elevation file (SRTM) and one satellite imagery file (sentinel-2), both are in GeoTIFF format.The elevation file has a much larger area covered.Here is the <code>gdalinfo</code> of the elavation file:<pre><code>&gt; Driver: GTiff/GeoTIFF Files: C:\\DEV\\3D\\Assets\\Heightmaps\\nv\\full....
Matching two rasters with different projections and resolution
gis
2017-04-03T13:35:45.687
[ { "message": "I am trying to create random points along a line, however I only want to do it in the selected area. Is there a way to do this?", "role": "user" }, { "message": "At the moment, the Random points along line tool creates random points on all lines in your layer regardless if the <code>Us...
Putting random points only on selected parts of a line in QGIS?
gis
2017-04-04T17:53:05.827
[ { "message": "I have read the <a href=\"https://www.census.gov/geo/maps-data/data/tiger-line.html\" rel=\"nofollow noreferrer\">\"technical\" documentation for the TIGER geographic datasets and they fail to describe the way the geometry is encoded. The document claims that the shape files encode the geometry of...
Spec for TIGER all lines files?
gis
2017-04-04T18:26:39.753
[ { "message": "Using ArcGIS Pro 1.3.1 I have created a scale bar using the Scale Line 1 Metric template with a few modifications like:Show one division before zeroDivisons: 11Subdivisions: 10Label Position: Below centerLabel: KILOMETRESIt appears as below:<a href=\"https://i.stack.imgur.com/azBg5.png\" rel=\"nof...
Increasing Offset Y for Units and Numbers of ArcGIS Pro scale bar does nothing?
gis
2017-04-05T06:11:37.307
[ { "message": "I used the code:<pre><code>arcpy.ExcelToTable_conversion(XLSfile, DBFfile)</code></pre>The data comes across looking fine, but all text fields in the dbf have length of 254. Is there a way, either in the excel file before I export it, or in the dbf after or during the export, to specify the lengt...
When converting xls to DBF table, can I change the length of text fields?
gis
2017-04-05T16:31:51.230
[ { "message": "I’m having trouble obtaining crs values for geodatabase feature classes in fiona (version 1.7.5). Specifically, the crs attribute returns empty for many of the geodatabases I try to read. This is not an isolated incident -- it occurs frequently with OpenFileGeodatabase types.For example...<pre><co...
Blank crs attributes in fiona: Can't get proj4 parameters from OpenFileGeodatabase
gis
2017-04-05T20:33:52.743
[ { "message": "How can I add <a href=\"https://carto.com/location-data-services/basemaps/\" rel=\"nofollow noreferrer\">Dark Matter from carto.com in my QGIS project?As WMS by example or with a plugin.", "role": "user" }, { "message": "You can use <a href=\"https://plugins.qgis.org/plugins/quick_map_...
Use CartoDB Dark Matter basemap in QGIS
gis
2017-04-06T07:37:47.477
[ { "message": "I am using ArcGIS Online and Collector to conduct field surveys. I have a 'Web Map' (call this 'Web Map 1') that is 'served' to Collector which has a single point feature class in it. This point feature class collecting one item/feature that has a time date stamp to it. This all works fine. In ord...
Arcgis online and Collector: Controling shared maps and data
gis
2017-04-06T11:36:07.280
[ { "message": "I want to create a label expression with two lines of text, this should be simple but I'm having a lot of trouble. Basically, I need the top line to be 10 pt font, and the next line to be 8pt font that is italicized.This is what I have: <pre><code> def FindLabel ( [LABEL1], [LABEL2] ): ret...
Specifying Font Size/Style in Label Expression?
gis
2017-04-06T12:28:34.500
[ { "message": "I would like to download a terrestrial image from a WMS server. The Save as option in QGIS didn't work, so I tried to download it with the r.in.wms command from the GRASS shell as described at <a href=\"https://gis.stackexchange.com/questions/190927/save-a-wms-layer-on-your-hard-drive-via-qgis\">S...
GRASS r.in.wms: HTTP Error 505
gis
2017-04-06T13:02:11.307
[ { "message": "I'm smoothing a 2 meter DEM using the Gaussian filter in SAGA through QGIS/Processing and the smallest amount for the smoothing of the Standard Deviation value of 1 which for me is too much, it all gets way too blurred. Is there another way of smoothing my DEM with either another approach (I use M...
SAGA Gaussian filter lower value than 1?
gis
2017-04-06T14:26:23.063
[ { "message": "I'm using QGIS 2.18 (Las Palmas).I have an attribute table with 75 municipalities and around 50 attributes. I would like to creat a map for each of the attribute (always showing all of the municipalities at once) in graduated categories (preferably with values). I know that by using the Atlas-Func...
Automating Atlas to create maps for all Attributes
gis
2017-04-06T15:15:28.263