Feb
12
2020

Attribute Assistant

https://solutions.arcgis.com/shared/help/attribute-assistant/get-started/ https://proceedings.esri.com/library/userconf/proc17/tech-workshops/tw_383-291.p...
continue reading....
Oct
15
2018

Install PIP in Servers/Workstations behind corporate proxy

While trying to install PIP on machines in my office, I always encounter one issue or other like:  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '_ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate...
continue reading....
Apr
04
2018

Updating ArcGIS Portal 10.6 Identity Store ends up in Error code 500?

Error:The user store configuration or group store configuration is invalid.  Code: 500-This is one of the strangest error I came across while trying to integrate Enterprise Active Directory to Portal. And, my configuration is something like as in the ESRI Portal documentation with a minor modification...
continue reading....
Nov
09
2017

Installing reportlab using pip behind a corporate firewall/proxy

While trying to install report lab using pip on a server machine at my office, I was stuck with this error message: Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem con firming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify  failed (_ssl.c:661)...
continue reading....
Mar
06
2017

Git Reference

  Working Directory: where you'll be doing all the work: creating, editing, deleting and organizing files Staging Area: where you'll list changes you make to the working directory...
continue reading....
Feb
03
2017

Download Files from Webpages using wget

I was looking for downloading some pdf file from a webpage without right clicking each link and hit “save as”. The best open source way of doing that is by using “wget...
continue reading....
Dec
07
2016

Changing Python IDLE Windows shell association to 32 bit version

When both 32 bit python and 64 bit python are installed in the same machine, the order of installation will decide the default association for python files....
continue reading....
Nov
15
2016

Finding out who is logged into server/workstation or local machine?

The easiest way to find out who is logged into a particular workstation/server or even your local machine, I use psloggedon tool provided as a  part of Mark Russinovich...
continue reading....
Oct
20
2016

Creating an Empty Stored Procedure

To create a stored procedure with an empty body, this is the easiest way: CREATE PROC <procedure name> AS GO EXEC <procedure_name...
continue reading....
Jul
20
2016

Installing SSL using existing certificate into ArcGIS Server 10.3.1

Trying to install SSL using the ESRI workflow ended up me having an error: Importing CA certificate failed.erro...
continue reading....
Jan
18
2016

Running a quick node.js file server

If you don’t want to take the extra trouble of installing node-static module and writing multiple lines of code to create a server to serve the files from your folder, a “ready to use tool”  called http-server will be the solution. http-server is a simple, zero-configuration command-line http...
continue reading....
Aug
07
2015

ArcGIS Server access to this resource is forbidden, regardless of authorization

When I was trying to overwrite a map service thru’ my existing GIS Server “administer” connection in ArcMap,...
continue reading....
Sep
02
2014

How to fix ArcGIS Server Web Adapter accessibility Error?

Today morning, I encountered the following errors while trying to access the Rest Endpoint of ArcGIS Server: arcgis server web adapter error: Object reference not set to an instance of an object. arcgis server web adapter error: Root Element is missin...
continue reading....
Oct
29
2013

Some Essential ArcGIS JS API commands for Quick retrieval of Map Properties

To get the current extent of a map: JSON.stringify(map.extent.toJson())...
continue reading....

Transformation from NAD1983 to WGS1984

 The best one to use is :  NAD_1983_To_WGS_1984_5     See the details of other transformations:     NAD_1983_To_WGS_1984_1 – for the entire North American continent.     NAD_1983_To_WGS_1984_2 – for the Aleutian islands.    ...
continue reading....
Jul
30
2013

Objects and Prototype

Object Constructor function car (make, model, color) { this.make=make || “unknown”; this.model=model || “model”; this.color=color||”unpainted”; } To give universal property to all new car objects, object protoypes are used car.prototype.display=function() { msg.innerHTML...
continue reading....
Jan
15
2013

Arrays and Objects

Data Type: Arrays //Defining Arrays var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"]; //Looping thru’ array and getting each item for (var i=0;i<languages.length;i++) {     console.log(languages[i]); } Data Type : ObjectObjects...
continue reading....
Jan
03
2013

JavaScript Self Closing Function

Self Closing Functions In order to limit the scope of a variable to local level or to reuse the same variable/function name, JavaScript provides an option of self closing anonymous functions. Syntax: (function(){ ----your function here--- }()); The () after the anonymous function ensures...
continue reading....
Dec
14
2008

Simple trick to generate File List in Windows Command line

If you need to create a list of songs stored in the computer, here is the simple way to do that using DOS commands...
continue reading....
Dec
01
2008

What are Batch (.bat) Files?

In the DOS environment, batch files are the list of command line instructions batched together. The purpose of batch file is to run a set of commands in sequence. Creating a batch file is very easy and doesn't require any programming skills. Some Simple Batch Commands  CallCall command can...
continue reading....