Tag Info

Hot answers tagged

8

Did you check the Making hyperlinks with relative paths link in the help file? Are the hyperlinks truly relative to the location of your *.mxd?


6

I'm not aware about using VBScript in QGIS as Python tends to be more commonly used. But yes, there is a similar functionality. You can set up Actions in QGIS, by using Python or shell commands, to perform certain tasks for specific fields: You can access these actions when using Identify Features which will provide you with the list of actions you set ...


5

(1) and (2) are possible with eVis plugin (Documentation). Ad (3): You should be able to use Field Calculator to add the path to the filenames you already in attribute table. Field calculator is described here: http://www.qgis.org/wiki/Calculating_field_values. You can use + operator to concatenate strings.


5

When you use attachments, the source files are imported into the geodatabase and are stored as binary objects (BLOB). This makes it possible to store your related centralized. You have also much more options for automating the process of importing related data, such as with the Generate Attachment Match Table GP tool which will let you go through the files' ...


4

If I understand correctly, you might try something like the replace() function: replace(!FieldName!, "Old Value", "New Value") Here is a link to the ESRI support page for it: http://support.esri.com/en/knowledgebase/techarticles/detail/20119


4

I made just a couple of modifications to your script. I fixed your fields variable so that it would not throw an error. Previously, you did not have it wrapped as a string, enclosing with single quotes fixes that problem. This also allows you to expand the script to include additional fields if need be, with a minimum of fuss. It also lets you get rid ...


3

You can create a column in your attribute table called "Link" and add the link you like to each point. In the properties menu, you can create a action. Select "Open" as type and give it a name. Klick on add attribute and add the action to the list. You can open the link by klicking on the points with the info-arrow. See also this: Create a hyperlink to a ...


3

It is easy to add a field to use for your hyperlinks and update it to be the concatenation of two fields for path and file names using the Field Calculator. However, it sounds like you want this to happen dynamically, so my recommendation is that you add your vote to the ArcGIS Idea to Add the ability to add dynamic calculated field with formula based on ...


3

ArcGIS has 2 standard ways to define a hyperlink: field based: Only one hyperlink for one feature. dynamic: multiple hyperlinks for one feature. To set a dynamic hyperlink for a feature, click on that feature with the Identify tool. This is an ArcWatch article about hyperlinks. Summary of workarounds to use multiple hyperlinks with field based ...


3

Why dont you import the MS tables into a Geodatabase? Linking from a static MS database table may not produce the results you are looking for, as you will need/want to load the data (maybe multiple data layers) and open it into ArcMap. You may also what to symbolize these layers. If you are planning on viewing this in ArcMap, why not build a MXD project ...


2

Something like this should work: from os import startfile from os.path import abspath, dirname, join proj = QgsProject.instance() urfile = str(proj.fileName()) path = join(abspath(dirname(urfile)), "HyperlinksTest", "[% PDF %]") startfile(path) You can just paste this in as in you don't need to have it all one one line.


2

Hyperlink Doesn't work that way. Hyperlink wants a file (specific) or URL to open and the application to open it with. You could use it to open windows explorer to a folder with some command line switches, but would probably need to disable the data execution prevention settings. Then perhaps feed in a search string but I haven't found a switch for it.. ...


2

You can do field based hyperlinks (using hyperlink tool), however you have to choose the Script option and modify the script slightly to point at your second or third field, see instruction below: Go to layer Properties>Display tab Check Support Hyperlinks, then toggle the Script radio button Click on the Edit button Update the VBS function to point to ...


1

You need to create a point file from your georeferenced photos (if you haven't already) and include the file-path of your image in the attribute table (which again may already exist depending on how the geo-ref photos have been created). It is then possible to use hyperlinks that will open your photo as a pop-up when you select the point in the map view. ...


1

You do not need to use evis plugin. The actions menu will allow you to open a link stored as attribute value. Please see the following section of QGIS documentation : http://www.qgis.org/en/docs/user_manual/working_with_vector/vector_properties.html#actions-menu On the "Layer properties" > click Action. Method A : Then enter the type of the action ( I ...


1

The bug was fixed installing the Service Pack #5 of ESRI. The JUMP function works fine in ArcMAP 10.0 with SP5.


1

You can try to explore the GEOPDF function within ArcGIS. You can access the functionality by Selecting File>Export then select "PDF" as your Save As Type. Click the Advanced Tab and select "Export PDF Layers and Feature Attributes". See Image below for presets. In order to access the content in the PDF: First you will need to open the area that the ...


1

You use the Identify tool to see the 1:M relationship and then you can use the hyperlink. In this example I have a point dataset called testp which has a relationship with a table called ttp and in this standalone table is a field called HYPERLINK.


1

For Openstreetmap, the parameters are quite simple: http://www.openstreetmap.org/#map=10/47.1911/2.4884 http://www.openstreetmap.org/#map= : base url 10/ : zoom level 47.1911/ : latitude of center, North positive 2.4884 : longitude of center, East positive ...


1

Here is one possible approach: add a new field to the polygon layer calculate it to hold the path to the image corresponding to each polygon in the layer Properties panel, choose the Hyperlinks option, specifying the new field, and to run a script write a script which uses the AddLayer function, with the path coming from the specified field This ...


1

Both QGIS and gvSIG support hyperlinks. Generally you need a text field containing the path of the PDF document and then set the hyperlink field in the layer properties. Example in QGIS: http://youtu.be/CUxkddOP3BQ Example in gvSIG: http://youtu.be/4hW6VUwXU4M


1

Another big advantage of GDB attachments, you can have a one to many relationship with them. With hyperlinks, you cant (not easily anyhow). However, in short, database storage is more costly than flat file storage, but has benefits such as replication and easier backup strategies.


1

Danielle, Try this code below... note that if you prefix a string with r (like I did in the code), you don't need to "escape the backslashes"... With this you can specify which extensions to look for, and in what order... so for instance if you have a .pdf and a .tif of the same file, it will use the .pdf because .pdf was listed first in the fileNames ...


1

What is the bigger picture problem you are trying to solve? Maybe you want to have geolocated images as a starting point, and let that be the basis for the spatial catalogue? see http://www.qgis.org/wiki/Creating_geo-referenced_photos_for_display_in_QGIS


1

Okay I have it and it is pretty easy :) cursor = arcpy.SearchCursor("shapefile") for path in cursor: arcpy.MakeRasterLayer_management(path.getValue("location"), path.getValue("image"))


1

GeoServer does not have the ability to link to separate data sources for you, but often database products come with the ability to link external tables, you should probably look into that, and have the database in question act as the data source for GeoServer


1

Take a look at Query Layers. Load your parcel boundary layer into ArcMap Pull the information you require from your back-end Sharepoint into a stand-alone table in ArcMap (including the ID field that joins it to the Parcel) Make a join between from the parcel layer to the query layer. I believe that this link should now be dynamic and will pull the data ...


1

In the help section for the "Hyperlink Script" dialog in ArcGIS 10.0, there is a paragraph describing how to pass the current IFeature and IFeatureLayer to an ArcObjects library (presumably written in .NET). If you are able to pass an IFeature, then presumably you would be able to access the attributes associated with that feature, such as links to ...


1

Might be a file association or system environment variable issue on the users' computers (or Citrix user profile if running through that). Pick a user guinea pig and see if the script can be executed manually.



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