Tag Info

New answers tagged

1

First, you should confirm that the edited layer is visible(clicked in layers section).You can also check the color set by default by QGIS for new digitized features. If the two are ok and the issue persists you can first digitize the features then edit their attributes later. Hope this helps !!


3

Using Field Calculator, you are able to create an expression for the calculation of each row in a given field. There are two languages that you can use to write the expression: VB and Python. At the top of the calculator, you'll see where you can choose which language should be used to interpret the code you have entered. If you select VB, you need to ...


2

Field Calculator. Right Click on Total_acci, select Field Calculator. You'll get an option to build a query. Add the other three fields together. If those are not an option, you may need to change the data type using ArcCatalog.


1

To change the strange letters, rightlick on the layer in the table of content, -> Properties, General tab. There you find the Data source encoding combo box. Depending on the source of your data, utf-8, System or some windows codepage will bring you the correct display of the data.


0

Unsplit Line (Data Management) Merges lines that have coincident endpoints and, optionally, common attribute values.


2

If all values are the same, just open your attribute table. choose the column you wish to modify, add the value you want and click on update. You can also look at a useful plugin called MMQGIS. Where you can export import CSV files....


0

I would like to add to tr3v's statement about field naming. I had my Search results working (able to zoom to the features, the features were displaying on the map) and there were rows added to my attribute table--but I could not figure out why the rows were blank. Turns out I learned the hard way that field naming is case sensitive... Damn! that was a few ...


1

Why not just use the Delete Field tool within the Fields toolbox? ArcToolbox --> Data Management Tools --> Fields --> Delete Field Choose your input table/feature class, and select the fields you want to remove. If you want to script it out to delete certain fields every time, it'd be pretty easy. arcpy.DeleteField_management(in_table, ...


0

I had the same problem. It was a bug in QGIS Browser 2.2 (https://hub.qgis.org/issues/10461) It was apparently solved (https://github.com/qgis/QGIS/commit/2f6e6ca060ebeb8e84bafaa0ce4c7ab875ddf2a1)


0

As I mentioned in comments, no join is currently possible because there are no records in one table to join those from the other to. The simplest, easiest, fastest thing to do is create your line features and enter a unique ID attribute for each record that is found in the table you already have. You can then join your table to the features using that ID ...


1

You can import your data to postgis via shp2pgsql Then you can use an intersection sql like: *Update mine set your_column =k.park_name From park as k Where intersects(st_pointonsurface(mine.the_geom),k.the_geom) and st_pointonsurface(mine.the_geom)&&k.the_geom* Or you can use simple intersection. Note that intersection function return true even ...


0

You may use this python field calculator function (make sure you enable the python parser): def findValue(val): found = val.find('1A3') if found > -1: return val[:3] else: return '' # returns empty string if characters are not found Here is the function call: findValue(!myFieldToPerformFindOn!)


1

Right click your field that you want to calculate values into, click Field Calculator. Select Python parser. FieldName = !AAAA![:3] Will bring the first 3 numbers/letters into your new field. Then dissolve on that field by the value. This should give you groups of your values. If that is what you are looking for.


1

OK, so you basically need to compare each of the records in table 2 against each record in table 1. To me that suggests you are going to need a loop of some sort. You could either use a loop (or nested loops) inside a Custom Transformer, or you could do an alternative type of loop using a list. For the Custom Transformer, check out this FMEpedia example, or ...


0

I am a bit confused by your image. It looks like you're trying to join two tables. But your resulting table appears to have incorrect values in Field 2. I'm going to assume you're trying to join the two tables based on the ID field. This is a fairly straightforward process in FME. You can use the FeatureMerger Transformer. Connect Table 1 to the ...


0

Make sure your screen resolution is as high as possible. I am using two screens at work, my laptop and a larger screen, but working at home on only my laptop. I had to expand the screen to see the table in right corner.


2

To do that is preferable create another field with Double type and copy the string field in it. For example, in the next image, I've created the string field 'myString' (editing session) and I've put in it the value "5.78453'. You can corroborate that the type is string because is left aligned. In the below image it can be observed the creation of field ...


0

When I have had this kind of problem in the past, I look in the browser developer tools to see that the request is being sent, and what is being requested. I then use the request to test directly against the rest endpoint. I.e. at https://myserver.com/arcgis/rest/services/MyService/MapServer/4/query Usually, when I get no response it is because of field ...


3

You should just need to add your Excel worksheet as a table. Then as long as that table has a field that is also present in the feature class use ArcMap (or the Join Field tool) to join them.


4

that's nearly it, but the referencing of the field should be done on the field list, not the field name fieldList = arcpy.ListFields(r"C:\your.shp") for field in fieldList[19:]: print field.name


0

The configuration parameter should be objectIDs: with a capital D which I recognize now is in consistent with the JS API.


0

just to sum up, each label is a single string that is independant from the others. Therefore the easiest way is to convert your legend to graphic, then you unsplit it and edit the text line by line. However, if you have a very large number of cases, you can create a new field for your legend, based on the concatenation of your input fields. Then you use this ...


1

Since you're already looping through data.rows, which contains the data, this looks more like a Bootstrap question. I've just done an example of html table from CartoDB SQL API data with plain JS: <script> var table = document.getElementById('mytable'); var sql = cartodb.SQL({ user: 'documentation' }); sql.execute("select adm0name, name ...


2

You need to be in an edit session and have the Editor Attributes window open (Editor dropdown > More Editing Windows > Attributes). The simplest solution is: In the Attributes window, right-click the feature you want to copy from and click Copy Attributes. Right-click the feature you want to paste into and click Paste Attributes. This replaces all ...


0

It completely depends on the data entry process, but if you could redirect the workflow so that the users are using a custom script tool with a dialog box to create the features, you could set it up so the user values get written directly to the row and the fifth column gets calculated when the users submit the changes. A python add-in might work. The use ...


0

You could write a Class Extension and register it with the table. It will then receive all create, update, delete events for the table. In those event handlers you would run your specific logic to calculate the value for your 6th column. See: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#//000100000201000000


1

You would need to use database triggers for that (which is supported only when storing data in a DBMS). If you are on file/personal geodatabase, you would need to run a Python script that would calculate the columns regularly (scheduled in Windows as a task, for instance). There is no way you could implement database triggers in a file geodatabase; there ...



Top 50 recent answers are included