The instructions assumes MarkLogic has been installed. The following steps will initialize MarkLogic with the configuration found in gradle.properties
gradlew mlInit
gradlew mlInstallAdmin
Install the MarkLogic database and application server
./gradlew mlDeploy
Load the subway data
./gradlew importSubwayData
Harmonize the data
-
Open a QConsole window on the host where your MarkLogic instance has been installed: http://localhost:8000/qconsole
-
Change the Query Type dropdown to "XQuery"
-
Change the Database dropdown to "subway-content"
-
Type in the following xquery module
xdmp:invoke("/ext/transform/split-nyc-subway-kml.xqy")
-
To confirm the harmonize step worked, press the Explore button, there should be 474 documents avaialble.