Tag Info

New answers tagged

0

I would recommend the batch solution, because no data selection (Group By) is necessary and will run faster. By integrating the answer of that question and loop over shapefiles you can achieve your goal. Just modify the code as necessary: - edit the number of ranks, - shapefile folder and so on Code: import arcpy import numpy as np import os #loop ...


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


0

I am not aware of any way to do what you are requesting. I have just done a quick search of ArcGIS Ideas to see if anyone has asked for it before and could not find an existing idea. I recommend that you post a new one there. I imagine the way to describe what you are after is: Scroll attribute window to first/next/previous/last selected row while ...


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


0

As @Mateo hinted you can use a spatial join to join attributes from one shapefile/feature class to another. Use the "Spatial Join" tool which can select a feature layer based on the location to another feature layer (assuming you have a license for the tool), you will probably want to choose the option for join one to many (assuming the polygons are your ...


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


0

Arcgis solution: Open the attribute table. Right click on the header of the field column you want to modify. Choose Field Calculator. In the list of fields on the left, double-click on the filed you want to copy over, so that the field name appears in the box below. Press OK. If you need to make a new field/column to copy into, choose Add Field from the ...


0

This may be what you're looking for: Joining tables to your raster attribute table See also: Essentials of Joining Tables A second probably more difficult option is to manipulate your CSV file to match Arc's ASCII raster format and then use ASCII to Raster to create a new raster that perfectly overlays your target raster, then Combine those two rasters.


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


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.


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


0

This is a shot in the dark, but I have encountered lots of problems with processing GRID rasters in ArcMap. Whenever I do raster processing, I generally convert to .tif, which seems to be a much more stable format.


2

Yes, if a.csv file is loaded into QGIS and you update the .csv file then the attributes of the layer will also reflect the changes: A .csv file loaded into QGIS: Editing the .csv file with a simple text editor (I used Notepad): Save the edits and then load the attribute table again in QGIS to see the updates: Hope this helps!



Top 50 recent answers are included