-
Notifications
You must be signed in to change notification settings - Fork 24
Brokers
This page contains description for input brokers and output brokers.
- Title:
- URL: Example: http://maps.vcgi.org/arcgis
- User name:
- User password:
- Enable layers:
- Title:
- URL: Example: https://gis.ncdc.noaa.gov/geoportal/csw
- User name:
- User password:
- Profile:
- Title:
- URL: Example: http://opendata.aragon.es/
- API Key:
- Title:
- URL: The default is https://catalog.data.gov/
- XML URL: The default is https://catalog.data.gov/harvest/object/
- Object Id: The default is harvest_object_id
- API Key:
- Title:
- URL: Example: https://data.energystar.gov/data.json
- Emit XML: harvest as XML
- Emit JSON: harvest as JSON
- Title:
- URL: Example: http://gpt1.esri.com:8080/geoportal
- User name:
- User password:
- Index:
-
Title:
-
Driver class name: Example: for Microsoft SQL Server: com.microsoft.sqlserver.jdbc.SQLServerDriver
-
Connection string: Example: for Microsoft SQL Server: jdbc:sqlserver://servername:1433;databaseName=dbname
-
User name:
-
Password:
-
Table name or SQL SELECT statement: It can be either the table name in the database or a SQL select statement
-
Primary key column: Primary key of the table
-
Title column: Column that contains title information for the record
-
Description column: Column that contains a description for the record
-
Column names mapping: it is a mapping tells which field to use to harvest, for example: "documentation: _xml" indicates the documentation field would be harvested as xml, "item_category: _s" indicates item_category will be harvested as a string field. If your table has coordinates it is possible to harvest these coordinates so that they can be used in spatial search, for points, the format is "[longitude,latitude]: envelope_cen_pt", for envelope, the format is "[sw_x,sw_y,ne_x,ne_y]:envelope_geo", the fields inside the bracket represents the original field name in the table.
-
Note:
- This broker can be used to harvest information from database tables, it can also be used to harvest metadata from an enterprise geodatabase for tables and feature classes.
- To harvest metadata from geodatabase, the table needs to be gdb_items in the geodatabase, example: sde.gdb_items or select uuid,name, physicalname, documentation from sde.gdb_items, and for Column names mapping, use value: "documentation: _xml".
- jdbc driver for the related database has to there (e.g. in C:\Program Files\Apache Software Foundation\Tomcat 8.5\lib).
- This broker use SQL select statements entered by the user to retrieve information from database, use this feature with caution. If security is a top concern, you can disable this feature by commenting out the following in \harvester\WEB-INF\classes\config\hrv-beans.xml.
<bean class="com.esri.geoportal.harvester.jdbc.JdbcConnector"><constructor-arg value="${jdbc.script.enabled}"/></bean>
- This broker does not do incremental retrieval from a JDBC source. It cannot, since there is no guarantee the SQL query includes a date field. To retrieve only recently updated records, define a view in the database that shows those recently updated records and register the view in the harvester input broker. Be careful as the harvester will treat this as the complete set of records in the source. If you check the 'perform cleanup' option in an output broker, you will only see the records visible in the view after harvest task completes.
- Title: frommygeoportal1
- JNDI: the name of JNDI defined previously (e.g. jdbc/gpt)
- Title:
- URL: Example: http://www.wis-jma.go.jp/meta/oaiprovider.jsp
- Prefix: iso19139
- Set: WIS-CATALOGUE
-
Title:
-
URL: Example: http://www.arcgis.com, https://gpt1.esri.com/arcgis
-
Folder: Name or id of a folder in Portal for ArcGIS/ArcGIS Online
-
User name:
-
User password:
-
Note:
- You can customize the type of records to be harvested by changing config.properties within C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\harvester\WEB-INF\lib\geoportal-commons-agp-client-2.5.1-SNAPSHOT.jar, the list of item types is from http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Items_and_item_types/02r3000000ms000000/
- Start from 2.5.1, it supports harvesting anonymous/public items if no user name/password are specified.
- Title:
- Drop Folder: It is the folder where the metadata is at, example: C:\sink. A good use of sink folder is to batch export all metadata in a geodatabase to the sink folder, then harvest/sync the metadata from the sink folder to geoportal using harvester.
-
Note:
- If you use Sink folder as input broker, the task will keep running until you cancel it, the logic is that if a user has a scheduled script/task that updates the Sink folder periodically, those updates will automatically be harvested by the running harvester task.
STAC represent SpatioTemporal Asset Catalogs, see https://stacspec.org/ for details.
- Title:
- URL: Example: https://landsat-stac.s3.amazonaws.com/landsat-8-l1/catalog.json
- This is for harvesting THREDDS catalogs
- Title:
- URL: Example: https://rda.ucar.edu/thredds/catalog/catalog.xml
- Title:
- Root Folder: Example: \\servername\metadatat\iso19115
- Pattern:
- Title:
- URL: Example: https://thor-f5.er.usgs.gov/ngtoc/metadata/waf/elevation/1-9_arc-second/img/
- Pattern:
- User name:
- User password:
- Title:
- Root folder: Example: \\servername\outputfolder
- Perform cleanup:
-
Note:
- The folder need to have write permission for Java Application Server (e.g. Tomcat).
- Title:
- URL: Example: http://gpt1:8080/geoportal
- User name:
- User password:
- Index:
- Perform cleanup:
- Accept XML: Indicate it will process XML only, if the input broker only contain json records, it will not be harvested.
- Accept JSON: Indicate it will process JSON
- Translate PDFs:
- Title:
- URL: Example: http://www.arcgis.com, https://gpt1.esri.com/arcgis
- Folder: Name or id of a folder in ArcGIS Portal/ArcGIS Online
- User name:
- User password:
- Perform cleanup:
-
Note:
- The Portal for ArcGIS site need to be registered with the Java keystore on the harvester server.
- Only those metadata with valid url(s) inside will be harvested to Portal for ArcGIS.