background preloader


Facebook Twitter

THis is an editorial test

Visualizing American economics and economic history. Crossposted from Dissent The verdict in the Trayvon Martin case brought with it another volley of criticism of the American Legislative Exchange Council (ALEC), the right’s now not-so-secret legislative workshop.

visualizing American economics and economic history

Coming on the heels of the Supreme Court’s rebuke of the Voting Rights Act, the Martin case offered a tragic—and very human—reminder of the damage being done in state legislatures around the country. ALEC is often portrayed as a sort of Tea Party think tank, but is roots run much deeper than the 2010 midterms or the post-Citizens United orgy of corporate influence in politics. Maps Mania. Some handy ArcGIS label expressions. At Ordnance Survey we have increasingly looked to ESRI’s ArcGIS and Maplex for labelling and label placement.

Some handy ArcGIS label expressions

There are certain more advanced labels that require more than just calling a single label field from within the data. The first type I shall discuss is dual (or multiple) names. Considerations when exporting a model to a Python script. Since the release of ArcGIS 9, you have been able to export models created in ModelBuilder to a Python script.

Considerations when exporting a model to a Python script

While this option is valuable in helping you see how tools and environments are used in a scripting environment, there are many instances when your exported model will not work as expected. This article explains why the option to export models to Python is intended to be used as a learning aid for understanding how tools and environments are accessed in Python. As models become more sophisticated to include techniques such as iteration or in-line variable substitution, this export option becomes less useful. In recent releases of ArcGIS, new ways for understanding how geoprocessing tools and environments are used in Python are provided and documented. PythonTemplate. I write a lot of Python code, both for stand-alone scripts and script tools.


Over the years, I’ve developed a template that I use for all my Python code. It keeps my code organized and consistent — the first step towards making reusable code. My template is shown below. Some of the features of this template are: Most-used modules (os, sys, arcpy) are importedBoth system and arcpy exceptions are handledAny number of input parameters (arguments) are allowedThe statement if __name__ == ‘__main__’: evaluates to true whenever the file is run as a stand-alone script or as a geoprocessing script tool. Here’s my template: Starting from the sample template above, here is a script that merges multiple feature classes from an input workspace using geoprocessing tools. Several Python IDEs give you an option to specify a template to use anytime you create a new .py file.

PEP 8 - Style Guide for Python Code. Code should be written in a way that does not disadvantage other implementations of Python (PyPy, Jython, IronPython, Cython, Psyco, and such).

PEP 8 - Style Guide for Python Code

For example, do not rely on CPython's efficient implementation of in-place string concatenation for statements in the form a += b or a = a + b . This optimization is fragile even in CPython (it only works for some types) and isn't present at all in implementations that don't use refcounting. In performance sensitive parts of the library, the ''.join() form should be used instead. This will ensure that concatenation occurs in linear time across various implementations. Comparisons to singletons like None should always be done with is or is not , never the equality operators. Ian Broad – Thinking Spatially. Small Town GIS: X Ray for ArcCatalog - How Does That "Use Spatial Reference" Option Work? In my quest to implement the Local Government Information Model, I have struggled with the X Ray for AcrCatalog add-in.

Small Town GIS: X Ray for ArcCatalog - How Does That "Use Spatial Reference" Option Work?

The add-in takes an xml document defining the schema of a geodatabase and applies it to an empty file geodatabase. It does a bunch of other stuff, but that is the only thing I wanted to use it for. I got hung up on the needed step of changing the spatial reference before applying the xml schema to my geodatabase. If I would have followed the steps here I would have not struggled at all. Calling os.startfile and from ArcGIS. Recently I’ve created Python add-ins for data entry for our staff.

Calling os.startfile and from ArcGIS.

Most of these have a toolbar with a “Help” button that opens a help file in .pdf format. The first add-in was for ArcCatalog and this worked splendidly. Nerd tips for things you probably won't use. Get all your ArcGIS Python Recipes here! Samuel Bosch. Edgar F. Codd. Edgar Frank "Ted" Codd (19 August 1923 – 18 April 2003) was an English computer scientist who, while working for IBM, invented the relational model for database management, the theoretical basis for relational databases.

Edgar F. Codd

He made other valuable contributions to computer science, but the relational model, a very influential general theory of data management, remains his most mentioned achievement.[6][7] Biography[edit] Edgar Frank Codd was born on the Isle of Portland in England. After attending Poole Grammar School, he studied mathematics and chemistry at Exeter College, Oxford, before serving as a pilot in the Royal Air Force during the Second World War. In 1948, he moved to New York to work for IBM as a mathematical programmer.

GIS Forum/Blog Feed (@GIS_Feed) Between the Poles. Directions Magazine - GIS News and Geospatial. Stack Exchange GIS Blog. Geospatial Technology, Web Mapping and Spatial Services. Open Source GIS Blog. Welcome to blogs main page. Please note that contributed articles, blog entries, and comments posted on are the views and opinion of the author and do not necessarily represent the views and opinions of the management and staff of Internet Business Systems and its subsidiary web-sites.

Welcome to blogs main page

GISCafe Voice by Susan Smith New APIs from Exelis for Weather Forecasters and Others I’ve often thought that weather prediction was the only profession where the professionals could be wrong 90% of the time and still get paid a good salary. Perhaps the new application program interfaces from Exelis will change all that for the … Mobile GIS & LBS by Matt Sheehan Do those new to GIS understand the value? TatukGIS Consulting by Brian Brown, MS, MS. AnyGeo – GIS, Maps, Mobile and Social Location Technology. GIS Blogs - GeoBlogs. What are the top GIS and Geo related blogs?

GIS Blogs - GeoBlogs

Off the Map has triggered an interesting discussion in the blogging community after posting a list of “Top 25″ (amended to a list of 37 geospatial related blogs). The initial list was compiled based on authority ranking (both actual and estimated) as listed on Technorati and then amended to pull in additional blogging sites that were deemed noteworthy. The list has touched off debates about the validity of using Technorati’s ranking system, what makes a blog a GIS blog, and which blogs should be on the list. Read more: Off the Map Presents Top 25 Blogs in GIS, GeoWeb and Cartography. Update (September 17): GeoWeb Blog Ranking Post Mortem Adena Schutzberg from Directions Magazine provides a helpful roundup of the must read GIS related blogs in the article, A Reader’s Buide to Geoblogs.

Listed here are select GIS, cartography, and mapping related blogs. List of GIS-related Blogs. GIS Doctor. CartoTalk.


GIS Companies. LGIMDataDict.