Moravec.Net
  • About Me
  • Blogs

5 ways to make a GUID or UUID in ArcGIS

Posted on: August 4, 2015 /
Categories: AGOL, ArcGIS, Esri, Python

{60E263FD-DBDA-443D-83A5-8F79E96AFA76} {032BB097-9EF9-45EB-8B54-3C191E4E9612} {9C6B8BD1-C294-4C1A-8E76-96D9B2378E53} {ED08D59B-0E47-4178-B469-72759B6CDF07} {FF378680-36D6-4FAC-8419-0F12C77B7E28} Globally Unique Identifiers or Universally Unique Identifiers: Humanity’s attempt to make enough unique values to assign one to everything on the Earth. These funny values are the subject of many debates on when to use them and when not to, should we use a GUID or an Integer? What is

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

What to do about “[Shape_STLength__]” Errors?

Posted on: December 12, 2014 /
Categories: AGOL, Esri, Geodatabase, Python

Oh boy…. Database error: The field is not nullable. [Shape_STLength__]. The geometry is not Z-aware. TL;DR That field shouldn’t be there, you can safely remove it. I wrote a quick script to do so here: https://gist.github.com/morehavoc/3e86f535bf204b040ee2 Now for the full story… It took me a bit to figure this one out, I thought “Hmm, that

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

OAuth 2.0 Explained by Visiting Grandma

Posted on: July 10, 2013 /
Categories: AGOL, Security

After my last post, I realized that it might be kind of hard to understand if you didn’t already have a basic understanding of authentication online.  To that end, I came up with a different way to try to explain how OAuth 2.0 works, by using my Grandmother as an example. Lets say I am

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

OAuth2 and ArcGIS Online

Posted on: July 7, 2013 /
Categories: AGOL, Security

For a while now ArcGIS Online has had the ability to allow a user to login, and create a Map, publish data, etc.  And of course there were APIs that allowed us developers to get access to that data created by the users.  However, there was a big problem: The app couldn’t access the data

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

One line if statements in Python

Posted on: April 12, 2013 /
Categories: Python

Every once in a while it is kind of nice to put a one-liner if statement in a Python program.  I don’t use these very often as they can make the code harder to read.  However I do think they have their place.  Mainly I use these when I need set the value of a

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

Installing MYSQL-python on Mac OS X

Posted on: April 4, 2013 /
Categories: MySQL, Python

I like to do my web development on my MacBook; I find it much easier than working on my Windows machine.  Sometimes things don’t go so well when installing things on my Mac, at least not as easy as they are when installing on Linux.  One of these such things is installing MYSQL-python into a

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

Bitly Data API

Posted on: December 30, 2012 /
Categories: Python

Over my Christmas vacation I decided to take on a small programing challenge.  I had stumbled upon the Bitly api a few days earlier and noticed that it provides some information about location of links, etc. so I decided to give it a go! After looking over the api and data returned, I decided that

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

Migrating to DreamHost

Posted on: December 24, 2012 /
Categories: Uncategorized

Just finished moving my site from godaddy.com to dreamhost.com.  So far the transfer has been pretty painless, but all I did was migrate the hosting! After getting setup, I started working on a project to put some Bitly API data on a map using Django/Python.  I quickly discovered that the version of python on DreamHost

Read More →

Share this:

  • Share
  • Email
  • Twitter
  • LinkedIn
  • Facebook

Recent Posts

  • 5 ways to make a GUID or UUID in ArcGIS
  • What to do about “[Shape_STLength__]” Errors?
  • OAuth 2.0 Explained by Visiting Grandma
  • OAuth2 and ArcGIS Online
  • One line if statements in Python

Recent Comments

  • Rafa on 5 ways to make a GUID or UUID in ArcGIS
  • Fuchida on Installing MYSQL-python on Mac OS X

Archives

  • August 2015
  • December 2014
  • July 2013
  • April 2013
  • December 2012

Categories

  • AGOL
  • ArcGIS
  • Esri
  • Geodatabase
  • MySQL
  • Python
  • Security
  • Uncategorized

Copyright Moravec.Net 2021 | Theme by Theme in Progress | Proudly powered by WordPress

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.