Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
1
6
title
stringlengths
15
150
text
stringlengths
15
28.9k
1
What are the implications of using .NET Generics to store ArcObjects?
I'm wondering what are the implications of using Generic types in .NET to store ArcObjects, such as ILayer, IField, etc. The compiler throws me a warning when using these kind of values public class Foo { private List<ILayer> fooLayers; public List<ILayer> FooLayers { ...
100000
ArcMap Change Values Greater than Standard Deviation of Mean to Zero
I have a feature class with greater than 1000 features and I would like to change all values greater than 2 Standard Deviations to a Zero. Seems like I could possibly use Field Calculator for something like this but I'm not exactly how to attack it. I'm not seeing a way to even calculate the Standard Deviation from wit...
100004
User prompt not working
I created the following "trial.py": import arcpy #Get Name Name = str(arcpy.GetParameterAsText(0)) Then I created a toolbox using ArcCatalog and then added a script, pointed the above script file. When I run from the ArcMap/Catalog by double clicking on the script name, it wont give a pr...
100008
Using network analyst new closest facility to calculate certain routes but not others?
I'm working on calculating a variety of distances between many points using network analyst using ArcGIS 10.2. Using the new closest facility option, I have 100,000 facilities and 100,000 incidents, and I want to calculate specific routes: Location 1 to Location 1, Location 2 to Location 2, etc. I don't care about calc...
100009
A simple geotool app example
I've been playing around with the GeoTools libraries, but I can only show shape files and no custom layers. Requirements are that it must use the SWTMapPane and not via the static SWTMapFrame.showFrame(). I'm looking for sample code that just creates features, say points, give it a style and show it on the pane. Load s...
100010
Writing shapefile with projection defined crashes fiona
I've just started trying to use Fiona to write out shapefiles. I found the example code below, which seems to work fine from shapely.geometry import mapping, Polygon import fiona # Here's an example Shapely geometry poly = Polygon([(0, 0), (0, 1), (1, 1), (0, 0)]) # Define a poly...
100011
How to load image tiff to postgresql without use raster2pgsql
I can loading raster data by raster2pgsql. But i don't want use command line. I want build a desktop application. I want use C# or Java or matlab to loading raster data without use raster2pgsql. Can you guide me to do it ? Sorry for my English not good. Thank for your help.
100013
Open source, Python option for Arcpy's Con tool?
I'm wondering if there is a method to perform a function similar to Arc's Con tool, using open source options in python. I have two rasters, one that shows locations of clouds and the other is just a landsat band. If a value is >x in the cloud raster, I want to take the pixel from the landsat band, and if it's
100014
Obtaining DTED1 or 2?
I've been looking around the internet and I can find freely available DTED0, but I am struggling to find databases for DTED1 or 2, even to purchase. Can anyone point me at a place that sells these (or has them freely available)? I am familiar with the USGS elevation data, but looking specifically for DTED.
100015
Placement of Save Button in ArcGIS Javascript AttributeInspector dijit
I am having a problem with an AttributeInspector that I noticed also exists in an online sample here: http://developers.arcgis.com/javascript/samples/ed_attribute_inspector/ If you click on a polygon to display the AttibuteInspector, you will notice that hovering your mouse over the upper right of the delete button sel...
100017
How to sort Google DynamicMapsEngineLayers?
I tried to add several Google Maps Engine layers using the following code: gmeLayer = new google.maps.visualization.DynamicMapsEngineLayer({ accessToken: token, layerId: layerId }); gmeLayer.setMap(map); I would like to display the ploygon layer on the bottom and point layer o...
100021
PyQGIS: Programmatically Adding Point Features via QgsMapToolEmitPoint
I've created a map tool for QGIS 2.0 Python plugin that emits a point with the click of the mouse. I'm trying to create an edit tool, adding a point feature at the emitted point while selecting another layer's feature at the same time. The map tool was created under **init** like so: def __init__(self, if...
100025
qgis's georeferencer renders my white map with a translucent blue tint, can I prevent this?
I'm running QGIS 2.0.1-Dufour on MacOSX and when loading a PNG or TIFF into qgis as a raster its always getting rendered with a blue tint. Here's what it looks like before being loaded into QGis's Geoferencer. ![](http://i.stack.imgur.com/aTWnC.png) and after: ![enter image description here](http://i.stack.imgur.com/wN...
100026
How to make a Python script that does a task in QGIS?
When I run this code in QGIS Python console it works fine, but I want want to run it from an external Python script. What I want the script to do is: 1- Open QGIS 2- Run this code 3- Close QGIS from qgis.core import * from qgis.gui import * from qgis.utils import * from PyQt4.QtCore import * ...
100027
change raster values in a specific region on a single band
I am currently using ERDAS IMAGINE 2013. I have a 28 Band MODIS image. In one of the bands, I need to change the values of a certain region. I tried the following: 1. Load the .img file into IMAGINE. 2. Set the red channel to the band or layer which I need to change the values. 3. Create an AOI of the region in w...
100028
Pan Geotiff View to input coordinates in QGIS
New to QGIS. Does QGIS has a tool that allows for user to input the coordinates eg UTM and then set the view to the input coordinates. Here I am working with a geotiff that has embedded UTM coordinates within it. Do I need additional plugins? Thanks
100030
Point Sampling Tool does not preserve set layer order in a qgs project
My qgs project contains multiple raster layers in a certain order. It also has a point vector layer at the top position. I used the Plugins -> Analyses -> Point Sampling Tool to extract the raster values at the point positions. This operation created a new point shapefile. I opened the attribute table of the new point ...
100034
How to mouse hover on kml layer in arcgis javascript api
I am using ArcGIS java script API for map. i want show an popup info window when mouse hover on kml layer.I am trying this code for and using mouse-over event , But this is not working on kml laye. my code is: var kmlUrl = "http://www.arcgis.com/sharing/rest/content/items/a7c2aaaa083741f58825cc3f39c53a22/data"; ...
100037
Is it possible to add XML data as DataStore inside GeoServer?
I have multi-polygon with feature information in `xml` Some kind like below: <polygon> <color>red</color> <coordinates> 125.94517419942997,37.080000000100085 125.94999027762935,37.080000000100085 125.95022867891055,37.07970855050934</coordinates> <polygon> <polygon> <colo...
10004
Assign Z value to start & end of PostGIS line
I have a line table in my PostGIS database and a table with invert levels for the start and end of each line. My goal is to create create 3D lines in my table, from my invert data. I know I can use st_makeline to recreate the line with a 3D point at the start and end but I was hoping to be able to run a update just on ...
100040
Mapping application basic for ruby on rails
I am new to build map application using ruby on rails, with rails 4.1.1. I want to create map using map tiles. i have to use PostgreSQL database with postgis. Can you please explain how this flow will work ? Form where i have to start for map creation and display. Thanks, Ghanshyam
100041
Asking about OFTInteger data type in OGR/GDAL?
I created the shape file by using the feature field type: OFTInteger. But when I open the file in Arcgis (ArcCatalog) the data type is: **Double (not integer)**. Do you know how to fix this (I want it is Int) ? Please see my codes: OGRFieldDefn oSHToBDField( "SHBANDO", OFTInteger); poSHPLayer->CreateF...
100046
SetSpatialFilter worked unexpected when using ogr by python
I am using ogr python binding to read the shapfile, this is the code: ..... bbox="POLYGON ((20.18164062 30.63867188,20.63867188 30.63867188,20.63867188 30.18164062,20.18164062 30.18164062,20.18164062 30.63867188))"; print "fs:before:",datalayer.GetFeatureCount() datalayer.SetSpatialFilter(bbox...
100047
Animation and zooming in OpenLayers
I need your help. I'm learning to use OpenLayers (version 2.13.1) and I've made some custom buttons to test the controls. Now, I have a button which is bound to a simple setCenter() method that works as it should. Then I have another one that is bound to a function that looks like this (I'm using the spherical mercator...
100049
GeoExt showcase examples
I would like to showcase as many online GeoExt applications as possible to show a number of GIS colleagues what can be done with GeoExt and how different organisations are using GeoExt to distribute mapping information. Does anyone have any good examples of GeoExt applications which are publically available on the web ...
100051
How to convert gps receiver native format to google lat long or XY format
I have received some GPS co-ordinates in the following format like - "17267690N 078279340E".. How to convert the co-ordinates to show it on Google map.
100052
Error message of "Unable to open input file <D:\waveform\Grass/f_format>: Too many open files"
I'm using GRASS 7 under Windows 8.1 x64. Sometimes when using the r.to.rast3 Grass Gives me the error message of "Unable to open input file ... Too many open files". I have reduced the number of opened files to 3, but still receiving the same error message. I think it has something to do with the region set parameters....
100056
Counting all features in all layers of ArcGIS map to get grand total?
I have 20-50 polygon layers in an mxd and I want to find out the aggregated amount of all features (global count). The shapefiles which are the source of those layers are stored in different folders. Just knowing the count would fulfill my requirements because it is just a quick check before I go on processing these fi...
100057
Looking for a good solution to have GPS position on KMZ files on Android platform
I'm looking for the best solution / app on the android platform to show my GPS position over a KMZ file, possibly offline. Here is what I've tried to do: 1. Google Earth Android app I downloaded KMLZ to Earth app and Google Earth app. Now I can open my KMZ files stored in a Google Drive with Google Earth, but GPS pos...
100058
Convert Arcpy results to feature class in ArcMap 10.1
I am using ArcGIS 10.1 and am a newbie in Python. Currently we are executing stored procedure (from sql server) through ArcPy in ArcMap. I want to create feature class from executing following python script. I researched on Google but unable to find proper way/parameter in ArcPy. Currently going through following param...
100059
Extract address data / Query point in administrative boundary
I try to create a DB in postgreSQL with all the postal adress data for a specific country. Actually I have this table full of data: > id integer NOT NULL DEFAULT nextval('plz_id_seq'::regclass), > country_code character varying(20), > postal_code character varying(20), > city_name character varying(180), > ...
100060
Map.MouseLeftButtonEvent not fired with EditGeometry in Silverlight
We have a Silverlight viewer using the ArcGIS 3.1 API. With the EditGeometry object, you're able to edit the objects in the map. You can ask the geometry after every action (moved, turned...), but I need the geometry at every moment while dragging the geometry. Therefore, I need to know when the dragging started. Norma...
100062
Convert Google Street View urls from OLD to NEW
My website accepts google street view links as submissions. Google has updated the url format some months ago. Does anybody know how the old format is converted into the new format (and vice versa)? There are some parts obviously in common, others I cannot associate. Here is an example of what the urls look like. OLD: ...
100065
How to check VALUES from different datasets spatially near with ArcGIS10
I need some suggestions, let's see: I have two heavy polyline datasets, from different sources, so they will never be coincident (it doesn't matter this issue). **Both have the same field from which I need to work**. These string fields has 3 possible values. So, I need to check if every polyline, which is more or less...
100066
CartoDB "Error loading rows, check your SQL query" & "There is a pb with your connection"
I have been trying to install my own CartoDB server for a few weeks. I succeeded to install each part with no error (after few corrections) with this tutorial. Make check with CartoDB-SQL-API and Windshaft-CartoDB are ok! I can import data : when I am in my dashboard, I can see my file with its 193 rows. But when I try...
100069
Geoserver auto rollback after JBoss Restart
I deployed Geoserver 2.3.5 inside JBoss successfully , but when i restart jboss all the changes made to the geoserver getting vanished and a fresh geoserver get start up how to solve this issue i also like to know how to use data directory of geoserver like we do in tomcat
100071
OpenLayers: Show a styled title similar to pop-up but always visible?
I need to basically create boxes with titles inside, set to different styles (different coloured box, different FontAwesome icon etc.) set to specific points on the map, ideally replacing the label titles for LinePoint features. What would be the best/most ideal solution? I presume creating pop-ups that are always "pop...
100074
How are minor tributaries determined?
What are the criteria to determine if river A is a major or minor tributary to another River B? Is stream order the only deciding factor i.e. the highest order is the main stem, one less order is a major tributary and one more lesser order is a minor tributary? I haven't been able to find any literature on this online.
100076
Generating multiple visibility bearings in ArcGIS as automated procedure?
As a relative newbie to GIS, I'm quite sure there will be a way to do this in GIS (probably most efficiently by writing a python script!) but (to me anyway) this is a fairly complex thing to do and I have no idea where to start. I know I am going to have to learn python and I'm happy to do this if it's going to allow m...
100078
Run this module in GRASS 6.4.3 command line in Windows 7 or QGIS Grass Module
I have GRASS 6.4.3 running and working in windows. I would like to use this script (http://grasswiki.osgeo.org/wiki/AVHRR) Scroll down to Import to see the code. I have the correct EPSG set but still not luck even with the comment below. # Convert and import SST maps for file in *pfv50-sst*.h...
100079
dojo/parser::parse() error TypeError {stack: (...), message: "Cannot read property 'toString' of undefined"}
I'm trying to get the overview map example working from here: https://developers.arcgis.com/javascript/jssamples/widget_overviewmap.html in my site. I have two errors. Chrome gives the one above in the title and IE gives "dojo/parser::parse() errorTypeError: Unable to get property 'toString' of undefined or null refere...
10008
How to georeference a scanned map in ArcMap 9.3?
I want to georeference a scanned map of Sudan (Africa) as .jpg file format,coordinate points are marked on scanned map in 4 degree intervals. I am not familiar to georeferencing in ArcMap. So looking for a detail guide line for georeferencing in ArcMap (using 4 control points) and also looking for a guide line to edit ...
100080
how to not print scalebar and how to print the zoom bar that shows on map
I am using javascript api for ArcGIS and need to print the zoom bar on map, but don't want the scale information to be printed. How can I achieve this?
100081
How to create labeling similar to this map?
Any ideas on if ArcMap is able to create labeling similar to this map? Ie. 95xx or 9500 is listed outside of the units and the the actual last 2 digits are listed within so that each unit does not have 4 digits labeling inside? ![enter image description here](http://i.stack.imgur.com/uJfHk.gif)
100082
GRASS GIS v.in.ply
I'm trying to import a .ply file from MeshLab 1.33 into GRASS GIS 7.0 using v.in.ply addon, but I get the error message: ERROR: List index must be integer, is uchar This appears to be referring to the faces element of the file: element face 50000 property list uchar int vertex_indices property list uchar float texcoord...
100084
Use chart widget with selected item in search widget in arcgis viewer for flex
Am a newbe with flex api for arcgis. I started with arcgis viewer for flex (uncompiled source) and I added the search widget, what I want to do is to have multiple selection with graphic search( selection method: add to current selection) and then click a button "finish" so as to have a chart with the statistics of the...
100085
QGIS Fill Ring tool problem
Using the new (in 2.2) 'Fill Ring' tool and it doesn't seem to work correctly in all cases. It seems that if I try and digitise the new ring close to the polygon boundary, TWO (or more) geometries will be created (and will get prompted to fill the attributes for), one for each adjacent polygon. If I digitize the ring a...
100088
QGIS GRASS plugin: r.composite quality loss
When using the r.composite tool within the GRASS plugin in QGIS, the result raster has a cell size of 150x150 while the input rasters have a cellsize of 30x30. Can this be overcome somehow or is this a consequence of the tool? Data used: Landsat 8, QGIS version: 1.8.0, Operating system: Windows 7.
100089
"General function failure." creating Table with ESRI File Geodatabase API
**What I'm trying to do:** I am creating a C# .NET application for my organization to convert a folder full of shapefiles into a file geodatabase system. **What do I have?:** My application reads the folder of shapefiles, and puts them into memory. All shapes have been successfully converted to a list of custom objects...
100091
Bounding geo points
I am kinda new to geo data processing. For my sample project I am trying to solve next problem. I have array of geo points. If we place it on plot we can visually see that there are areas where density is higher. I need to find this areas. I heard about R-tree's and bounding box. But can someone advice me on what way s...
100094
Able to plot on map but having trouble with st_contains
I am new to working with GIS, and am building a rails app that uses the rgeo gem and PostGIS. I am trying to use geospatial data to determine the school district for a house. The house is represented by a point, and the school districts are represented by multipolygons. I have successfully plotted both on a map, and al...
100095
Error when running a geoext example
I have the following source code (MapAndTree.js). This file belongs to a extjs 4.2 MVC app: var mypanel = Ext.create('GeoExt.panel.Map', { border: true, region: "center", // we do not want all overlays, to try the OverlayLayerContainer map: {allOverlays: fal...
100098
Script to turn layers on/off in Data Driven Pages?
I'm working with Data Driven Pages to create a map series of communities (points). I'm using Model Builder to create a line poly feature for each community. The line poly shows the time away from each community by hour to a max. of five hours by road. With Model Builder, I can automate the creation, symbology, and addi...
100099
Is there a way to clip a polygon layer according to DEM elevation?
I have a polygon layer on top of a DEM. Is there a way to clip the polygon layer according to elevation, ie the clipped result being only those areas of the polygon layer between x and y altitude? The result needs to be a vector layer. Many thanks in advance.
100100
Project point to map with Arcpy using GPS Coordinates
I am trying to create a new layer with just a single point using arcpy. All that is provided is a gps lat and long. It seems like it should be a simple problem but I just can't get it to work. I've determined the error is that I'm not using the correct spatial reference (the point I get right now is next to the equator...
100101
Why OSM data has different attribute values from the same element and same time frame?
Here is my question: Does anyone know why OSM has different attribute values from the same element and same frame time? The example explains itself, when I try the Shapefile from different mirrors like **Planet.osm.org** , **bbbike.org** and **geofabrik.de** ; I find that they have a mistake with the Direction of Trave...
100102
creating shortest route using line segment layer as network locations
Using Arc10.2.1, trying to create a truck route that begins at one location on a county street grid and ends up in the same place, obeying a feature class of guard rail line segments throughout an entire county - we need the shortest possible. I need to use these line segments as network locations. However, the only li...
100105
Is it possible to incrementally update added/edited datasets to ArcGIS Online?
My organization would like to run change detection and update our ArcGIS Online data incrementally. Rather than re-uploading the entire data set every time we want to update the map. We are a city government that has constant edits being made to all of our data. We'd like to use FME to detect changes to the data and pu...
100106
Apend child to a layertree with nodeType: "gx_layer"
Im building an application with geoext and opengeo suite SDK. I´m trying to create a layer tree with some "grouped" layers like the last node here I saw somewhere that I should set the node Type to "gx_layer" to get that effect, but if I do that then the entire tree won’t load. I only get the root node and when I click...
100107
OSM exports at different scale to what is on screen
I am using ArcGIS 9.3.1 I have added OSM as a WMS layer. I have a map set up how I want it to look in the layout view. When I go to export the map, whether as an image file, or in AI, which is the format I want to use, the map comes out looking different to how I have it on screen, basically the text on the OSM layer i...
100108
Using IGeoProcessor2 to update Oracle Spatial
In the below example the input and out are shape files read from folders.Is it possible to read and write Oracle Spatial Geometry tables? I have ArcGIS,ArcSDE and Oracle Spatial 11g. How to set parameters to create a new Geometry table if it does not exist? How to append the data if a geometry table already exists ...
10011
Best practices for identifying training sites
Prior to image classification, collection of training sites and obtaining a signature file is the most critical step. Field visits with a reliable GPS Unit is usually the first step followed by overlaying the points on the to-be- classified image. Other than this when identifying training sites on satellite images, esp...
100110
Upload data to GeoServer through REST API using non-admin account
I'm running into some problems when trying to upload a shapefile to GeoServer through the REST API using a non-admin account. Uploading geometry succeeds but uploading the corresponding style fails with a 405 error stating that "The specified HTTP method is not allowed for the requested resource ()." I'm interacting wi...
100111
Extracting outtermost points from a irregular grid of points
Good day to all, I am using Arcmap 9.3, and would like to remove all points inside an irregularly placed grid, except the outermost (boundary) points. For example, I would like to keep the black dots, while removing the gray dots. I have over a million points, therefore manually editing the shapefile won't be very effi...
100112
arcpy pantoselected error
I am trying to get an user input for getting a parcel name and pan the map to that selection. What am I doing wrong in the code below? import arcpy #Msg box to get parcel Name parcel_Name = str(arcpy.GetParameterAsText(0)) arcpy.AddMessage ("Loading parcel " + parcel_Name) try: ...
100113
Using GDAL inside MATLAB in Ubuntu
I'm trying to use `gdal_rasterize` inside MATLAB via UNIX or system MATLAB command system('gdal_rasterize'). Despite this command working in my console terminal, I get the following error inside MATLAB: > gdal_rasterize: symbol lookup error: /usr/lib/libgdal.so.1: undefined > symbol: pj_ctx_alloc Any...
100115
How to select records in a table based on attributes in related table
I am using ArcMap 10.1 and Python I have a list of addresses to geocode, but I want to thin the list because I only need a specific area of the addresses. I have a layer containing the streets in my area, and I have a layer containing the streets outside my area. I have added my CSV table to the mxd and related it to m...
100119
How to make a routable graph from a Point and a Line shapefile, using Networkx?
I have one shapefile which consists of all the streets in the study area, and another shapefile which has points representing origins and destinations. I would like to know if it's possible to find shortest path between all origins and destinations, using the links in the link shapefile? I primarily use Python, Network...
100120
ArcPy Append Ignores Domains
I've been working with the append tool inside arcpy and discovered that, even though I have domains constraining the values of some of my columns, I never receive an error when the domains are violated. I've read through the documentation for the append tool, and it doesn't discuss this in any way. Other google searche...
100121
Reprojecting a raster DEM from meters to feet using QGIS?
Is there a tool in QGIS that does the same as reprojecting a raster DEM from meters to feet as in ArcGIS's 3D Analyst > Raster Math > Times ? ![screen shot](http://i.stack.imgur.com/4HvB5.png)
100122
Can a custom add-in execute code upon install of the .esriaddin
I have made a custom add-in using C#.NET(a toolbar that contains buttons) and I was wondering if it is possible to have some code execute upon the install of the .esriaddin file. Basically I want to create a directory with some map templates on the users computer. I can just add the DirectoryInfo di = Dir...
100124
How to convert MXD to DWG File
I have been trying to export from MXD format to DWG format without much success. I used the Export to CAD conversion tool in GIS 9.3 but it only converts the lines and polygon.. etc to DWG format and NOT the colors and texts that are also included in the original MXD file. Any idea of how I might be able to convert the...
100126
Assigning a changing value to a variable in ArcMap using Python
I have two lists/strings/sets (the exact format can easily be changed) of values (u and v). I would like to do a cost distance analysis between each point in u and all points in v. For this, I need to assign a value to the source and destination variables (n and m). I would like to do this using an automatically revolv...
100127
Is there a way to add Common Fields to multiple Feature Class's in ArcCatalog?
I've got a File Geodatabase that has many different feature class's. Now versus adding common fields one feature class at a time to the attribute table is there a toolbox or way to add a field to multiple feature classes at once?
100128
does anyone have any links to free gis university courses?
Just wondering if anyone knows of any free Study resources for GIS, cartography or Photogrammetry from recognized universities? Language can be english or german.
100131
Show Geometric Network Topology data in the web
I am trying to locate any API's for JavaScript (or other) that will help me to display current linear Geometric Network Topology and add multiple point/line geometry from JSON in HTML/JS. I specifically need to have my users perform typical tools like trace route and analysis in web interface on this linear network. I ...
100132
Where is it Possible to Find DTED0 Set?
As I understand, DTED0 should be available for free. Yet, I am not able to find any download link. Everything that Google search brings up (eg. http://geoengine.nima.mil) is dead and not working.
100133
Adding combined footage to points from the beginning of a line
I'm trying to add the footage of each point from the beginning of the line to the end. There are around 4k vertexes between the two ends that I need to put the footage from the beginning of the line and adds footage as it goes down the line. An example would be three points total with 50 ft between them. The first poin...
100134
downloading data from UNdata onto ArcGIS 10.1
http://data.un.org/Search.aspx?q=population I am trying to download data from UNdata and successfully opened one link of raster data, however the data that I really desire won't open on Arc. I hit the download button and it gives me the choices of XML, Comma, Semicolon, and Pipe. I can download the XML to a zipfile to ...
100140
Change Attirbute Name (Fiona)
I have a shapefile that has 2 attributes named "X" and "Y". I want to change this to "Lon" and "Lat". My (limited) experience tells me that I should read in the original shapefile, preserve the original driver, crs, make a new schema with "Lon" and "Lat" defined, and then write a new/new named shapefile. Is there a qui...
100142
Why do text boxes and arrows shift position when exported from print composer to jpeg QGIS 2.2
I have created a map using a 1:20000 WMS layer. On top of this I created a shapefile layer tracing a mapped stream. In print composer I added a couple of text boxes with arrows pointing to certain sections of the stream. I then exported this as a jpeg to insert in to a report in MS Word. Unfortunately, the exported ver...
100149
ENVI5.0. Is it possible to use "Quickmap" option? How to create a simple map?
I used to work in ENVI 4.8, but now have to move on ENVI5.0 I found it was changed a lot comparably with the previous versions, obtained many good new options, but some old options, in ENVI4.8, are disappeared or so significantly changed, that it’s not easy to find them quickly. ENVI4.8 has a good simple option to crea...
10015
How to make MapInfo able to edit geographic data from PostGIS?
I'm using MapInfo 10.5 to read geographic data from PostGIS 1.5.2. After a pg_dump/pg_restore to another PostGIS-database on another server I'm trying the same via a VPN-tunnel. When I open a table I get the message "Map objects cannot be edited" and then I can't edit the geometries. The other attribute data is editabl...
100150
Obtaining the coordinates of point through arcpy
I have a feature selected from a feature class based on user input through arcpy. How can I obtain the x,y coordinate of the selected point feature class (Points). How do I do this?: arcpy.AddMessage ("Coordinates: " + Points.getSelectedExtent().X)
100151
Moving data frame to particular X.Y location using real world coordinates?
My mxd file has multiple dataframes. How do I move a given dataframe to a particular location within the main dataframe in the layout view to a particular x,y location given by user. The location x,y would dicatate the center of data frame to be moved.
100154
How to undo misclicks while drawing a polygon?
I'm trying to draw some polygons in QGIS 2.2 and I lose it, because everytime I misclick, I don't find a way to undo that point and start drawing again. I'm sure there's a way. Does anyone know it?
100155
ArcGIS Label zoom visibility
ArcGIS 10.2.2 on Windows 7 32 bit (new Win 7 computer arriving tomorrow). I'm a complete novice to ArcGIS starting now (June 2014), so speak loud and slow... I have 10 years of experience with GIS - just not ESRI, so I know what I want to see, now how do I see it?? I've checked the Help, but following the guidance does...
100158
How to split a (road) buffer using the centerline?
I have a road centreline dataset which I have buffered using the road width. I used the standard QGIS buffer tool. I realise for my analysis I actually need to split the road buffer in half and essentially create a 'right' and 'left' side of the road. My idea is to use the QGIS processing toolbox buffer and select the ...
10016
Geoserver installed successfully but WFS doesn't work
I installed GeoServer 2.1 RC1. It installed successfully, but when i click on WFS in services category, i got the following message. Oops, something went wrong... Sorry, something unexpected happened on the server. Here's an error report you can include in a JIRA bug report about this issue: org.apache.wicket.WicketRun...
100162
Exporting well data from IHS Kingdom in a format that plays nice with ArcGIS
A coworker of mine has a bunch of well data (including georeferencing and attribute tables) in IHS Kingdom. We need to convert this data into a format that works with ArcGIS (e.g. .shp files). Unfortunately, it looks like the only options for exporting are as follows: .wtv2 - Tobin Well .asc - Landmark Well 2.x/3.x .as...
100164
Is it possible to create shapefiles in ArcGIS and convert into SpatialNET?
I'm looking at the prospect of working for a client who has implemented a SpatialNET solution. I have never used SpatialNET and primarily have experience with ESRI and Autodesk products. The client and Synchronoss (who owns SpatialNET) have both told me that the only solution is to purchase a SpatialNET license and VPN...
100166
ArcGIS Javascript API: Get Map Object from DIV
So I am currently writing an application using the ArcGIS JavaScript API, and I want to access the map object that is held inside of my div from a js module I have. I was thinking it would be a simple JQuery call but it doesn't seem to be the case, as when I try to use `map.centerAndZoom()`, it states that it is not a ...
100168
How to add polygon height in QGIS or PostGIS?
Is there an easy way to set the height of polygons in QGIS or PostGIS? I am trying to visualize polygons by turning them into volumes (same shape at the base and roof, but with walls). I would then like to visualize the polygons in qgis2threejs. Preferably the height would be just a column in the attribute table. Or a ...
100170
catchment area using SAGA and Arcgis 10.2
I would like to calculate catchment area. I used D8 algorithm and running in both arcgis 10.2 and SAGA GIS 2.1.2. However, the results from two software are different. The lowest value of catchment area in arcgis = 0; high value = 109325, while SAGA GIS lowest value= 625, highest value=47820. I think the result should ...
100172
Loading graph (.grf fle) into MXD using ArcPy?
I have hundreds of pairs of FGDB and associated MXD files. I need to insert a graph in each mxd linked to its corresponding FGDB. No problem creating graph, but stuck on how to get graph into mxd file using arcpy. If the graph creation code is run inside the mxd manually, the graph appears, but I need to do it in the p...
100173
Bootstrap3 Resize map height for phone
I have a leaflet map in a bootstrap 3 html application. I have content both above and below the the map which has a height of 600px. When I access the application from a phone, the width of the map adjusts to the the width of the screen. However, the height of the map does not update and you end up with a seemingly end...
100177
How to open QGIS using VBA?
Using VBA, I want to open QGIS (the actual GUI) and execute a simple script through the Python console or the editor.
10018
Where can I find the latest WMX (JTX) Object Model Diagrams for ArcGIS 10?
I'm looking for a version that includes ESRI.ArcGIS.JTXUI--I'm hoping someone knows of an updated and online version of `C:\Program Files\WMX\Developer Kit\Diagrams\ObjectModel.pdf`. For reference, I'm on ArcGIS 10 SP2: * ObjectModel.pdf is dated: 10/27/2010 * SDK.chm is dated 6/4/2010 _So these weren't updated by...
100182
How to use an existing database to authenticate users in GeoNetwork
By default GeoNetwork stores users and groups in two tables named `users` and `usergroups` in the configured database, in my case a PostGIS database. For our webgis application we have already an existing database with users, groups and roles. Is it possible to use the same database to authenticate users in GeoNetwork ...
100184
Batch raster conversion
I want to do conversion from WCG to UTM for my 172 Raster, I can't use normal batch because I I can't re-arrange again the order of raster in Table of Content because the result are random name in same folder, so I need to do Raster Projection Conversion without change the name and extention, only the output folder. Ho...
End of preview. Expand in Data Studio

CQADupstackGisRetrieval — BEIR, unified schema

A normalised copy of the dataset behind the mteb task CQADupstackGisRetrieval, one of the tasks of the BEIR benchmark as mteb defines it (a member of the aggregate task CQADupstackRetrieval). Same queries, documents and relevance judgements as the benchmark evaluates — reshaped into one strict schema shared by every dataset in this collection.

Source mteb/cqadupstack-gis @ 5003b3064772 (the revision pinned in mteb)
Domain · languages stackexchange · eng
Queries / documents / qrels 885 / 37,637 / 1,114
Qrels per query min 1 · mean 1.259 · max 22
Score values 1 ×1,114
Layout queries · corpus · qrels, split test
License cc-by-sa-4.0

Schema

config columns rules
queries id: string, text: string ids unique and non-empty; every query has ≥ 1 qrel
corpus id: string, title: string, text: string title is always present ("" when the source has none)
qrels query-id: string, corpus-id: string, score: int32 referential integrity to both tables; no duplicate pairs; no floats

Files are Parquet, sorted by id, zstd-compressed, sharded at 500 MB. Every rule above is enforced by a validator before publishing; provenance.json records the source file hashes, what changed, and the output file hashes.

What changed from the source

  • byte-preserved all text — no whitespace, newline, or control-character normalisation
  • cast qrels.score double -> int32
  • kept 4 documents whose text is identical to another document's — a property of the source; note that models embed such documents identically and retrieval ties among them are broken by corpus order
  • renamed _id → id
  • renamed source splits (queries←queries/queries, corpus←corpus/corpus) to test

Load it

from datasets import load_dataset
queries = load_dataset("Hyukkyu/beir-cqadupstack-gis", "queries", split="test")
corpus  = load_dataset("Hyukkyu/beir-cqadupstack-gis", "corpus", split="test")
qrels   = load_dataset("Hyukkyu/beir-cqadupstack-gis", "qrels", split="test")

License and attribution

The data is redistributed under the source's terms — cc-by-sa-4.0. All credit belongs to the original authors; see the source repository and the references in mteb's task metadata (http://nlp.cis.unimelb.edu.au/resources/cqadupstack/). This repository is an independent repackaging and is not affiliated with the RTEB or MTEB maintainers.

License discrepancy. The upstream dataset card declares cc-by-sa-4.0 while mteb's TaskMetadata declares apache-2.0. This card carries the upstream value as the more conservative choice.

Downloads last month
44