Tag Info

New answers tagged

0

Interesting question. I'm reasonably confident the answer is no. I've had a few cases where I basically wanted to do this and ended up having to create a convoluted workbench to pull one of a number of possible attributes (i.e. various spellings of "PostCode" "postcode" "POSTCODE " "Post code" etc). It's probably worth emailing support@safe.com and making ...


1

The following script performs the actions you are after using a cursor. There is a lot of error handling to deal with a lot of potential problems--remove as needed. This alters the original data, so make sure to run this on a copy to make sure the results are what you are after. I added comments in the script rather than highlighting here. import arcpy, ...


3

You can use the following Python function in Field Calculator. def remove_name(name_value, from_to_value): streets = [street.strip() for street in from_to_value.split('&') if street.strip() != name_value.strip()] return ' & '.join(streets) Copy the above into the codeblock/pre-logic script code section. You can run it once for Name_From ...


0

Follow this workflow: Open QGIS, load your Shapefile layer, and select it (i.e., make it active) in the ToC. Open the QGIS Python console. Copy the following code snippet and paste it in the QGIS Python console: lyr = iface.activeLayer() lstDelete = [] for idx in lyr.dataProvider().attributeIndexes(): uv = lyr.dataProvider().uniqueValues( idx ) ...


2

In the Buffer tool there is no Just Overlapping option, it's all or none. To make the buffers merge where overlapping and nowhere else it's necessary to buffer with dissolve of 'all' and explode the feature using Multipart to Singlepart. Now each cluster of buffers is a single polygon and you can use the spatial join tool to count the number of points in ...


0

The Spatial Join tool will allow you to count how many points are within each of the buffers. Do you also need to have the original ID's of the source points attached to the buffer polygons?


2

I don't know if this is the cause, but here are some things to check by on; without more details about the dataset and environment, it's really just shots in the dark though. My first though would be to check if the dataset in question has subtypes. If there are subtypes, you can set default field values in the fields tab of the FC properties all day and ...


1

The symbol (colour, size, etc) with which selected points are highlighted can be set on a per layer basis using the Selection tab of your layer's Properties. The behaviour you are observing where selection points become very large is probably due to you having set a Reference Scale on your data frame, and then ticking Scale selection symbols when a ...


0

I found the answer while using Wireshark to look at the web request being sent to ArcGIS server. It never sent any attribute updates, until I put the fields I tried to update into table.OutFields..


2

This is a know bug and already has a ticket: https://hub.qgis.org/issues/10976 Hopefully it can be resolved for QGIS 2.8 which will be out soon.


1

When you copy a feature, not only do you copy its visible attributes (ie. from the Attribute Table) but you also copy its invisible attributes (ie. wkt_geom which is the coordinates of the features' dimensions). So when you move your features to another geographic location, the coordinates for each dimension will also change. Therefore, I do not think it's ...


1

I would be surprised if you could alter the interface of that window as that is a core part of the desktop editing environment. I've not tried it but you may be able to capture the "on feature change" event, pass your ID value into your sub ID field but if that updates that windows I have no idea? EDIT: I have done something similar in the past, the ...


2

Go to View>Toolbar>Check Attribute. Then you will get an info icon in the toolbar. Now load a vector layer and start editing and double click on any feature.



Top 50 recent answers are included