Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
3

Reading the answer you linked carefully you can see that you could copy the shapefile whose fields you are trying to change using the Feature Class to Feature Class tool. This tool gives you a Field Map section with a list of all your original fields and the possibility to change the length property before actually copying the input sahpefile. So basically, ...


2

I found out why some fields would not follow : their content was NULL. I put a 0 in all the fields of only one feature and all the checked fields successfully exported and now show up in the destination attribute table! So most of the data cells can be NULL, but if at least one feature contains a value in a specific field, this field will be exported.


1

If you right click your layer in the table of contents, you can choose to Join data by spatial location. Alternatively, you can use the Spatial Join tool. http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/about-joining-the-attributes-of-features-by-their-location.htm


1

Maybe it is a version problem: on QGIS 3.6 it works as expected: Right click -> Export -> Save Features As.. select all fields you want to export: import in Google My Maps: all fields are present.


1

You can use the Integer64 field type to store negative integers. Although I can't find any specific reference to this.


1

I think I have found the solution to my qestion myself.In my example what I need to do is using Delete duplicates by attribute in my testA layer to generate a new layer with only two features(one is type_A,another is type_B).Next I set the coverage layer is the new layer with only two features and hidden it in the Atlas configuration .My qgis version is 3.6....


1

The question could be a tad clearer; however one answer would be to use iteration and fmeobjects within the pythoncaller. In this way all the attribute values are shifted 'leftwards' of the given order. Enter the following python code in a pythoncaller transformer. The self.attributelist variable is to be configured with the desired ordered list of ...


1

If I understand correctly... if you mean the next feature that has a value, then you can do this with the AttributeManager. I just tried it on some parks data, and this is my setup: It means that when a park name is null, then it will be given the name of the nearest park (nearest in record order, not spatially). There were three steps to set that up: ...


1

For QGIS 3 users: The function pendingFields() has been replaced by fields() for field in layer.fields(): print( "Name:%s Type:%s, Length:%s" % ( field.name(), field.typeName(), field.length()))


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