GISToolkit Editor Setup


Setup instructions.

1. Download Java 1.4

The GISToolkit Editor is a Java program, so you will need a Java interpreter to run it.  It is built and tested against the j2se 1.4.2 from  Sun Microsystems.  Most of the features will work under earlier versions of the software, but for the full functionality, 1.4.2 is required.

2. Download JAI 1.2

The GISToolkit Editor iuses the Java Advanced Imaging api to read and write jpg and png files.  This api will need to be downloaded from Sun Microsystems, and installed in the JRE, JDK, or inclued in the classpath of the application.
3. Update the batch file to point to your installation
The GISToolkitEditor.bat or GISToolkitEditor.sh needs to point to the correct JDK, and needs to be updated to include the correct jar files.  After this file has been properly configured, it can be run and with any luck the GISToolkit Editor will run properly.
4. There is a properties file for the GISToolkit Editor that will set some of the defaults it has the following form.  This properties file is not required as the application will create one of it's own.

# Available Data Sources.
#These are the available data sources.  They appear in the order of the numbers.  The numbers must start at 1 and proceed up.
#If there are any gaps, the numbers after the gaps will not be read.
#If you do not wish to use all datasources, then delete the ones you do not need.
gistoolkit.init.datasourcepanel.1=gistoolkit.application.layers.layerpanel.ReadOnlyShapeFileDataSourcePanel
gistoolkit.init.datasourcepanel.2=gistoolkit.application.layers.layerpanel.ShapeFileDataSourcePanel
gistoolkit.init.datasourcepanel.3=gistoolkit.application.layers.layerpanel.ReadOnlyPostGISDataSourcePanel
gistoolkit.init.datasourcepanel.4=gistoolkit.application.layers.layerpanel.UpdateablePostGISDataSourcePanel
gistoolkit.init.datasourcepanel.5=gistoolkit.application.layers.layerpanel.ReadOnlyMySQLDataSourcePanel
gistoolkit.init.datasourcepanel.6=gistoolkit.application.layers.layerpanel.UpdateableMySQLDataSourcePanel
gistoolkit.init.datasourcepanel.7=gistoolkit.application.layers.layerpanel.SeamlessDataSourcePanel
gistoolkit.init.datasourcepanel.8=gistoolkit.application.layers.layerpanel.ReadOnlySpatialExtenderDataSourcePanel
gistoolkit.init.datasourcepanel.9=gistoolkit.application.layers.layerpanel.UpdateableSpatialExtenderDataSourcePanel
gistoolkit.init.datasourcepanel.10=gistoolkit.application.layers.layerpanel.TerraserverDataSourcePanel
gistoolkit.init.datasourcepanel.11=gistoolkit.application.layers.layerpanel.OGCWebServiceDataSourcePanel
gistoolkit.init.datasourcepanel.12=gistoolkit.application.layers.layerpanel.ImageFileDataSourcePanel
gistoolkit.init.datasourcepanel.13=gistoolkit.application.layers.layerpanel.ImageDirectoryDataSourcePanel
gistoolkit.init.datasourcepanel.14=gistoolkit.application.layers.layerpanel.RasterCatalogDataSourcePanel
gistoolkit.init.datasourcepanel.15=proprietary.datasources.arcsde.UpdateableArcSDEDataSourcePanel
gistoolkit.init.datasourcepanel.16=proprietary.datasources.arcims.ArcIMSDataSourcePanel
gistoolkit.init.datasourcepanel.17=proprietary.datasources.arcsde.ArcSDEDataSourcePanel
gistoolkit.init.datasourcepanel.18=proprietary.datasources.ermapper.ERMapperDataSourcePanel
gistoolkit.init.datasourcepanel.19=gistoolkit.application.layers.layerpanel.ReadOnlyOracleDataSourcePanel
gistoolkit.init.datasourcepanel.20=gistoolkit.application.layers.layerpanel.UpdateableOracleDataSourcePanel

# default values for the SpatialExtenderDatasource
GISToolkitEditor.SpatialExtenderDataSourceServername=lisa
GISToolkitEditor.SpatialExtenderDataSourceURLBase=jdbc:db2
GISToolkitEditor.SpatialExtenderDataSourceName=scott2
GISToolkitEditor.SpatialExtenderDataSourceSchema=sde
GISToolkitEditor.SpatialExtenderDataSourceUsername=sde
GISToolkitEditor.SpatialExtenderDataSourceDriver=COM.ibm.db2.jdbc.net.DB2Driver
GISToolkitEditor.SpatialExtenderDataSourcePassword=password
GISToolkitEditor.SpatialExtenderDataSourcePort=1150
GISToolkitEditor.SpatialExtenderDataSourceQuery=select state, county, db2gse.st_AsBinary(Shape) Shape from mcounty
GISToolkitEditor.SpatialExtenderDataSourceShapeColumn=Shape
GISToolkitEditor.SpatialExtenderDataSourceSpatialReferenceID=1
GISToolkitEditor.SpatialExtenderDataSource=scott2
GISToolkitEditor.SpatialExtenderDataSourceTableName=tcounty

# default values for the PostGIS Datasource.
GISToolkitEditor.PostGISDataSourceServername=lisa
GISToolkitEditor.PostGISDataSourceURLBase=jdbc:postgresql:
GISToolkitEditor.PostGISDataSourceName=ithaqua
GISToolkitEditor.PostGISDataSourceUsername=ithaqua
GISToolkitEditor.PostGISDataSourceDriver=org.postgresql.Driver
GISToolkitEditor.PostGISDataSourcePassword=password
GISToolkitEditor.PostGISDataSourcePort=5432
GISToolkitEditor.PostGISDataSourceShapeColumn=shape
GISToolkitEditor.PostGISDataSourceSpatialReferenceID=-1
GISToolkitEditor.PostGISDataSource=map
GISToolkitEditor.PostGISDataSourceTableName=counties
GISToolkitEditor.PostGISDataSourceQuery=SELECT state_name, AsText(shape) as shape FROM states

# default values for the MySQL Datasource.
GISToolkitEditor.MySQLDataSourceServername=lisa
GISToolkitEditor.MySQLDataSourceURLBase=jdbc:mysql:
GISToolkitEditor.MySQLDataSourceName=MySQL
GISToolkitEditor.MySQLDataSourceUsername=ithaqua
GISToolkitEditor.MySQLDataSourcePassword=password
GISToolkitEditor.MySQLDataSourcePort=3306
GISToolkitEditor.MySQLDataSourceShapeColumn=shape
GISToolkitEditor.MySQLDataSourceSpatialReferenceID=-1
GISToolkitEditor.MySQLDataSource=map
GISToolkitEditor.MySQLDataSourceTableName=states
GISToolkitEditor.MySQLDataSourceQuery=SELECT state_name, AsText(shape) FROM states

# default values for the Oracle Datasources.
GISToolkitEditor.OracleDataSourceServername=lisa
GISToolkitEditor.OracleDataSourceURLBase=jdbc:oracle:thin:
GISToolkitEditor.OracleDataSourceName=ithaqua
GISToolkitEditor.OracleDataSourceUsername=ithaqua
GISToolkitEditor.OracleDataSourcePassword=password
GISToolkitEditor.OracleDataSourcePort=1521
GISToolkitEditor.OracleDataSourceShapeColumn=shape
GISToolkitEditor.OracleDataSourceSpatialReferenceID=-1
GISToolkitEditor.OracleDataSource=Oracle(ReadOnly)
GISToolkitEditor.OracleDataSourceTablename=states
GISToolkitEditor.OracleDataSourceQuery=SELECT state_name, shape FROM states

# default values for the shape file datasource.
GISToolkitEditor.ShapeFileDataSourceFile=sstates.shp

# default values for the read only shape file datasource.
GISToolkitEditor.ReadOnlyShapeFileDataSourceFile=sstates.shp

# default values for the seamless datasource
GISToolkitEditor.SeamlessDataSourceFile=MinorRoads.shp

# default values for ARCSDE datasource.
GISToolkitEditor.ArcSDEDataSourceServername=Lisa
GISToolkitEditor.ArcSDEDataSourcePortNumber=5151
GISToolkitEditor.ArcSDEDataSourceDatabaseName=imaps2
GISToolkitEditor.ArcSDEDataSourceTableName=sstate
GISToolkitEditor.ArcSDEDataSourceUsername=sde
GISToolkitEditor.ArcSDEDataSourcePassword=password
GISToolkitEditor.ArcSDEDataSourceMinX=-160
GISToolkitEditor.ArcSDEDataSourceMaxX=1966
GISToolkitEditor.ArcSDEDataSourceMinY=-90
GISToolkitEditor.ArcSDEDataSourceMaxY=2056

# default values for the Updateable ArcSDE datasource.
GISToolkitEditor.UpdateableArcSDEDataSourceServername=Lisa
GISToolkitEditor.UpdateableArcSDEDataSourcePortNumber=5151
GISToolkitEditor.UpdateableArcSDEDataSourceDatabaseName=imaps2
GISToolkitEditor.UpdateableArcSDEDataSourceUsername=sde
GISToolkitEditor.UpdateableArcSDEDataSourcePassword=password

# Default values for terraserver
GISToolkitEditor.TerraserverFileImageType=DOQ
GISToolkitEditor.TerraserverResolution=0
GISToolkitEditor.TerraserverMemoryCacheSize=200
GISToolkitEditor.TerraserverDiskCacheLocation=cache
GISToolkitEditor.TerraserverOptimizationLevel=0