Showing posts with label GIS Data. Show all posts
Showing posts with label GIS Data. Show all posts

Monday, November 19, 2012

Using the Oracle Instant Client with ArcGIS Server

At 10.1 you can use the Oracle instant clients to connect to your oracle SDE instances.  It's easier than it seems.

  1. Download the appropriated instant client (for ArcGIS Server use x64 version)
  2. Create a folder on the local hard drive (write down the path)
  3. Unzip the instant client in the folder in step 2
  4. Assuming windows, edit the 'PATH' variable and add Step #2's path to the variable
  5. Restart ArcGIS service
  6. Create your direct connect connection:
  7. Register the connection with server
Now you can use the sde connection for any map document, geoprocessing service, etc... 

This workflow will be valid for desktop instant client setup, except it should be noted that the 64-bit version should be before the 32-bit reference path.

Enjoy

Friday, November 18, 2011

High Resolution Moon Maps

NASA's Lunar Reconnaissance Orbiter has completed it's mission of taking high resolution images of the moon, and now you can take advantage of them as well.  According to NASA over 69K worth of photos were geo-referenced and stitched together to create raster imagery with a cell size of 328 ft by 328 ft.  They note that the polar coverage is limited due to the lack of light the moon receives there and a different orbiter is mapping the poles using lasers.

You can get the imagery here: http://wms.lroc.asu.edu/lroc

Happy Space

Wednesday, July 27, 2011

Select the correct geographic (datum) transformation when projecting between datums

I recently had to change lots of data from one datum to another, and I found this help article from Esri very useful:  http://support.esri.com/en/knowledgebase/techarticles/detail/21327

Happy Projecting!

Monday, June 13, 2011

Working with NetCDF Data

What is a NetCDF file? It stands for Network Common Data Form (NetCDF). It's binary, self-describing, machine independent file format for storing scientific data, and ArcGIS supports this format!

To get the properties use the NetCDFFileProperties() and as a developer you can access the following Methods:



Some essential NetCDF vocabulary: (source)
Dimensions
A netCDF dimension has both a name and a size. A dimension size is an arbitrary positive integer. Only one dimension in a netCDF file can have the size UNLIMITED. Such a dimension is the unlimited dimension, or the record dimension. A variable with an unlimited dimension can grow to any length along that dimension.

A dimension can be used to represent a real physical dimension, for example, time, latitude, longitude, or height. A dimension can also be used to index other quantities, for example, station or model run number. It is possible to use the same dimension more than once in specifying a variable shape.

Variables
A variable represents an array of values of the same type. Variables are used to store the bulk of the data in a netCDF file. A variable has a name, a data type, and a shape described by its list of dimensions specified when the variable is created. The number of dimensions is called the rank (or dimensionality). A scalar variable has rank 0, a vector has rank 1, and a matrix has rank 2. A variable can also have associated attributes that can be added, deleted, or changed after the variable is created.

Coordinate variables
A one-dimensional variable with the same name as a dimension is called a coordinate variable. It is associated with a dimension of one or more data variables and typically defines a physical coordinate corresponding to that dimension.

Coordinate variables have no special meaning to the netCDF library. However, the software using this library should treat coordinate variables in a special way.

Attributes
NetCDF attributes are used to store ancillary data or metadata. Most attributes provide information about a specific variable. These attributes are identified by the name of the variable together with the name of the attribute.

Some attributes provide information about the entire netCDF file and are called global attributes. These attributes are identified by the attribute name together with a blank variable name (in CDL) or a special null variable ID (in C or Fortran).

Conventions
The conventions define metadata that provide a definitive description of the data in each variable and their spatial and temporal properties. A convention helps users of data from different sources decide which quantities are comparable. The name of the convention is presented as a global attribute in a netCDF file.


Example: Print out all Dimension Values

import arcpy

InNetCDF = r"C:\temp\tos_O1_2001-2002.nc"
try:
   ncFP = arcpy.NetCDFFileProperties(InNetCDF)
   ncDim = ncFP.getDimensions()
   # loop through all dimension and show the value
   for dim in ncDim:
      top = ncFP.getDimensionSize(dim)
      for i in range(0,top):
         print ncFP.getDimensionValue(dim,i)
except:
   print arcpy.GetMessages(2)


In addition to just listing the properties, ArcMap/Catalog has a whole set of multidimensional tools that can convert this data into feature classes, raster layers or table views.

A tutorial on NetCDF and ArcGIS can be found here.

You can grab some NOAA data here.

Enjoy

Wednesday, January 5, 2011

TIGER Data Download Frenzy

It's here, so go get it.  The TIGER data is ready to go! Get it here.

Enjoy

Friday, September 10, 2010

2010 Census TIGER/Line Shapefiles

I know everyone is as excited as I am the the first round of TIGER data from the 2010 census starts being released in December 2010 to February 2011.

For the complete schedule: check out this.

Enjoy