Skip to content

Instantly share code, notes, and snippets.

Cribbed from: hortongn/3518faa5a9d638f83141
Configure Jetty for Sufia
rake jetty:stop; rake jetty:clean; rake sufia:jetty:config; rake jetty:start
Add Fits to your path
export PATH=$PATH:<path to Fits>
Add OpenOffice executable (soffice) to path
export PATH=$PATH:/Applications/LibreOffice.app/Contents/MacOS
@eliotjordan
eliotjordan / gist:116e05a64c499eb2b3a7
Created March 18, 2015 18:35
geoblacklight-docker
FROM ubuntu:14.04
MAINTAINER Eliot Jordan <[email protected]>
RUN apt-get update && apt-get -y install \
unzip \
wget \
git \
curl \
libpq-dev \
postgresql-client \
@eliotjordan
eliotjordan / copy.py
Created February 26, 2015 21:12
Copy ArcSDE
## From http://support.esri.com/en/knowledgebase/techarticles/detail/40831
import arcpy, os, string
def CopyDatasets(start_db,end_db,num):
#Set workspaces
arcpy.env.workspace = start_db
wk2 = end_db
@eliotjordan
eliotjordan / eainfo.xml
Last active January 3, 2016 12:29
Add support for Content Standard for Digital Geospatial Metadata (FGDC-STD-001-1998) Section 5.1 'Entity and Attribute Information - Detailed Description' to ESRI Geoportal Server metadata editor. Replace /WEB-INF/classes/gpt/gxe/fgdc/schema/eainfo/eainfo.xml with this file.
<?xml version="1.0" encoding="utf-8"?>
<!--
Entity and Attribute Information
eainfo (/metadata/eainfo)
From:
http://www.fgdc.gov/schemas/metadata/fgdc-std-001-1998-sect05.xsd
http://www.fgdc.gov/metadata/csdgm/05.html
-->
<g:element xmlns:g="http://www.esri.com/geoportal/gxe" xmlns:h="http://www.esri.com/geoportal/gxe/html" g:targetName="eainfo" g:i18nBase="catalog.fgdc.eainfo" g:label="$i18nBase" g:extends="$base/core/xml/Element.xml">