Eliminated the MetacatUtil.printMessage() method in favor of using the Log4J debugging methods.
Removed the release ant token from all files in 'src'.
release
Changed the filename that is used when data files are downloaded and when XML files are downloaded in XML format. Now, data files use the format "docid-docname". See bug #2566.
Only run spatial cache regeneration once. Plus some fixes to spatial_query action api.
Changed float object handling in spatial components in order to compile on jdk 1.4.2
Ensure that spatial cache respects changed access constraints for updated documents
Removed most (all?) of the deprecated spatial metacat code from head
Correctly cache doc title in the spatial cache
fix to docid overrides to handle an empty result set
Fixed geometry logic to swap north and south if n < s
Reverting to previous QueryTerm.java that uses 'LIKE' for comparisons. Thisallows substring matching to work properly, but prevents the postgres indexfrom being used. As a result, full table scans are done on the tables, causinga major performance hit. Need to determine how to eliminate the use of LIKE...
Modifications to the table definitions to add indices that should be usedwhen searching the database. Added an upgrade script to create theseindices as well. Modified QueryTerm.java to use the '=' comparator ratherthan 'LIKE' so that we can do index scans rather than table scans. This needs...
fixed point centroid calculation to reflect bboxs that cross the dateline
Make spatial query more accurate by actually intersecting geometries in addition to a simple bbox filter. Important for testing intersection of irregular shaped objects or multi-geometries
Added docid override mechanism to DBQuery. Bypasses the queryspec.printSQL method and creates an optimized docid query in cases (like the spatial query) where you know the docids a priori
Updated spatial query to also look at point spatial cache as some documents may only be represented as a single point.
Rewrote spatial query handler to use geotools directly against the spatial cache.
Allow only public readable docs in the spatial cache
Added javadoc comments for all new spatial classes. Optimized the title query in SpatialDocument.
Removed old spatial classes
Fixed polygon generator for cases where bbox crosses the dateline or the poles
refactory java classes for spatial harvester
initial import of changes to metacat source and config files to support spatial option
Fixed parameter order for call to createSpatialQuery and fixed bounding box intersection logic.
added exception handler for normalize function. if StringIndexOutOfBoundsException is thrown then it is reported and nodedata value is forwarded without normalization.
Cleaned up the code with proper debug statements..
Replaced getIdentifyingName and ldapAuthenticate with new code. ldapAuthenticate will first try to form a secure connection. If the secure connection fails then based on the value specifiedin metacat.properties, an insecure connection will be made. authenticate() function first tries to connect using the dn specified with the default ldap base and url. in case that fails,...
Modified the sql commands such that eml-2.0.1 stylesheets are used for displaying eml-2.0.0 documents
Add qformat parameter in call to executeAdvancedSearch() method.
Refactor code to get the relative paths of the resultset XSL and search results JSP from the MetacatHelper class rather than hard-coded.
Change relative path to the login page.
Add new methods getResultsetXSL and getResultsJSP.
Add qformat parameter to runQuery() and executeAdvancedSearch() methods.
Omit unused StringTokenizer objects.
Add qformat parameter to resultsetToHTML() method. Set the qformat paramater in the transformer if it is specified.
Add serialVersionUID class variable to eliminate Eclipse warnings.
Allow admin to update any document
check for nullpointerexception
Fix for a bug in MetacatServlet. Metacat assumed that it is supposed to get the schema information from the second line of the document. This is basedon the assumption that xml decleration will always be present. This is good practice but not required. Hence the fix -> Metacat should ignore the...
Fix for bug# 2371
Modified code so that database is queried just once when a document is read. Currently the read is being done in the constructor and then again inthe function.
Two changes to Metacat Harvester implementation:
(1) Removed call to deprecated Thread.stop() method. Added boolean class variable, Harvester.keepRunning. When the thread is destroyed, set Harvester.keepRunning to false.
(2) Access the harvestList.xsd schema file by finding it locally in the web application rather than via a URL to cvs.ecoinformatics.org.
added function to get list of projects for NCEAS from a given project list
fixed bugs in teh client that were preventing the lsid service from working right
modified the client so it will work consistently with the web service
updated the client so it throws a DocumentNotFoundException if you attempt to read a docuemnt that doesn't exist
Missed a period.
Patch to make the getLastDocid function actually work on the text node.
Patch for making getlastdocid work when the identifier is a large numbergreater than can be encompassed by an int. Now it uses a long torepresent the number, which doesn't solve the problem but probably doesmake it work for the vast majority of cases.
Added ref to the FGDC schema that I forgot to check in earlier.
Added new function getLastDocid to the metacat client so that it isaccessible to clients that need it.
dded TLS support to the ldapweb.cgi script, cleaned up some TempToolkittemplate processing so that the results display CSS properly, and some minorformatting issues. The TLS support should probably be enabled only if theserver supports it, which can be queried with supported_extensions, but for...
Changes in the spatial query. The spatial query can be generated on the client side in form of an squery rather than specifically creating one on the server side.Commented out the code which creates spatial query based on the coordinates sent to Metacat. Instead of that, a temporary method was added which creates the squery...
Removing the comments from postgres upgrade script as ant upgrade fails because of these.
fixed a bug with postgres 8.1.6 where the sequence must be created before the table is created.
iModified code -- the booleans werent really getting tested :(
iModified the switch to turn/off the spatial searching.:wq
Fixed a bug in the query system.
Now this page is in an expandable drawer.
Some style changes and small changes to the spatial querying system.
Updated style for the kruger soils layer.
Fixed the way the text query was written.
Adding maps for the world frame.
This is the internal frame for the africa view.
interim checkin.
This is the mapbuilder app that will be used in the kroger demo.
Initial support for displaying FGDC metadata documents in metacat.Added new returndoctype and returnfields to all query forms in the knpskin to allow FGDC documents to display in the resultsets. Need to addthese to the other skins as well, and to clean up the FGDC stylesheet to...
Patched to fix regression bug that prevented insertion of documentswithout a DOCTYPE or namespace declaration due to anArrayOutOfBoundsException. Now these documents can be inserted, whichis useful for inserting FGDC documents that frequently do not have a...
modified the code to return the correct metacat resltset.
Modified the way the results page is displayed.
Fix in getNamespace function. Bug reported by Margaret in testing for cases where no namespace is specified.
This is a utility class for generating a pathquery document from an array of docids that one wants to query for. Its hacked together in that the default query parameters are all hardcoded into the class, which is obviously wrong. Need to figure out where those default params should be derived from.
Integration of new shapefile writers (r. reeves code) with MSO.
Continued integration of the spataial stuff with the metacat servlet.
Integration of the metacat servlet with the spatial option -- rubberbanding is implemented too.
adding changes that pmark made, and some small changes that I made.
Implementation of the rubber-bad query that PMARK has implemented through the UI.
metacat spatial option code -- code that produces layers depending on themetacat transaction.
Adding a page that'll be returned when a user issues a metacat query.
fixed the index jsp to do the redirection to the given skin's html (the allseem to have html pages, yet not all have jsp's). Started implementing thedisplay of eml docs with bounding coordinates as boxes.
Got rid of some debugging.
bugfixes to teh previous commit... cleaner exit for the indexing thread
Added a flag for indexing threads so that they exit once Metacat has unloaded.
Added checks for null pointers and changed the name of the config file
Using java.util.Property instead of Options. Options is a singleton class. Hence it cant be used for reading skin property files without changing it into a non-singleton class
variable for showing instructions
Making changes for passing the params to the xsl for skins.
Remove CR characters from end of line. Formatting changes only, no functional changes.
Modified the lsid code to lookup document type-appropriate stylesheets fromthe lsid prooperties file.
added code to give access to moderator group on the review document
Added template for getting the review
Made changes so that the user is prompted to login before entering a dataset
Added functionality for storing comments and displaying them. Also added functionality for reading the eml document.
hardcoded the organization as unaffiliated
bugfixes in previous code and added functionality to store reviews on various documents...
Added setaccess method
code to handle null pointer exception
Added query for indexing attribute - needed for indexing packageId
Unix port of transform.bat
Simple DOS batch file to transform an XML document (eg an eml doc) into HTML (or whatever) using an XSLT stylesheet