Cheat sheet for GDAL/OGR command-line geodata tools
Get vector information
ogrinfo -so input.shp layer-name
Or, for all layers
| ogr2ogr -f "GeoJSON" -a_srs "EPSG:27700" output.geojson input.TAB |
| for /r %i in (*.TAB) do ogr2ogr -f "GeoJSON" %i.geojson %i -s_srs EPSG:27700 -t_srs EPSG:4326 |
| SELECT @@ServerName AS SERVER | |
| ,NAME | |
| ,login_time | |
| ,last_batch | |
| ,getdate() AS DATE | |
| ,STATUS | |
| ,hostname | |
| ,program_name | |
| ,nt_username | |
| ,loginame |
| // Enables us to track many links and downloads that cannot normally be tracked in Google Analytics | |
| jQuery(document).ready(function($) { | |
| var filetypes = | |
| /\.(zip|exe|dmg|pdf|doc.*|xls.*|ppt.*|mp3|txt|rar|wma|mov|avi|wmv|flv|wav)$/i; | |
| var baseHref = ''; | |
| if (jQuery('base').attr('href') != undefined) baseHref = jQuery( | |
| 'base').attr('href'); | |
| jQuery('a').on('click', function(event) { | |
| var el = jQuery(this); |
| <!DOCTYPE html> | |
| <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
| <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
| <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
| <!--[if gt IE 8]><!--> | |
| <html lang="en-gb" class="no-js"> | |
| <!--<![endif]--> | |
| <head> | |
| <meta charset="utf-8"> |
| temp1 := ZnEasy get: 'address in here'. | |
| trello := NeoJSONReader fromString: temp1 entity. | |
| trelloLists := trello at:'lists'. | |
| trelloCards := trello at:'cards'. | |
| trelloLists do: [ :each|| listId | | |
| listId := each at:'id'. | |
| each at:'cards' put: ((trelloCards select:[:item|(( item at:'idList')=listId)])collect:[:item| item at:'name']). | |
| ]. |
| ol { | |
| counter-reset: li; | |
| list-style: none; | |
| margin: 0; | |
| padding: 0 | |
| } | |
| ol>li { | |
| position: relative; | |
| margin-bottom: 1em |
| get-childitem E:\search-folder -rec | where {!$_.PSIsContainer} | select-object FullName, LastWriteTime, Length | export-csv -notypeinformation -delimiter '|' -path file.csv |