Home
LEOWEB Version 11.0 User Manual
Contents
1. lt lt lt lt lt I lt lt lt lt lt Example 1 XML output from the LEOWEB REST Service Reporting Quarter Calls and Spot Quarter call subdivisions are reported left to right with the smallest first and the largest last For a nominal section one square mile the smallest subdivision represents an area of 2 5 acres For geographic to PLSS conversions the spot within the smallest subdivision is estimated using a closest approximation algorithm It represents the best fit of the actual coordinate to one of nine possible pre designated positions In figure 5 the geographic coordinate X is closest to the northwest NW corner of the subdivision The nine fixed positions are 1 center 2 northeast comer 3 southeast corner 4 southwest corner 5 northwest corner 6 center of the north line 7 center of the east line 8 center of the south line and 9 center of the west line NW N NE Ie W C E SY seems 5 ome 24 5 Figure 5 The spot is one of nine possible subdivision locations When entering TRS and Quarter calls TRS Q Calls the user specifies the spot see above and up to four levels of subdivision A nominal section is divided as follows Level ___ Acres Example 0 640 acres i e Center of Townsh
2. Township 8S Range 4 E Section Spot Footages from NE Corner 1505 Spot Center of NW NW SE NE Section is approximately 651 acres Length of north line 5292 Ft Length of south line 5314 Ft Length of east line 5341 Fr Submit Q Actions v Footage Footage Footage Town Township NS EW Comer ship Direction Range Direction Range Section Latitude Longitude Datum 39 390027 96 946152 NAD27 08504E02 NE 39 390027 96 946152 NAD27 08504E02 Figure 13 Degrees Minute Second Lat Long to TRS The second option converts lat long values specified in degrees minutes and seconds to TRS Figure 13 shows the data input fields and an example of the calculated results Notice the datum has been set to calculate NAD27 values and the reference corner has been set to report using the northeast reference corner 15 Enter Latitude and Longitude as Degrees and Decimal Minutes KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help About LEOWEB REST Service Enter Latitude and Longitude as Degrees Decimal Minutes Datum NAD83 Corner SE Session No 4047211474667254 Latitude Degrees 37 Minutes 50 1234 Longitude Degrees 100 Minutes 10 5678 Results String Input Dimm Lat 37 50 1234 Long 100 10 5678 DD Lat 37 83539 Long 100 17613 Datum NAD83 Kansas TRS 25526033 Township 255 Range 26 W Section 33
3. Spot Footages from SE Corner 3190 N 953 W Spot Center of NE SW SE NE Section is approximately 647 acres Length of north line 5313 Ft Length of south line 5284 Ft Length of east line 5327 Ft Actions v Latitude Longitude Datum Range Footage Footage Footage Town Township NS EW Corner ship Direction Range Direction Section 37 83539 100 17613 NAD83 2582633 3190 SE 37 83539 25582431 3451 Figure 14 Degrees Decimal Minutes Lat Long to TRS Converting degrees decimal minutes to TRS is the third LEOWEB menu option For this screen the user provides integer degrees and real numbers for the minute values This option was added to accommodate readings from handheld GPS devices 16 EnterTownship Range Section and Footage values KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help About LEOWEB REST Service Enter Township Range Section and Footage values Datum NAD83 Corner SE Session No 2643283592265736 Township 5 South Range 5 Range Direction West v Section 8 Footage NS 2457 EW Footage 2457 Offset Direction North of the South section line and west of East section line Results String Input TRSFT 05305008 Offset 2457 ft N of the South line 2457 ft W of the East line DD Lat 39 631546 Long 97 902496 Datum NAD83 Kansas TRS 05505008 Township 55 Range 5 W Section 8 Spot Footage
4. add computed columns perform aggregate computations chart values and group data records These tools are similar to what a user would find in a spreadsheet program This document gives simple examples on how to sort columns and perform computations The user is encouraged to experiment with the various tools as the possibilities are numerous Sorting by Columns For this example we have used the Select Columns option to limit the display to latitude longitude datum TRS section and acres From the Actions menu select Format and then Sort This feature allows the user to select the column to sort on specify ascending or descending and how to handle null values Null value options are Nulls Always Last and Nulls Always First Figure 24 shows the sort utility screen 23 Direction Null Sorting 1 Select Column Select Column isplayed Default Latitude Ascending Default Longitude Datum TRS Section Ascending Default Ascending Ascending Default Default Ascending 6 Ascending Default Other Timestamp Town ship Township Direction Range Range Direction a Footage NS TRS Section Footage EW O1S01E36 36 646 Footage Corner UTM Northing 01501E35 35 645 Cancel Apply Acres UTM Easting 01501E34 34 651 UTM Zone O1S01E33 33 642 Figure 24 The SORT option offers up to six levels of sorting The
5. search you can click on the red X over the funnel or select the Reset option 21 Selecting Columns Appendix B lists the fields that are displayed in the results table The user will notice that some of these values are repeated For instance the Township Range and Section fields are reported as individual columns as well as concatenated into a field called TRS Although redundant this format was chosen to simplify efforts for the end user The interactive report tool allows you to hide unwanted columns as well as re order the list This is accomplished by selecting Actions then the Select Columns menu option Figure 21 Select Columns Do Not Display Display in Repart Footage Corner Town ship Township Direction Range Range Direction Section UTM Northing UTM Easting UTM Znane Cancel Apply Range oti Range Direction Section Footage Footage Footage Town Township NS EW Latitude Longitude Datum IRS Corner ship Direction 39 715163 97 883722 NAD27 0450509 1234 2345 SE 4 S 5 WW g Figure 21 The columns can be removed or added to the report display Use the navigation arrows found in the middle of the screen to move columns from the Do Not Display list to the Display in Report area You can order the columns from left top to right bottom by using the up down arrows on the far right side Pressing the Apply button refreshes the screen showing only
6. ConvertLLDMm Datum NAD83 amp LatDeg 3 8 amp LatMmm 45 5 amp LonDeg 98 amp LonMmm 45 5 amp Corner SE The question mark is used to separate the resource name from the query variables For converting Degrees Decimal Minutes latitude and longitude coordinates use the resource name of http chasm kgs ku edu apex leoweb wrestl1_o01 ConvertLLDMm along with the query variables Datum LatDeg LatMmm LonDeg LonMmm and Corner Values are assigned to each variable using the equal sign The ampersand amp is used to separate variables i e Datum NAD83 amp LatDeg 38 amp LatMmm 45 5 amp LonDeg 98 amp LonMmm 45 5 amp Corner SE 28 4 Example of URL for converting Township Range Section and Footage Offsets http chasm kgs ku edu apex leoweb lwrest11_01 ConvertTRSFT Datum NAD83 amp TRS 10S1 7W12 amp Corner SE amp FT_NS 0 amp FT_EW 0 The question mark is used to separate the resource name from the query variables For converting Degree Minutes and Seconds latitude and longitude coordinates use the resource name of http chasm kgs ku edu apex leoweb Iwrest11_o01 ConvertTRSFT along with the query variables Datum TRS Corner FT_NS and FT_EW Values are assigned to each variable using the equal sign The ampersand amp is used to separate variables i e Datum NAD83 amp TRS 10S17W12 amp Corner SE amp FT_NS 0 amp FT_EW 0 5 Example of URL for converting Township Range Section and Q
7. Yes Yes Longitude Number Yes Yes Datum Character Yes Yes Township Number Yes No Township Direction Character Yes No Range Number Yes No Range Direction Character Yes No Section Number Yes No Footage NS North or South distance to section line in feet Number Yes Yes Footage EW East or West distance to section line in feet Number Yes Yes Footage Corner Reference corner for offset footages Character Yes Yes Spot Character Yes Yes QCall REST tag i e lt QCALL gt SW NW NE NWK lt QCALL gt Character No Yes Q1 Largest Character Yes No Q2 Character Yes No Q3 Character Yes No Q4 Smallest Character Yes No Len_N_Side_Feet REST tag is lt NORTH_LINE gt Number Yes Yes Len_S_ Side Feet REST tag is lt SOUTH_LINE gt Number Yes Yes Len_E Side Feet REST tag is lt EAST_LINE gt Number Yes Yes Len_W_Side_ Feet REST tag is lt WEST_LINE gt Number Yes Yes Acres Approximate number of acres in the section Number Yes Yes UTM_Northing Y coordinate Number Yes Yes UTM Easting X coordinate Number Yes Yes UTM_Zone Number Yes Yes UTM_UNITS UTM coordinates are in meters Character Yes No Input_String Echo of input parameters Character Yes No Session_No APEX session number Number Yes No Timestamp Session date and time Date Yes No Record No Sequential result set record number Number Yes No Errors Error trapping message returned Character Yes Yes A comparison chart of the output fields is depicted in the above table For t
8. and footage descriptions if requirements permit Geodetic Datum When working with latitude and longitude coordinates the North American Datum NAD serves as the horizontal geodetic control This program allows the user to select from NAD27 NAD83 or the WGS84 datum It is essential to record and specify the correct geodetic datum when capturing and converting data Guessing or specifying the wrong datum results in calculation errors on the order of 10 s of feet Footage Corner Footages refer to the offset distance from the location spot to the boundary lines of the section A footage corner is used to identify which boundary lines are used in calculating the footage offset If the southeast corner is specified default then the program calculates the offset distance from the south and east lines Likewise the northwest corner would specify the offset with respect to the north and west boundary lines Figure 7 depicts a location spotted 1750 feet north of the south line and 2000 feet west of the east line The LEOWEB program uses a dropdown list to allow the user to change the reference corner for offset footages 22 T285 ROE wW Figure 7 Spot footage 1750 ft north of south line and 2000 ft west of east line sec 22 T 28 S R 1 E Valid Kansas Coordinates LEOWEB is designed to report on locations that fall within the borders of Kansas To aid the user client side data validation routines have been added that create
9. the selected columns Figure 22 Submit a Actions Latitude Longitude Datum TRS Footage Footage 39 71517 97 884044 NADS3 o4s505vvog 1234 2345 39 713651 97 897097 NADS3 o4so0svvos 642 753 Figure 22 Here the user has chosen to limit the number of columns displayed in the report 22 Advanced Filtering The Filter option offers more advanced filtering possibilities than the simple search Like the simple search the user selects the columns of interest from a dropdown list The big difference between the two methods is the number of comparison operators available to the user The simple search only performs an is equal comparison where as the Filter option offers many more operators to choose from Figure 23 These filters can be nested Y Filter Filter Type Column O Row Colurnn Operator Expression Datum v is null is not null Cancel Apply like not like in Latitude Longitude D not in a Footage Acres a contains 39 560806 97 839795 N does not contain 1234 538 39 560806 97 839785 W matches regular expression 1234 538 39 561076 97 820877 WGS84 OBS05vVv01 2468 1234 555 Figure 23 The FILTER option offers several comparison operators Formatting Layout APEX offers a rich set of interactive formatting tools allowing the user to further modify the report layout These features include the ability to sort records set up control breaks define record highlighting
10. warning messages when values fall outside a specified range Figure 8 depicts an example of a warning message that is created by a data validation routine The appearance of the message will vary depending on how the browser renders JavaScript messages Google Chrome was used for this example KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help Enter Township Range Section and Quarter Calls start with largest subdivision Q1 and work towards Q4 Datum NAD83 v Corner SE Township 1 South Range 32 SPOT C v Q4 smallest NONE Session No 99999 Range Direction East Section 1 Q3 NONE The page at chasm kgs ku edu says Results String Enter values above and c Q2 NONE Warning East Range values are between 1 and 25 West Range values are between 1 and 43 Figure 8 Data validation warning message for an invalid entry Q1 NONE largest About LEOWEB The minimum and maximum values input parameters are summarized in Table 2 Table 2 Conversion Option Parameter Minimum Maximum Value Value Decimal Degree Lat Long to TRS NAD83 WGS84 Latitude 36 99300 39 9890 Decimal Degree Lat Lon to TRS NAD83 WGS84 Longitude 102 052000 94 584000 Decimal Degree Lat Lon to TRS NAD27 Latitude 36 9930 000 40 003200 Decimal Degree Lat Lo
11. 466 NAD83 07805Ww09 Figure 12 Decimal Degree Lat Long to TRS The option to convert decimal degree lat lon values to TRS information figure 12 is the default screen that appears on start up Data validation routines force the values to conform to the minimum maximum range specified in table 2 Select the appropriate Datum and reference Corner from the dropdown lists and enter the desired latitude and longitude values prior to clicking on the Submit button The conversion will be calculated and the results displayed in the Result String text area The results are also added to the conversion list found just below the Interactive Report Menu Appendix A provides an example of the Result String and the data structure for the conversion results table is found in Appendix B Note The same output format is used for all the interactive menu options 14 Enter Latitude and Longitude as Degrees Minute Seconds KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS 0 Calls UTM Help About LEOWEB REST Service Enter Latitude and Longitude as Degrees Minutes and Seconds Datum NAD27 Corner NE v Session No 4047211474667254 Latitude Degrees 39 Minutes 23 Seconds 24 10 Longitude Degrees 96 Minutes 56 Seconds 46 15 Results String Input DMS Lat 39 23 24 1 Long 96 56 46 15 DD Lat 39 390027 Long 96 946152 Datum NAD27 Kansas TRS 08504E02
12. ITS gt FEET lt UNITS gt lt NORTH_LINE gt 5285 lt NORTH_LIN lt SOUTH_LINE gt 5326 lt SOUTH_LIN lt EAST_LINE gt 5305 lt EAST_ LINE gt lt WEST_LINE gt 5271 lt WEST_LINE gt lt BOUNDARY_LINES gt lt SECTION_INFO gt lt RESULTS gt lt LEOWEB gt AKAAAAAAA n Gl EI Vv Example of XML returned when an error lt xml version 1 0 gt lt LEOWEB VERSION 11 00 03 21 12 lt ERROR gt lt Routine gt LoadCorner lt Routine gt lt Message gt Legal values are NW NE S zj PROCESS LWREST11_ 01 gt UTM_NORTHING gt UTM EASTING gt 578910 958586044 lt UTM EASTING gt Vv occurs PROCESS LWREST11 01 gt 1 SW lt Message gt lt Parameter gt Corner lt Parameter gt lt Value gt XE lt Value gt lt ERROR gt lt LEOWEB gt 32 Appendix D JAVA example of a program that calls the LEOWEB REST Service import java io import java net public class leoweb_rest_test Example of accessing LEOWEB REST service public static void main String args Step 1 Build the URL request string String urlRequestString new String http chasm kgs ku edu apex leoweb lwrest11_01 ConvertLLDEG Datum NAD8 3 amp Latitude 38 1 amp Longitude 98 1 amp Corner SE Step 2 try ca
13. LE CONRESULTS TRS VARCHAR 8 LATITUDE NUMBER LONGITUDE NUMBER DATUM VARCHAR 5 TOWNSHIP NUMBER 2 0 TOWNSHIP DIRECTION VARCHAR2 1 RANGE NUMBER 2 0 RANGE DIRECTION VARCHAR 1 SECTION NUMBER 2 0 FOOTAGE NS NUMBER FOOTAGE EW NUMBER FOOTAGE CORNER VARCHAR 2 SPOT VARCHAR 2 Ql LARGEST VARCHAR 2 Q2 VARCHAR2 2 Q3 VARCHAR2 2 Q4 SMALLEST VARCHAR2 2 LEN N SIDE FEET NUMBER LEN S SIDE FEET NUMBER LEN E SIDE FEET NUMBER LEN W SIDE FEET NUMBER ACRES NUMBER UTM NORTHING NUMBER UTM EASTING NUMBER UTM ZONE NUMBER UTM UNITS VARCHAR 8 INPUT STRING VARCHAR2 96 SESSION NO NUMBER TIMESTAMP DATE RECORD NO NUMBER ERRORS VARCHAR2 4000 Appendix C LEOWEB REST Service Example of XML returned lt xml version 1 0 gt lt LEOWEB VERSION 11 00 03 21 12 lt RESULTS gt lt VERSION gt 11 00 lt VERSION gt lt LATITUDE gt 38 1 lt LATITUDE gt lt LONGITUDE gt 98 1 lt LONGITUD lt DATUM gt NAD8 3 lt DATUM gt lt TRS gt 22S07W33 lt TRS gt lt CORNER gt SE lt CORNER gt NS gt 4910 lt NS gt EW gt 3678 lt EW gt SPOT gt C lt SPOT gt QCALL gt SW NW NE NW lt QCALL gt UTM NORTHING gt 4217292 75742482 lt T ea Vv UTM ZONE gt 14 lt UTM_ ZONE gt ECTION_INFO gt lt ACRES gt 645 lt ACRES gt lt BOUNDARY_LINES gt lt UN
14. LEOWEB Version 11 0 User Manual Glennon F Gagnon Kansas Geological Survey June 2012 For nearly 50 years the Kansas Geological Survey KGS has been involved with developing computer programs to convert legal land descriptions to mapping coordinates The first program was written in 1964 by Donald Good His program used 126 land locations and an arbitrary map coordinate system to test the possibility of using a computer to convert section township and range notation to Cartesian coordinates Good s program was written in FORTRAN II for an IBM 1620 computer Subsequent programs such as KANS developed by Charles O Morgan and Jesse M McNellis 1969 offered significant improvements including the ability to calculate latitude and longitude values KANS was written in FORTRAN IV and tested on an IBM 7040 at the University of Kansas Computing Center The program utilized 948 latitude and longitude control points and 962 township and range correction parameters These early programs ran in a mainframe environment making access to the general public impractical With the advent of the PC however KGS employee Charles G Ross 1989 saw an opportunity to write such a program Ross named the program LEO a play on words LEGAL to GEO In 1994 LEO II was released as a second generation version of the program Subsequent development work was performed by David R Collins with the release of LEO 3 4 LEO 3 6 and finally LEO 3 9 released in 1999 Th
15. Range 1 E Section 3 Spot Footages from SE Corner 2400 N 2155 W Spot Center of NE NW NU SE Section is approximately 611 acres Length of north line 5304 Ft Length of south line 5310 Ft Interactive Submit Report Sub Region Q Actions v Range Latitude Longitude Datum TRS Footage Footage Footage Town Township NS EW Corner ship Direction Range Direction Section 39 994724 97 3021 NAD83 01S01E03 2400 2155 SE 39 992237 97 279848 NAD83 01S01E02 1600 1200 SE 39 988928 97 25893 NAD83 01S01E01 330 660 SE Figure 2 Navigation and Content regions and key interactive areas Interactive Help Help has been added to all of the interactive screen objects This includes the dropdown lists input textboxes and radio buttons For help on any object simply click on the label that corresponds to the object 1 e click on the word Latitude A help dialog box will appear with information associated with the object including acceptable min max values See figure 3 KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 For help with Lat Long DMS LatiLong DM mm TRS_FT TRS 0 Calls ulm Help About LEOWEB Latitude click on the word Enter Latitude and Longitude as Latitude Datum NADB3 v 2 degrees latitude Latitude 38 0 Longitude 98 0 Results String Enter values a Submit Q vey Professional Paper 1453 page 3 No data found Figure 3 Help is available on all interactiv
16. Range and Section TRS 3 Support for Multiple Latitude Longitude input formats 4 Conversion of TRS and footage to latitude longitude coordinates 5 Conversion of TRS and Quarter Calls to latitude longitude coordinates 6 Conversion of Universal Transverse Mercator UTM coordinates to TRS 7 A REST web service The application has been tested on contemporary web browsers including Internet Explorer Firefox and Chrome Coordinates are submitted interactively through the use of the web site with the results being calculated and returned to the browser from the server via Oracle s Application Express APEX 4 1 environment The results are added to a list that can be downloaded from the web page as a CSV comma separated values file A key component of the application is the underlying JAVA code that serves as the coordinate calculation engine The code was derived from a stand alone version of LEO still available today It is through Oracle s APEX environment that the underlying JAVA code is leveraged by implementing PL SQL procedures to connect the calculation engine to the web pages There are two distinct components to the project LEOWEB offers an interactive web page for performing online coordinate conversion and a web service intended for accessing conversion algorithms via computer programs The second method is referred to as a REST web service and renders data as XML documents The scope of work for the project included the d
17. Spot Center of SE SW NW SU Section is approximately 625 acres Length of north line 5094 Ft Length of south line 5140 Ft Length of east line 5336 Ft Submit Q Actions Latitude Longitude Datum TRS Fostaue Forte Acres OCall 38 250123 98 250123 NAD83 2150806 1455 4524 SE SW NWY SW 38 240123 98 240123 NAD83 21508VV07 3170 1679 NW SE SW NE 38 230123 98 230123 NAD83 2150817 4824 4076 SE NE NW NYY 38 220123 98 220123 NAD83 2150817 1129 1210 NW NWY SE SE 38 210123 98 210123 NAD83 2150821 2726 3617 SE SW SE NW 38 190123 98 190123 NAD83 2150827 669 3162 SW NE SE SW 38 180123 98 180123 NAD83 2150834 2337 286 NE NE NE SE 38 170123 98 170123 NAD83 22508VV02 3982 2692 NE NE SE NW 38 160123 98 160123 NAD83 2250801 309 5138 SW SW SW SW 38 150123 98 150123 NAD83 2250812 1914 2256 NE S NW SE 2A 1AN 9914N172 NANAI VIANT A 2812 AARA QE Nit CA NIA Figure 27 Interactive Report Tool showing the QCall computed column LEOWEB REST Service KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS 0 Calls UTM Help About LEOWEB REST Service REST Service LEOWEB RESTful WEB SERVICE The LEOWEB project offers a REST web service for transferring LEO data via a URI in HTTP This service runs independently of the interactive version of LEOVVEB but offers the same conversio Click on the example links to view returned format Decimal Degre
18. ad the dataset to the client computer This is done by selecting the Actions button and then choosing the download feature Figure 18 The user will be prompted to save the data as a CSV file or in HTML format Submit ae Actions v Select Columns P tage Town Township Latitude Longitude Datum TRS ship Direction Range 39 988249 97 333943 NADB3 O1S01E05 Y Filter 3 S 1 39 988398 97 315049 NAD83 O1S01E04 3 S 1 39 988507 97 296098 NAD83 01801E03 Rows Per Page b S 1 39 988446 97 277209 NAD83 01801E02 Format 1 39 988356 97 258199 NADS3 0O1S01E01 34 1 ill Flashback Control Break Highlight 9 Reset Compute gp Help Aggregate gy Download Chart Group By Figure 18 Using the Interactive Report the data can be downloaded to the client computer Other interactive report features include the ability to search on data fields manage the columns that are displayed filter the dataset control the number of records displayed on a page and re format the layout The Format menu option offers several sub menu options to further enhance the report There is also a Reset button that will allow the user to undo the format settings and the return to the default screen Searching Columns To find a particular value in one of the columns simply click on the Search icon and select the desired data column from the dropdown list Figure 19 After doing so enter the value to search for in th
19. d reference Corner A datum is a reference frame that defines the earth as a geometric model LEOWEB datum options are NAD27 NAD83 and WGS84 The reference corner is used to determine the offset footage of the spot with respect to the section boundaries Dropdown lists are used for selecting the Datum and reference Corner on all of the LEOWEB conversion pages Input field text boxes lie just below the drop down lists These parameters will vary depending on the type of conversion that is being requested After entering the conversion values the user can click on the Submit button and the results will be displayed in the Result String text area The results are also added to a list in the interactive report sub region where the results can be customized using features of the built in Actions tool See figure 2 LEOWEB V11 000 Navigation Re gion Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help About LEOWEB REST Service Enter Township Range Section and Footage values Datum NAD83 v Corner SE Session No 4113670350103855 Township 1 South Range 1 Range Direction East v Section 3 Footage NS 2400 EW Footage 2155 Offset Direction North of the South section line and west of East section line Content Region Results String Input TRSFT G1S01E03 Offset 2400 ft N of the South line 2155 ft W of the East line DD Lat 39 994724 Long 97 3021 Datum NAD83 Kansas TRS 01501E03 Township 1
20. e DOS versions of LEO were written in FORTRAN 77 for IBM compatible personal computers They remained a popular tool for industry researchers and government for nearly 20 years In 2007 work began on a GUI version of LEO that would utilize the benefits of the more powerful yet low cost computers LEO 7 0 was developed by Glen Gagnon as a stand alone desktop program written in Java Released in 2008 it offers an intuitive graphic user interface NAD27 and NAD83 conversion options and batch processing capabilities The application was designed to run on any system supporting the JAVA Runtime Environment JRE 1 6 A key aspect of the LEO 7 0 design was the ability to de couple the calculation engine from the GUI front end When implemented in this fashion the same engine used in the desktop version can be called within database environments such as Oracle This feature makes LEO very flexible and guarantees the same results in all environments Deployed as a web service it is called thousands of times per day to perform location calculations on the KGS web site The database implementation of LEO is powerful yet many users continue to rely on the stand alone version One reason is the ability to operate untethered from network connectivity At times the freedom to work remotely in the field is essential but the stand alone design has a downside One major drawback is the need for sufficient computer skills to install JAVA Another is the lack of a
21. e Latitude and Longitude to Township Range and Section Example httpichasm kqs ku edu apewleoweb Iwrest11 01 ConventLLDEG Datum NAD83 amp Latitude 38 1 amp Longitude 98 1 amp Comer SE Degrees Minutes Seconds Lat Lon to Township Range and Section Example httpvichasm kqs ku edu apewleoweb Iwrest11 01 ConvetLLDMS Datum NAD838LatDeg 38 amp LatMin 45 amp LatSec 308LonDeq 98 amp LonMin 45 amp LonSec 30 amp Cormer SE Degrees Decimal Minutes Lat Lon to Township Range and Section Example httpvichasm kgs ku edu apewleoweb Iwrest11 01 ConyetLLDMm Datum NADS3 amp LatDeq 388LatMmmm 45 58LonDeg 9388LonMmm 45 5 amp Cormer SE Township Range Section and Footage Offsets to Latitude and Longitude Example httpvichasm kgs ku edu apewleoweb Iwrest 1 01 ConvertTRSFT Datum NAD838TRS 1051 71 2 amp Comer SE amp FT NS 08FT EVWW 0 Township Range Section and Quarter Calls to Latitude and Longitude Example httovichasm kgs ku edu apewleoweb lwresti1 01 ConverTRSQC Datum NAD838TRS 1051 71 280CallENWNESWSE amp Spot C amp Comer SE UTM coordinates Township Range and Section Example httpichasm kgs ku edu apewleoweb Iwrest 1 01 ConvetUTM Datum NAD83 amp Northing 4217292 76 amp Easting 578910 96 amp Z0ne 14 amp Cormer SE Figure 28 LEOWEB help page for the REST Service REST is an acronym for REpresentational State Transfer It is a software architecture designed to permit distributed computing over networks Because of its simplicity it has becom
22. e UTM zones for Kansas are 13 14 and 15 Results String Input UTM Northing 4356826 01 Long 580 DD Lat 39 357168 Long 98 069439 Datum UIs ZONE 13 un zone 1a Kansas TRS 08507014 Township 85 Range 7 W Section 14 Spot Footages from SE Corner 2650 N 2648 Spot Center of Section is approximately 645 acres Length of north line 5286 Ft Length of south line 5306 Ft Length of east line 5306 Ft Submit Actions v lt e a Footage Footage Footage Town Township ti Latitude Longitude Datum NS EW cone ship DEEG Range Direction Section Range 39 357168 98 069439 NAD83 0850714 2650 Figure 17 UTM Coordinates to Lat Long When converting UTM coordinates specifying the correct geodetic datum and UTM zone is important Zone 14 is the default option but the state of Kansas includes zones 13 14 and 15 In this example the help feature for the Zone radio buttons has been activated by clicking on the word Zone Help is available on all LEOWEB objects 19 Using the Interactive Report Tools When coordinates are converted in LEOWEB the results are added to a database table that is displayed as a grid in the lower region of the web page As mentioned earlier the layout and content of the grid can be customized using the APEX interactive report tools Perhaps the most important feature is the ability to downlo
23. e a popular method for running programs over the World Wide Web Generally speaking resources are accessed by making HTTP requests to a web service through the use of a URL uniform resource locator Resources are then made available or acted upon in a format that is appropriate for the resource It could be a downloaded image the delivery of an XML document or perhaps some other action such as the execution of an automated process The LEOWEB offers a READ ONLY service that performs the same coordinate conversions as the interactive tool Each conversion method has its own URL format consisting of a resource name along with query parameters The HTTP request can be invoked programmatically See appendix D for example code Doing so will result in the generation of an XML document derived from the LEO calculation engine The document is then returned to the calling program where it can be parsed Examples for each of the URL formats are presented on the REST Service help page Figure 28 The user can click on the links to get an idea of the information that is returned to the calling program Because the links may change over time a best practice would be to get the latest URL s from the website 27 1 Example of URL for converting decimal degree latitude and longitude http chasm kgs ku edu apex leoweb lwrest11_01 ConvertLLDEG Datum NAD83 amp Latitude 3 8 1 amp Longitude 98 1 amp Corner SE The question mark is used
24. e input text box and press the Go button 20 Using the Interactive Report Tools continued Actions All Columns Footage 5 at TR Latitude a NS AD2F 0551 5vv05 3265 ADS3 05515vv05 3265 Datum ADS3 05515vv04 1478 Longitude TRS AD2F 05515vvo4 1478 AD27 o5s15vvo3 1897 Footage NS ADS3 0551503 1897 Footage EWA AD27 o5s1swvo2 387 AD83 oss1swyo2 987 AD27 ossiswo1 1234 Town ship AD83 0551 501 1234 Footage Corner Township Direction Range Figure 19 Using the Interactive Report to search for a value in a column The Search action serves as a simple filter on the dataset If a search fails to find any values it returns an empty set otherwise it only displays records that meet the search criteria When a search or filter has been enabled an icon that resembles a funnel is displayed in addition to the records Figure 20 shows the results of searching for NAD27 records Note the funnel icon and words Datum contains NAD27 just above the grid Submit Q Actions E Y Datum contains NAD27 X Footage Footage Footage NS EW Corner Latitude Longitude Datum TRS 39 649419 99 033127 NAD27 0551505 3265 1255 39 644484 99 018479 NAD27 0551504 1478 2414 39 645605 99 003371 NAD27 0551503 1897 3426 Figure 20 A funnel shaped icon is displayed when a filter is enabled The user can nest searches Additional icons are displayed as the searches are nested To undo a
25. e objects Interactive Report A rich set of reporting tools is presented by clicking on the Actions button The interactive features allow the user to customize the data records stored in the result set The user can search for specific records select display columns filter and sort the data alter the report layout and download the data to the end users computer These features are made available using the Search bar depicted in figure 4 Detailed examples on how to use these features are presented later in this document Submit 3 Q Actions v 4 4 z n S Footage Footage Footage Latitude Longitude Datum TRS NS EW Corner 39 994724 97 3021 NADS3 01501E03 2400 2155 SE 39 992237 97 279848 NAD83 01S01E02 1500 1200 SE 39 988928 97 25893 NADB3 01S01E01 330 660 SE Figure 4 The interactive report tools are accessed via the Search bar which features 1 Search by column 2 Input text field 3 Go button 4 Actions Menu Conversion Options LEOWEB provides six routines for coordinate conversion 1 Convert decimal degree latitude longitude coordinates to TRS values 2 Convert degree minutes and seconds latitude longitude coordinates to TRS values 3 Convert degree and decimal minutes latitude longitude coordinates to TRS values 4 Convert TRS and footage values to latitude longitude coordinates 5 Convert TRS and quarter call values to latitude longitude coordinates 6 Convert UTM coordinates to TRS
26. esign development and implementation of the application and support documentation The work was performed by KGS Senior System Analyst Programmer Glen Gagnon and KGS Oracle Database Administrator Kurt Look A link to the application can be found on the Kansas Geological Survey s web site at the following URL http www kgs ku edu software softwareIndex html Getting Started A basic understanding of latitude and longitude coordinates geodetic reference datum and the PLSS system is required to use the program properly Fortunately a wealth of information on these subjects can be found on the Internet The Survey s Public Information Circular 20 The public land survey system in Kansas by Daniel R Suchy is an excellent place to start This paper can be found online at http www kgs ku edu Publications pic20 pic20_1 html System Requirements LEOWEB runs as an Oracle APEX application It requires a web browser that supports JavaScript and adheres to W3C standards for HTML and CSS The application has been tested on multiple versions of Microsoft Internet Explorer Mozilla Firefox and Google Chrome Running the Program The LEOWEB application can be found on the Kansas Geological Survey s website at the following URL http www kgs ku edu software softwareIndex html Upon navigating to the web page the user is presented with the display panel depicted in figure 1 At this point you could convert a latitude lon
27. gitude pair to PLSS values by entering coordinates into the text fields and pressing the Submit button There are a total of nine tabbed panels six are for coordinate conversions and three for informational purposes This document considers each panel but first we should highlight some key program features KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS 0 Calls UTM Help About LEOWEB Enter Latitude and Longitude as Decimal Degrees Datum NAD83 v Corner SE 38 0 Longitude 98 0 Results String Enter values above and click Submit below to see resu Figure 1 Default display panel for LEOWEB 11 Screen Layout Each page can be divided into two key regions One region is for navigation and the other for content The navigation region is at the top of each page It shows a tabbed menu bar used to select the conversion options Once clicked a tab is highlighted and the corresponding page is rendered As the user moves from tab to tab a brief description of the required input parameters is revealed in the header of the content region For example when selecting TRS_FT the message Enter Township Range Section and Footage values is displayed The content region below the navigation bar is a combination of input fields and an area for showing conversion results Common to all conversion pages is the requirement for specifying a Datum an
28. he most part the fields returned with the interactive page correspond to the fields returned from the web service Yet there are some instances where the XML tag name differs The reason for the differences is to reduce the amount of network traffic For instance the interactive tool reports the quarter calls as four separate columns Q1 Largest Q2 Q3 and Q4 Smallest in a grid while the REST service reports only one field named QCALL as a concatenation the four fields The results can be seen in Example 1 a complete XML document returned by the REST service lt xml version 1 0 gt lt LEOWEB VERSION 11 00 03 21 12 PROCESS LWREST11 01 gt lt RESULTS gt lt VERSION gt 11 00 lt VERSION gt lt LATITUDE gt 38 1 lt LATITUDE gt lt LONGITUDE gt 98 1 lt LONGITUDE DATUM gt NAD83 lt DATUM gt TRS gt 22S07W33 lt TRS gt CORNER gt SE lt CORNER gt S gt 4910 lt NS gt EW gt 3678 lt EW gt SPOT gt C lt SPOT gt QCALL gt SW NW NE NW lt QCALL gt UTM NORTHING gt 4217292 75742482 lt UTM NORTHING gt EASTING gt 578910 958586044 lt UTM EASTING gt ZONE gt 14 lt UTM_ZONE gt ECTION_INFO gt lt ACRES gt 645 lt ACRES gt UNDARY LINES gt lt UNITS gt FEET lt UNITS gt lt NORTH_LINE gt 5285 lt NORTH_LIN lt SOUTH_LINE gt 5326 lt SOUTH_LIN lt EAST_LINE gt 5305 lt EAST_ LINE gt lt WEST_ LINE gt 5271 lt WEST_LINE gt lt BOUNDARY LINES gt lt SECTION_INFO gt lt RESULTS gt lt LEOWEB gt
29. ip 1 South Range 1 East Section 1 or 01S01E01 1 160acres i e Center of NW quarter of 01S01E01 2 40acres i e Center of SE NW quarter of 01S01E01 3 10acres_ i e Center of SW SE NW quarter of 01S01E01 4 2 5 acres i e Center of SW SW SE NW quarter of 01S01E01 Figure 6 shows location X spotted to three levels of subdivision In LEOWEB quarter calls are reported spot first then from smallest to largest subdivision In this example the q call location could be identified as being the center of the southwest quarter smallest of the southeast quarter of the southwest quarter largest of Section 7 Township 9S Range 5E 1 mi 160 acres 160 acres Legal description format Description from smallest area to largest area aa SW SE SW sec 7 in T 9S R 5E Figure 6 This image shows three levels of subdivision Note LEOWEB reports on up to four levels of subdivision Four levels of subdivision are computed when converting geographic coordinates to TRS Calls For example A NAD83 lat long coordinate of 38 41039961 and 99 720785 would approximate to a spot near the center of the NW NE SW SE subdivision of sec 11 T 19 S R 22 W It should be noted that converting lat long values to spot and quarter calls only produces a rough approximation of the actual location In this example The Center spot is approximately 40 feet away from the actual location Accuracy is improved by reporting TRS
30. ly 631 acres Length of north line 5283 Ft Length of south line 5276 Ft Length of east line 5230 Ft Submit Q Actions v Range Footage Footage Footage Town Township NS EW Corner Ship Direction Range Direction Section Latitude Longitude Datum TRS 39 648667 97 898928 NAD27 05505wW05 3420 SE 5 39 648673 97 899249 NAD83 0580505 Figure 16 TRS and Quarter Calls to Lat Long The input panel for converting TRS and quarter call data to latitude and longitude coordinates offers more selection tools than any other interactive option The user has the ability to specify the quarter call subdivision level and which nine point spot to calculate When using the TRS and Quarter Calls to Lat Long option the user may find selecting the quarter calls from the dropdown lists a bit awkward In order to enforce data validation rules the screen was intentionally designed to require the user to enter the largest subdivision first using the most right list Q1 The user then works right to left entering Q2 Q3 and Q4 as desired 18 Enter UTM Northing Easting and Zone KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS 0 Calls Help About LEOWEB REST Service Enter UTM Northing Easting and Zone Datum NAD83 Corner SE Session No 2832349311848743 Northing 4356826 01 O13 14 O15 Zone Easting 580172 86 Th
31. method for periodically updating the stand alone versions with corrected coordinate values for section corners Web based software and the advent of mobile computing have made it possible to implement a solution that streamlines use runs remotely and can update coordinates in a timely manner This document serves as the User Manual for the LEOWEB 11 application and is intended to assist users with various features of the program Application Overview LEOWEB 11 is a web based application that converts Kansas Public Land Survey System PLSS legal land descriptions to geographic coordinates and vice versa It represents the most recent development efforts in a series of computer programs designed to perform coordinate conversions The project was funded by the Kansas GIS Policy Board and the Kansas Geological Survey KGS It is not a surveying tool and only provides approximate conversion values The program serves a broad range of users including industry researchers government agencies and the general public The primary goal of the project is to provide a web based version of LEO that 1 leverages existing development work 2 simplifies use and 3 provides updated geographical information to a larger population of end users in a timely manner Key features of the web version include the following 1 An Interactive tool to convert PLSS to Geographic and Cartesian coordinates 2 NAD27 NAD83 WGS 84 coordinate conversions to Township
32. n AH Spot KE ADD_MONTI Al Q1 Largest EMNE CAS AJ Q2 SASE CEIL AK 03 CHR AL Q4 Smallest bi co C EE z COALESCE Create a computation using column aliases Examples 1 B C 100 2 INITCAP I IIINITCAP C 3 CASE WHEN A 10 THEN B C ELSE B END Cancel Delete Apply Figure 26 Interactive Report Tool for creating computed columns A computed field is created by assigning a column heading to the new column and adding a computational expression in the text area The tool features lists of available columns and functions that can be applied Note the columns are not entered by their name but by an alias i e Q2 is AJ For our quarter call string we have named the new column QCall and used the following computational string trim AL AK AJ AD Click the Apply button to add the new computed column display Figure 27 25 Creating a Computed Column continued KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help Enter Latitude and Longitude as Decimal Degrees Datum NAD83 v Corner SE 4 Session No 2832349311848743 Latitude 38 250123 Longitude 95 250123 Results String Input Decimal Degrees Lat 38 250123 Long 98 250123 DD Lat 38 250123 Long 98 250123 Datum NAD8S3 Kansas TRS 21508006 Township 215 Range 8 W Section 6 Spot Footages from SE Corner 1455 N 4524 W
33. n Kansas are smaller or larger than the prescribed nominal section In fact very few if any sections are true square miles and less than 7 percent of Kansas sections actually cover an area equaling 640 acres Figure 9 shows sec 6 T 35 S R 8 E encompassing 1616 acres This irregular section is extremely large having east and west boundary lines of 5 284 and 5 285 feet respectively and north and south boundary lines of 13 316 and 13 327 feet in length Fractional sections are frequently found along the borders and in areas with natural obstacles such as rivers Users should be aware of irregular sections and problems associated with converting lat long values to legal land descriptions W Figure 9 Irregular sec 6 T 35 S R 8 E covers over 2 square miles of land Note Compare the footage spot to figure 7 Unfortunately LEOWEB does not handle irregular sections very well The southern boundary of sec 36 T 26 S R 20 E depicted in figure 10 is a good example of a section boundary that is not a straight line In this example land below the dashed line is still inside the section but not considered in the conversion calculation This is because the calculation engine only considers the corner points of the section Since LEOWEB uses an equal subdivision method the program also has problems when subdividing irregular sections The region around Fort Riley Kansas is a good example of an area with some extremely irregular section
34. n to TRS NAD27 Longitude 102 052000 94 584000 Degree Minute Second Lat Lon to TRS Latitude Degrees 36 40 Degree Minute Second Lat Lon to TRS Latitude Minutes 0 59 Degree Minute Second Lat Lon to TRS Latitude Seconds 0 00 59 99 Degree Minute Second Lat Lon to TRS Longitude Degrees 94 102 Degree Minute Second Lat Lon to TRS Longitude Minutes 0 59 Degree Minute Second Lat Lon to TRS Longitude Seconds 0 00 59 99 Degree Decimal Minutes Lat Lon to TRS Latitude Degrees 36 40 Degree Decimal Minutes Lat Lon to TRS Latitude Minutes 0 0000 59 9999 Degree Decimal Minutes Lat Lon to TRS Longitude Degrees 94 102 Degree Decimal Minutes Lat Lon to TRS Longitude Minutes 0 0000 59 9999 11 Conversion Option Parameter Minimum Maximum Value Value TRS Conversions to Lat Lon Township 1 35 TRS Conversions to Lat Lon Range East 1 25 TRS Conversions to Lat Lon Range West 1 43 TRS Conversions to Lat Lon Section 1 36 TRS and Offset Footage to Lat Lon N S Footage 0 5280 TRS and Offset Footage to Lat Lon E W Footage 0 5280 UTM Coordinates to Lat Lon Northing Not Validated Not Validated UTM Coordinates to Lat Lon Easting Not Validated Not Validated UTM Coordinates to Lat Lon Zone 13 15 Allows input greater than 5280 feet but throws a warning message Irregular Sections A section is an area 1 36 of a township bounded by 1 square mile and covering 640 acres Many sections i
35. r America U S Geological Survey p 252 Ross C G 1989 LEO conversion between legal and geographic reference systems in Kansas Kansas Geological Survey Open file Report 89 10 9 p Suchy D R 2002 The public land survey system in Kansas Kansas Geological Survey Public Information Circular 20 4 p available online at http www kgs ku edu Publications pic20 pic20_1 html accessed 06 27 2012 Gagnon G F 2008 LEO Version 7 0 User Manual Kansas Geological Survey Open file Report 2008 24 20 p available online at http www kgs ku edu software LEO LEO_ 07 UserManual OFR_2008 24 pdf accessed 06 27 2012 Oracle Application Express Installation Guide Release 4 1 Part Number E21673 04 ottp docs oracle com cd E23903_01 doc doc 41 e21673 pre_require htm autold2 accessed 06 27 2012 W3C XML Essentials http www w3 org standards xml core accessed 06 27 2012 W3School XML Tutorial http www w3schools com xml default asp accessed 06 27 2012 IBM RESTful Web services The basics http www ibm com developerworks webservices library ws restful accessed 06 27 2012 34
36. s See figure 11 GARNETT 39 MI ELSMORE VIA KANS 203 3 5 Mi a 0 i 129 gt oi Figure 10 Irregular sec 36 T 26 S R 20 E Note the area below t line is not considered in the LEOWEB conversion he dashed Fort Riley North 0 TOS R00 Figure 11 Irregular sections around the Fort Riley area Conversion Screens The following is a brief discussion on each of the six interactive web pages Enter Latitude and Longitude as Decimal Degree KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help About LEOWEB REST Service Enter Latitude and Longitude as Decimal Degrees Datum NAD83 v Corner SE Session No 4047211474667254 Latitude 39 456789 Longitude 97 876543 Results String Input Decimal Degrees Lat 39 456789 Long 97 876543 DD Lat 39 456789 Long 97 876543 Datum NAD83 Kansas TRS 073505009 Township 75 Range 5 W Section 9 Spot Footages from SE Corner 1759 N 1017 W Spot Center of NU SW NE SE Section is approximately 640 acres Length of north line 5242 Ft Length of south line 5221 Ft Length of east line 5340 Ft Submit Q Actions v Range Section Footage Footage Footage Town Township NS Ew Comer ship Direction Range Direction Latitude Longitude Datum 39 456789 97 876543 NAD83 07805Ww09 1759 1017 T S 39 45423 97 880
37. s from SE Corner 2457 N 2457 W Spot Center of NU NW NW SE Section is approximately 642 acres Length of north line 5276 Ft Length of south line 5299 Ft Actions v Latitude Longitude Datum TRS Haage Eeetae fentaye at Tenansblle Range Band Section 39 631546 97 902496 NAD83 0550508 2457 2457 SE 39 631599 97 921277 NAD83 05505W07 2457 2457 SE 39 646138 97 921382 NAD83 05805W06 2457 2457 SE Figure 15 TRS and Offset Footage to Lat Long Option 4 is selected when the user wants to convert TRS and footage information to latitude and longitude coordinates The results are returned using the datum and reference corner specified in the dialog screen 17 EnterTownship Range Section and Quarter Calls KANSAS GEOLOGICAL SURVEY The University of Kansas LEOWEB V11 000 Lat Long D dddd Lat Long DMS Lat Long DM mm TRS_FT TRS Q Calls UTM Help About LEOWEB REST Service Enter Township Range Section and Quarter Calls start with largest subdivision Q1 and work towards Q4 Datum NAD27 Corner SE S Session No 4165641 416599927 Township 5 South Range 5 Range Direction West v Section 5 SPOT C Q4 smallest SE vj Q3 NE v Sw w Q1 NE largest NONE Results String Input TRSQC 053 t C of SE NE SW NE a DD Lat 39 648667 97 898928 Datum NAD27 Kansas TRS 055051 NW N2 Township 55 Rang o7 Section 5 Spot Footages fror E2 her 3420 N 1484 W Spot Center of iw NE Section is approximate
38. sort feature allows for up to six levels of sorting The user can sort on the hidden columns as well as the ones that are displayed In Figure 25 we have sorted on acres and sections in ascending order The Highlight option has been used to emphasize sections having 610 acres The Control Break and Group By utilities operate in a similar fashion to the sort utility fa Mm 1 Ax Latitude Go Actions v Longitude TRS Section 39 988446 39 987995 39 944424 39 E 39 988507 39 973524 Figure 25 Records sorted by acres and sections highlighting sections having 610 acres 97 277209 97 352864 97 353055 97 296098 97 35279 01501E02 01501E06 01501E19 E30 01501E03 01501E07 Creating a Computed Column The Compute option allows the user to add computed columns to the report Computations can be performed on numeric string and date fields The Online Help feature of the interactive reports tool gives additional information on how to create computed fields In this example we create a computed column as a string that reports the quarter calls as a concatenated text string From the Actions menu select Format and then Compute The compute utility dialog will appear as shown in Figure 26 Ea Compute Computation QCall Column Heading QCall Format Mask Computation Expression trim aAL aK Epp 1 Columns Functio
39. tch block try Step 3 Create a URL resource pointer URL myURL new URL urlRequestString Step 4 Create an HttpURLConnection instance to make the request HttpURLConnection myConn HttpURLConnection myURL openConnection Step 5 Create a Buffer Reader to read in the response of the request BufferedReader myBuffer new BufferedReader new InputStreamReader myConn getInputStream Step 6 Create a string buffer for building the XML document StringBuilder myXMLDoc new StringBuilder Step 7 Create a string to capture the input characters String myLine Step 8 Append the characters from the read buffer to the document while myLine myBuffer readLine null myXMLDoc append myLine Step 9 close buffer and connection myBuffer close myConn disconnect Step 10 print the XML document System out println myXMLDoc toString catch IOException e print the exception message System out println e toString 33 References Good D I 1964 Mathematical conversion of section township and range notation to Cartesian coordinates State Geological Survey of Kansas Bulletin 170 pt 3 30 p Morgan C O and McNellis M J 1969 FORTRAN IV Program KANS for the Conversion of General Land Office Locations to Latitude and Longitude Coordinates State Geological Survey of Kansas Special Distribution Pub 42 24 p Thompson M M 1979 Maps fo
40. teractive Conversion The conversion results are calculated and displayed in the text area labeled Results String The following is an example of the output for the Decimal Degree Latitude and Longitude conversion to Township Range and Section Option Degree Decimal Degree Lat Long to TRS Input Decimal Degrees Latitude 38 150025 Longitude 99 357159 Datum NAD83 Reference Corner SE Text Area Results Display Input Decimal Degrees Lat 38 150025 Long 99 357159 DD Lat 38 150025 Long 99 357159 Datum NAD83 Kansas TRS 22S19W12 Township 22S Range 19 W Section 12 Spot Footages from SE Corner 1365 N 1970 W Spot Center of SW SE NW SE Section is approximately 646 acres Length of north line 5303 Ft Length of south line 5282 Ft Length of east line 5321 Ft Length of west line 5299 Ft UTM s calculated using NAD83 Northing 4222521 06 Easting 468706 33 Zone 14 30 Appendix B LEOWEB 11 0 Interactive Conversion In addition to output being displayed in the Results String text area output is also added to a database table that can be downloaded to the client computer This information is displayed in the grid area of the web page and can be modified using the Interactive Report Actions tool Display Grid CREATE TAB
41. to separate the resource name from the query variables For converting decimal degree latitude and longitude coordinates use the resource name of http chasm kgs ku edu apex leoweb lwrest11_o01 ConvertLLDEG along with the query variables Datum Latitude Longitude and Corner Values are assigned to each variable using the equal sign The ampersand amp is used to separate variables i e Datum NAD83 amp Latitude 38 1 amp Longitude 98 1 amp Corner SE 2 Example of URL for converting Degrees Minutes Seconds latitude and longitude http chasm kgs ku edu apex leoweb Iwrest11_01 ConvertLLDMS Datum NAD83 amp LatDeg 3 8 amp LatMin 45 amp LatSec 30 amp LonDeg 98 amp LonMin 45 amp LonSec 30 amp Corner SE The question mark is used to separate the resource name from the query variables For converting Degree Minutes and Seconds latitude and longitude coordinates use the resource name of http chasm kgs ku edu apex leoweb lwrest11_o01 ConvertLLDMS along with the query variables Datum LatDeg LatMin LatSec LonDeg LonMin LonSec and Corner Values are assigned to each variable using the equal sign The ampersand amp is used to separate variables i e Datum NAD83 amp LatDeg 38 amp LatMin 45 amp LatSec 30 amp LonDeg 98 amp LonMin 45 amp LonSec 30 amp Corner SE 3 Example of URL for converting Degrees and Decimal Minute latitude and longitude http chasm kgs ku edu apex leoweb Iwrest11_01
42. uarter Calls http chasm kgs ku edu apex leoweb wrest11_01 ConvertTRSQC Datum NAD83 amp TRS 10S1 7TW12 amp QCall NWNES WSE amp Spot C amp Corner SE The question mark is used to separate the resource name from the query variables For converting Degree Minutes and Seconds latitude and longitude coordinates use the resource name of http chasm kgs ku edu apex leoweb Iwrest11_o01 ConvertTRSQC along with the query variables Datum TRS QCall Spot and Corner Values are assigned to each variable using the equal sign The ampersand amp is used to separate the variables i e Datum NAD83 amp TRS 10S17W12 amp QCall NWNES WSE amp Spot C amp Corner SE 6 Example of URL for converting UTM coordinates http chasm kgs ku edu apex leoweb Iwrest11_01 ConvertUTM Datum NAD83 amp Northing 42 17292 76 amp Easting 578910 96 amp Zone 14 amp Cormer SE The question mark is used to separate the resource name from the query variables For converting Degree Minutes and Seconds latitude and longitude coordinates use the resource name of http chasm kgs ku edu apex leoweb wrest11_o01 ConvertUTM along with the query variables Datum Northing Easting Zone and Corner Values are assigned to each variable using the equal sign The ampersand amp is used to separate the variables i e Datum NAD83 amp Northing 4217292 76 amp Easting 578910 96 amp Zone 14 amp Corner SE 29 Appendix A LEOWEB 11 0 In
43. values Coordinated conversion options can be performed using the interactive web pages or through the REST web service Both methods require the same input parameters however the output results vary slightly between the two methods see Table 1 The difference has to do with how the data are accessed utilized and rendered Interactive users generally have only a few coordinates to convert at one time In this scenario the results are displayed on the screen and written to a grid that can be downloaded as a CSV file Once downloaded the file can then be opened in a spreadsheet such as Microsoft Excel With the REST service the data are accessed by a computer program and the results are returned as XML tag formatted information Examples of the REST service and XML are given later in this document However a detailed discussion of these subjects is beyond the scope of this paper For those interested the W3School has an XML tutorial at http www w3schools com xml default asp and IBM hosts a web page on Rest Services at http www ibm com developerworks webservices library ws restful Table 1 LEOWEB interactive versus REST output values Parameter Name Description Data Type Web Page Rest Service Version Number No Yes TRS Township Range and Section string i e 16S24W11 Character Yes Yes Latitude Number
Download Pdf Manuals
Related Search
Related Contents
Accesorios Instruções de Operação PRIMERGY N4000 取扱説明書 制限/留意/追記/訂正事項 Beta-bloquants beta-bloquants Muse M-25RD CD radio VIVID SERVICE MANUAL Rexel POUCHES A7 DOUBLE (25) Da-Lite 35201 projection screen Aerocool XPredator X1 Copyright © All rights reserved.
Failed to retrieve file