ingest.properties file

The value for local.institution should be the name of your institution as it appears in the solr index in the Institution field, lowercased.

#needs to be set for your home institution.  Naming the ins…
local.institution=tufts

local.solrUrl should be the url of the Solr index you are ingesting to.  If your solr index has multiple cores, you need to specify which to ingest to. local.ogpUrl is currently unused.

local.solrUrl=http://solr_host/solr
local.ogpUrl=http://ogp_host/openGeoPortalHome.jsp

 

The following block of properties contains info to allow configuration of layers with a GeoServer instance (Local layers only.  See Metadata Upload.).  ogpIngest will attempt to configure public layers using the local.public properties and restricted layers with the local.restricted properties.  Note that the GeoServer datastore expected to contain the layers must be specified.

local.public.GeoServerDatastore=arcsde
local.public.GeoServerUrl=http://geoserver_host/geoserver
local.public.GeoServerUserName=admin
local.public.GeoServerPassword=password
local.restricted.GeoServerDatastore=arcsde
local.restricted.GeoServerUrl=http://geoserver_host2/secure-geoserver
local.restricted.GeoServerUserName=admin
local.restricted.GeoServerPassword=password

This block of properties contains contact info to insert into FGDC XML metadata via the Preprocess Metadata tool.

#contact info to insert into metadata for metadata adjuster
local.contactOrg=Tufts University GIS Center
local.address=Academic Technology, 16 Dearborn Rd
local.city=Somerville
local.state=MA
local.zip=02144
local.country=USA
local.contactPhone=617-627-3380
local.email=gis-support@elist.tufts.edu
#    Hours_of_Service:Monday - Friday, 9:00 am - 5:00 pm EST-USA
#local.onlink=Server=arrowsmith.mit.edu; Service=5150; Database=oracle

 

These properties are also for the Preprocess Metadata tool and determine how the layer name should be processed.  The FGDC tag ftname is altered depending on these values.

#values are uppercase, lowercase, and mixed
local.ftname.case=mixed
local.ftname.layerPrefixIncluded=false
local.ftname.setToFileName=false

 

The following properties are necessary for each institution whose metadata you intend to ingest directly (via the Upload Metadata tool).

  • *.layerPrefix prepends the layer name parsed from the metadata.  Often, metadata documents will not include the fully qualified name for the layer.
  • *.GeoServerWorkspace is the GeoServer workspace the layer should be assigned to. This is the value that goes into the Solr field WorkspaceName.  Omitting this value results in a blank value for this field.
  • ·*.workspaceLogic allows for some very basic logic to be applied to determine the GeoServer workspace.  It’s recommended that you use the same workspace for all of your layers.
  • *.layerNameCase tells what case convention the layer name should adhere to.  This is frequently incorrect in the metadata.

 

#this info is need for each institution with metadata
mit.layerPrefix=SDE_DATA.
mit.GeoServerWorkspace=sde
tufts.layerPrefix=GISPORTAL.GISOWNER01.
tufts.layerNameCase=uppercase
tufts.GeoServerWorkspace=sde

maryland.layerPrefix=none
maryland.layerNameCase=mixed
maryland.GeoServerWorkspace=sde

harvard.workspaceLogic=dataType
harvard.vector.GeoServerWorkspace=sde
harvard.raster.GeoServerWorkspace=cite

These properties provide default location values for web services, in case they are not provided in the metadata.

 

#location info
tufts.location.public.geoserver=http://geoserver-dev.atech.tufts.edu
tufts.location.restricted.geoserver=https://geoserver-dev.atech.tufts.edu:8443

harvard.location.geoserver=http://hgl.harvard.edu:8080/geoserver
harvard.location.tilecache=http://hgl.harvard.edu/cgi-bin/tilecache/tilecache.cgi
harvard.location.serviceStart=http://hgl.harvard.edu:8080/HGL/RemoteServiceStarter
harvard.location.download=http://hgl.harvard.edu:8080/HGL/HGLOpenDelivery

berkeley.location.public.geoserver=http://gis-gs.lib.berkeley.edu:8080/geoserver
maryland.location.public.geoserver=http://gis-gs.lib.berkeley.edu:8080/geoserver

massgis.location.geoserver=http://giswebservices.massgis.state.ma.us/geoserver