Archive for August, 2010
Wonna concatenate numerous fields to obtain all values in a single cell? Here’s the script:
Dim x As String, rng As Range, cel As Range, v_new As Integer, v_old As Integer
Set rng = .Range("F2:F2736")
For Each cel In rng
v_new = Int(cel.Value)
If (v_new <> v_old) Then
x = x & "," & Int(cel.Value)
v_old = v_new
.Range("G2").Value = x
And in order to insert a little bit more complicated string in ArcGIS’s Field Calculator, you need to do this:
"<img src='http://localhost/graph.php?data=36,36,37," & Int([wohnfl_per]) & "' />"
Easy, easy… In Spatial Analyst -> Raster Calculator do:
isnull([My Raster] <= 0, [My Raster])
Just working with some extensive raster data sets. And running into a problem – that is, the values of the raster, although integer, are not being displayed. Here is a solution:
Use the “Build Raster Attribute Table”. And if an error is coming up concerning the reaching of a limit, then use the advanced settings utility has an option to set maximum number of attribute entries.
The utility should be in your install location in the Utilities folder (by default – C:\Program Files\ArcGIS\Utilities). Run the AdvancedArcMapSettings executable and select the Raster tab.
Need to debug AJAX? Beside some tips I found on the Net, here is one I found particularly useful, at least in my current case. Just use a
tail -f /private/var/log/apache2/access_log
tail -f /private/var/log/apache2/error_log
which displays the latest log entries… which can help to solve some major issues.
Great project. Traveling around the world with solar energy. Wow!
Great visualization of 24 hours of air traffic. Shows well, similar to the Nightlights of the Earth, which regions of the globe are not connected. Impressive!
Attractive and interesting way to sum up the global population.
Gix, this extension helps GIS developers to migrate ESRI ArcView projects to the most popular Free and Open Source alternatives for Geographic Information Systems (GIS).