Tag Info

Hot answers tagged

6

Unfortunately, this type of modifications is not accessible via Python (arcpy or python add-ins). I believe you can change this with ArcObjects though. I recommend looking at ArcGIS Add-in, here is a good 10.1 sample to start with. The closest you can get is to create a Python add-in button on a toolbar which user can click on when having selected a ...


4

The double click is unfortunately not tied to a command, but is handled internally by the TOC contents view which displays a dialog with all property pages applicable to the active selected item. The same is done when selecting Properties.. in the context menu. There is no double click event readily available which you could subscribe to and stop its ...


4

There are preset shortcuts, but I don't now how to change them. For Zoom To Selected Feature, the hotkey is [CTRL] + [SHIFT] + [=] Read the ArcGIS Help @ Keyboard shortcuts for working with tables, for other keyboard shortcuts.


4

As I promised: here is a tutorial on creating stand-alone app that is very similar to your description (scroll page to the bottom to see the result). Unfortunately it is in Russian, but I suppose google-translate will provide some help. Also you may find some inspiration here (GeoApt spatial data browser based on QGIS).


4

QGIS alread has a GPS tracker tool. There is no need to develop something from scratch.


4

Try this: OpenLayers.Util.onImageLoadError = function(){ this.src = "images/blank.png"; };


3

You will need the QGIS libraries, along with Qt and PyQt. You didn't mention what OS you are deploying for, but take a look at bb-freeze (https://pypi.python.org/pypi/bbfreeze/) and py2app (https://pypi.python.org/pypi/py2app/) for a way to bundle up the needed dependencies.


3

You can't deploy this without access to the GAC libraries, which are installed as part of ArcGIS Desktop or ArcGIS Server for .NET; there is no way of deploying an ArcObjects toolkit without first installing the above. We deployed it with all it's library files contained in the deployment. This worked, but was completely at odds with ESRI licensing. So in ...


3

You either go to the SortCut Apps folder or to the project folder itself and simply delete the lnk file. You can also delete the .ico if you like. To add/remove other elements on the ArcPadtoday screen you can edit the XML file, in case you don't want the ArcPad default button on it. Cheers, Gareth


3

Your module IDs in your require dependency list do not match the aliases in the callback provided to require(). Things get out of whack after dojo/parser... Here's a working example with a corrected require: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta ...


3

You can use map.setMapCursor("url(custom.cur),auto") Here is the api reference


2

If you work in .NET, you could take advantage of its mechanism of assembly loading. In a nutshell, an assembly is typically loaded into memory when one if its types is first accessed. A type is first accessed when a method which contains a reference to that type begins to execute. This means that you can have your assembly reference the ...


2

Did you see this link regarding removing shortcuts? Remove Arcpad App shortcut 10.02


2

separator="true" see ESRI Link


2

You can double click a record to zoom to or you can Use AutoHotKey to write a small script for example: `::^+= pressing the "`" key would give you [CTRL] + [SHIFT] + [=] For Zoom To Selected Feature `::^p pressing the "`" key would give you [CTRL] + [p] For Pan To Selected Feature What I commonly use: This script is Content Aware so that the ...


2

With ArcGIS 10.0, VBA is no longer officially supported. You can request a VBA license for 10.0 and 10.1, but ESRI is strongly pushing people to Arcpy and C#. Older documents will still function for backwards compatibility, but if you want to create new VBA, you'll need to get a VBA license from ESRI and install an extension. See ESRI's blog post about it ...


2

There is no simple way to do what you want using current application preferences, but it can readily be done with a background plugin that loads at launch. Plugin Directory Structure CustomToolbar __init__.py customtoolbar.py icon.png metadata.txt Contents of Files customtoolbar.py - this is the main plugin Python class that creates the custom ...


2

Try Settings->Options->Digitizing-->Other settings--->enable Reuse last entered attribute values (QGIS 1.8.0).


2

You could use OpenLayers to handle both the plotting of your vector data and also use the the OpenLayers.Layer.Image to "ship" the tile for the area statically with the app. Which would allow you to update the image for the area programatically instead of using GIS tools. This may seem like an overly simple solution but I would allow you to minimized third ...


2

You can try the mapbox terrain views also mapbox.js for mobile app and Mobile SDK for iOS


2

You can remove them from ArcCatalog but I'm not sure about ArcMap. Under preferences, go to general and uncheck "Database Connections." Check this help page out too: Using ArcCatalog options Edit: 9.3/9.3.1 documentation: ArcCatalog: The Options dialog box


2

I assume you can add a tool. If you don't know this process go here. In your tool's class you will need a global variable that holds a reference to your form. In your tool's OnActivate you will create the form (if it doesn't exists) and run the Show method. In your tool's OnDeactivate you will run the Hide method. That's about as easy as it gets. Good ...


2

I confirm it is/was a bug. The Vector menu is now customizable and there are work in progress with the Raster menu. Use QGIS master if you want to see that changes.


2

I recently ran into this limitation when creating an esri addin toolbar. I was limited to the option that Chris R mentioned, creating and saving a template layer with my python code. It was fairly simple and works remarkably well. To not hard code the path to the symbology layer, I used os.path to get the path of the layer saved with the python code... ...


2

One option would be to create a color map file (.clr) you can reference in your script. Then it is simply a matter of using Add Colormap (Data Management) to assign your color map to the raster layer: arcpy.AddColormap_management (in_raster, {in_template_raster}, {input_CLR_file})


2

Rather than build a solution yourself, there is a plugin you can use. The Data Driven Input Mask plugin can handle data entry for one-to-many situations. It can also handle constraints, foreign key relationships, etc in your Postgres database.


2

I feel it is not documented but you can do it. Here it is an example: http://bl.ocks.org/xavijam/9269220 Hope it helps you :).


2

Welp, this is embarrassing but I seem to have answered my own question. :P (I'm new to 10.x, so that's part of the problem!) It's under Customize > Style Manager > Styles..., and then I just needed to click "Set as Default List." I'll leave this question up in case it helps anyone else.


2

If you are using GNU/Linux, you can go to /home/USER/.config/QGIS/QGISCUSTOMIZATION2.conf and set: Menus\mSettingsMenu=true If you are on Windows (I've tested on Windows XP), you can press Windows+R and execute the command regedt32.exe. This opens the Windows Registry. Now go to: HKEY_CURRENT_USER Software QGIS QGIS2 ...


2

Unfortunately, the only way to show the description for the map document in 10.3 is to use the Catalog window in ArcCatalog while having the Description tab enabled: By clicking the map document you want to learn more about, the Description tab will be updated based on what parameters you have edited for the map document. Another workaround is to use the ...



Only top voted, non community-wiki answers of a minimum length are eligible