Tag Info

Hot answers tagged

4

This can be done using a text/string field. You can limit the length to 11 characters. Alternatively, if you're using ArcGIS, you can set up a range domain. The minimum value would be 10000000000 and the maximum would be 99999999999.


2

I don't know of any tool per se, but what I have done in the past is to add a field called "List ID" then number the records in the order I want to see them and then perform a sort. For small groups it is fine; I can imagine for large groups this would be rather cumbersome.


2

MapBasic, the scripting language of MapInfo Pro, has a number of functions/statements that can be helpful for you: TableInfo(): can be used to get basic information about an open table PathToTableName$(): can extract the table name, as MapInfo Pro sees it, from a file path PathToFileName$(): can extract a filename with extension from a file path Update: ...


1

Try this... Join the data to your layer making sure you're only joining the fields you wish to join. Once that is done, export the layer to another copy. Your joined data will follow. This way you have your original layer and then another one with the joined information. It should be quicker than having to manually or programmactically copy data from ...


1

In QGIS it is worth to say that it is not possible to change field width (if we are talking about shapefiles) for existing columns. But it is really easy to create new column with needed length and copy content into that column from the old one. You can do that with Field calculator. For renaming / reordering / adding multiple fields etc. there is great ...


1

Directly export to Excel file using the Table To Excel (Conversion) tool. No field name truncation and no formatting issue with numbers: Table To Excel (Conversion) Then you can easily export to a correct csv(txt) file from excel


1

You can't merge points to polygons, but certainly a spatial join will merge the attributes of the two, no? You can right click on the polygon layer and choose (in Arcmap) join. Then in the "VERY" top pulldown choose join based on location. Then choose the point file for the features to join. You can then choose to have all the nearest points joined ...


1

You could use the GDAL Ogr 2 Ogr algorithm to convert the vector file to a CSV, and then run that CSV through the QGIS algorithm "Delete column" to remove the geometry column (and any others you don't need). I haven't tried it, but it might work. [Edit] Okey, did a quick test. The GDAL convert to CSV works fine in model builder, but it seems like the QGIS ...


1

You can toggle the Move selection to top option in your Attribute Table to achieve this. Note that your selected features will always be listed in ascending order by their feature row number (shown in the red box):


1

The problem with building a raster attribute table (RAT) has to do with the format used to store the values. RAT files are stored as .dbf files that support a maximum of 32 bit integers which has a higher limit of 2,147,483,647. If there is a cell value with a count that exceeds this number the RAT cannot be built. There is no workaround.. Esri only ...


1

Rebelious, here is what i did to solve your question (maybe not the smarter solution but working "automatically" at least ...) : from PyQt4.QtCore import QObject,QTimer from PyQt4.QtGui import * import re class Test(): openedTables=[] def main(self): QApplication.instance().focusChanged.connect(self.monitor) def ...



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