14

Take a look in Action menu at QGIS documentation. You need to define an action, this could be open urls defined by a field. Open your vector's properties, go to actions and select + button. type = open. Action text = [%url_field%] and click insert. To ejecute action, click in your object with Run feature action button (attributes toolbar).


6

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


6

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


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


6

Like Maj said, I think that he easiest way to do something like you said is based om the map tips functionality. You can find the steps by step description here First you should have a file name or a path in the points layer attributes associated with your pictures. Second, edit the map tips with following HTML code : < img src="[% image %]" width=300 ...


5

At 3.8.0, here's what works for me: Create a point layer (Geopackage, shape file, etc) Create a text attribute field in the point layer: call it, say, image_path A reasonable maximum length is 320 characters, which will be able to contain the max Windows file path length. EDIT: If you are using a shapefile, the maximum length for a text field is 254 ...


5

When you created the action, make sure to use the button "update" action. I have a simple example in this video how to add actions: https://youtu.be/ONVB_lDt2O8


5

Your assumption in the last paragraph is actually true, because this has nothing to do with Mapbox GL JS, but only with basic HTML. Basically you have to define a link with the <a> tag inside your <h3> tag in the popup like this: .setHTML('<h3><a href="' + feature.properties.URL + '">' + feature.properties.Company + '</a></...


4

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


4

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


4

You can open a relative path. The path will be relative to the project's folder. If you want to check which is the project's folder path, just add an action with: explorer ., where . stands for the current folder. To solve your problem, it dependes how do you store the relative path. If your attribute values already starts with ., like .\GIS DataBase you ...


4

Okay, after much trial and error I have figured it out. I had to use a combination of URL encoding and HTML encoding. In the end, there were 3 symbols the software/browser/server was having trouble with: '&', '{', and '}' For the '&', HTML encoding was needed. For the '{', HTML or URL encoding was accepted. For the '}', URL encoding was needed. ...


4

The thing to do these days would probably be to link to a map on ArcGIS Online. You could do this by providing a hyperlink to the Webmap viewer, https://www.arcgis.com/home/webmap/viewer.html?... It should be possible to pass parameters to set the center and scale of the map in the URL, see the documentation for more details. A variation could be to embed a ...


4

For SSL (HTTPS) you will need to authenticate before you access. In QGIS>Settings>Options>Authentication [Tab] >Certificate Manager >Custom Certificate Configuration you can apply your login credentials. SSL(HTTPS) might have a time limit so you maybe have to repeat this each time you connect (depending how the server-side is set up).


4

There are several ways of getting images to pop up when clicking on features in QGIS. The most adaptable way is by setting up layer actions through the layer properties dialogue (https://docs.qgis.org/2.2/en/docs/training_manual/create_vector_data/actions.html) where you get it to open documents using the system default - this will work for either PDF or ...


4

To check the status of a webpage you'll want to use the built in urllib library. Then open the url and check the response code. import arcpy import urllib fc = r"Z:\workplace\AsbuiltPoly_copy.shp" fields = ["ASBUILT_RE"] with arcpy.da.SearchCursor (fc,fields) as cursor: for row in cursor: Roll = str(row[0]) a = urllib.urlopen(Roll) ...


4

Couple of subtly wrong things here. A file URL starts with file:///, not with file:\\\, as per the WhatWG URL specification Backslashes in JSON must be escaped (from \ to \\), as explained in this answer on stackoverflow Therefore, you should replace... "properties": { "URL": "file:\\\Z:\Fixed Line\Design ..." }, ...with something like... "...


3

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.


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

As others have stated, you should narrow down your question scope. However I decided to give an answer: is it possible to connect JSON web service to ArcGIS desktop without ArcGIS Server ? I'm using version 10.1 sp 1 Advance level. off course it is. I don't know what do you mean by a json web service! If you mean the response type (xml,json) of the web ...


3

Unfortunately, no out-of-the-box solution with arcpy and Python. This can be done using external Python packages, I am using reportlab and pyPDF2. You can approach this problem in two ways: Create a pdf file from mxd in ArcMap manually using dynamic text. You will get the path to map document in the output pdf file. Now you have to use pdf reading ...


3

The problem is in your last line: "<br />'<a href="https://metadatapdxcyclesafety.neocities.org/" target="_blank">metadata</a>"'+ You are mixing " and ' in a way that causes errors because the string ends prematurely. There's also a trailing + with no further following. You can fix this in two ways: Escape all " within the Javascript ...


3

You could have a case statement: <h3> Title Plan</h3> <p>[% case when "Title Plan" is not NULL then '<a href='||"Title Plan"||'>' else '' end case %][% case when "Title Plan" is not NULL then 'Click Me</a>' else 'No title plan available' end case %]</p> If your data is not actually NULL, and just a blank field, you may ...


2

You can do that with Actions in QGIS. Right click layer > Properties > goto the Action tab The Add default action button, can give some hints. The [% "WWW" %] is a column called WWW with hyperlinks as values. Then you can use the Run Feature Action button next to the Identify Feature button to start the action. You can also embed the url in a form by ...


2

I'm going to provide a slight variation to @Willis answer. They suggested a solution which requires storing your photos in the anticipated folder location of a map package. Whilst this appears to be the only solution I don't like it as ..\commondata\userdata is not a folder structure used by my organization. I wonder if anyone actually uses these folder ...


2

The solution was to include the photos as additional files when creating the map package, and setting the hyperlinks to the anticipated relative path (here it was ..\commondata\userdata, as discussed in the ArcMap help on laying out relative hyperlinks) in the extracted *.mpk folder.


2

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


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


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