Tag Info

Hot answers tagged

5

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).


5

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

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

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 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


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

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

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

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

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 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.


1

To expand on my comment above - In 10.1/10.2 the export to KMZ tools as very "what you see is what you get". That is, what you see inside ArcMap is how the output KML should look. This is the reason you need either a layer from ArcMap or a LYR file for the Layer to KML tool (opposed to just features). For points, the symbology you have inside ArcMap gets ...


1

a tiling scheme like TMS is just a way of storing image in a predefined directory structure, any webserver kan provide access to this tile cache, you only need some piece of software to generate a tileset, but that can be done using a desktop tool (Tilemill comes to mind). The client should be able to figure out which tiles (==images) to retrieve from the ...


1

Building custom QGIS installers for Windows describes Customising the Splash Screen The splash screen master can be found here: images/splash/splash.xcf.bz Once again, you can open this directly in the gimp and edit it according to your needs. When you are ready to save the final splash, resize it to 600×287 pixels first. Be careful to also ...


1

So QGIS uses the NSIS Installer System (aka Winamp Installer) that creates the final result. Without trying, IMHO you need to work like this: checkout QGIS source build the windows binary add your .reg file to /ms-windows/installer files/ Modify the .nsh script that it finds your .reg and patchs the registry that way Alternativly to last steps, use this ...


1

I developed the following code that would refresh the Folder Connection in the Catalog window in ArcMap, this may help? ' Refresh Catalog Window (if open) Dim pDockableWindowManager As IDockableWindowManager pDockableWindowManager = My.ArcMap.DockableWindowManager Dim sUID As UID sUID = New UID sUID.Value = "{7F09BEFF-4F85-48A2-A3DC-39430262799E}" ...


1

This article shows how to do this in VBA (which you should be aware was removed at 10.1 and requires authorization at 10.0): Private Sub UIButtonControl1_Click() 'Ensure that there are references set to the 'ESRI GeoprocessingUI Object Library and the 'ESRI Geoprocessing Object Library. 'Go to Tools > References to do this Dim pUID As New UID pUID = ...


1

If you are making a java webabb, why not use OpenLayers (a Javascript mapping api) for displaying markers)? Or am I missing something here? I guess you could in some way generate a GeoJSON of your data, en follow some of the examples on OpenLayers Vector Layers? Here is one such example (well, generating data on the fly): ...



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