Code Examples
Links to working c-square code examples
- A web-accessible, online lat/long to c-square converter - upgraded (February 2003) to handle lines, poly-lines, and filled polygons as well as point data
- A standalone, formula-based c-square encoder / decoder as a downloadable MS Exel worksheet (new! November 2005) - enter a lat/lon pair to get a c-square code, or enter a code to retrieve the bounding coordinates of the relevant square (will operate on your local machine, no network connection required)
- Sample source code for converting lat/long pairs to equivalent c-squares:
- Tony Rees' original PL/SQL code as developed for CSIRO's MarLIN and CAAB systems
- Phoebe Zhang's Java code as currently used in maps plotted from OBIS Distributed Data Search
- Eli Agbayani's ColdFusion template as currently available for maps plotted from FishBase searches (MS Word file)
- PL/SQL source code for decoding a supplied c-square code into its limits in latitude and longitude (includes a built in validation function as well)
- PL/SQL source code for standalone validation of a supplied c-square code or a c-squares string (two PL/SQL functions)
- A prototype click-on-a-map interface to generate and re-edit c-squares codes, in the Australian region (non-java version)
- Prototype click-on-a-map interface to generate and re-edit c-squares codes, in the Australian region (java version - under development, may crash your browser...)
Created by
admin
Last modified 2006-03-23 09:08
Last modified 2006-03-23 09:08