diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b27d7e5..e3cb2c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,9 @@ jobs: - name: Check run: make check + - name: Distribution check + run: make distcheck + build-cmake: name: ${{ matrix.toolchain }} runs-on: ${{ matrix.os }} diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cfb919..974870d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,8 @@ set(shp_LIB_VERSIONINFO "4:0:0") set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") +set(EG_DATA ${PROJECT_SOURCE_DIR}/tests/shape_eg_data CACHE STRING "") + set_property(GLOBAL PROPERTY USE_FOLDERS ON) # libraries are all shared by default. @@ -185,30 +187,13 @@ endif() if(MSVC) # TODO(schwehr): How to test on Windows? set(BUILD_TESTING OFF CACHE BOOL "") -else() - # TODO(schwehr): Temporary work around. - cmake_policy(SET CMP0026 OLD) endif() find_program(BASH_EXECUTABLE bash) -find_program(SED_EXECUTABLE sed) -if(BASH_EXECUTABLE AND SED_EXECUTABLE) +if(BASH_EXECUTABLE) set(BUILD_TESTING ON CACHE BOOL "") else() - message(STATUS "WARNING: sed or bash not available so disabling testing") -endif() - -# For the first series of tests, the user needs to have downloaded -# from http://dl.maptools.org/dl/shapelib/shape_eg_data.zip, unpacked -# that file, and specified the location of that directory with -# the cmake option, -DEG_DATA:PATH=whatever -if(BUILD_TESTING) - if(EG_DATA) - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/script.sed "s?/u/www/projects/shapelib/eg_data?${EG_DATA}?\n") - else() - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/script.sed "") - message(STATUS "WARNING: EG_DATA:PATH not set to point to downloaded eg_data directory so the eg_data part of testing will be ignored.") - endif() + message(STATUS "WARNING: bash not available so disabling testing") endif() if(NOT MSVC) @@ -231,10 +216,6 @@ foreach(executable ${executables}) set_target_properties(${TOOLS} PROPERTIES INSTALL_RPATH "@loader_path/${RELATIVE_LIBDIR}") endif() - if(BUILD_TESTING) - get_target_property(${executable}_LOC ${executable} LOCATION) - file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/script.sed "s?\\./${executable}?${${executable}_LOC}?\n") - endif() if(NOT MSVC) target_compile_options(${executable} PRIVATE -Wall -Wextra) endif() @@ -255,46 +236,40 @@ if(BUILD_TESTING) foreach(executable shptest shputils) add_executable(${executable} ${executable}.c) target_link_libraries(${executable} ${PACKAGE}) - get_target_property(${executable}_LOC ${executable} LOCATION) - file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/script.sed "s?\\./${executable}?${${executable}_LOC}?\n") endforeach(executable shptest shputils) - # Write this as a shell script since execute_process cannot handle - # anything like redirection. - file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/script.sh "${SED_EXECUTABLE} -f script.sed < $1 >| $2") - execute_process( - COMMAND - ${BASH_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/script.sh ${CMAKE_CURRENT_SOURCE_DIR}/tests/test1.sh ${CMAKE_CURRENT_BINARY_DIR}/sed_scripted_test1.sh - ) + # Set environment variables defining path to executables being used + function(declare_test_executable TEST TARGETS) + foreach(TARGET ${TARGETS}) + string(TOUPPER ${TARGET} NAME) + list(APPEND TEST_ENV ${NAME}=$) + endforeach() - execute_process( - COMMAND - ${BASH_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/script.sh ${CMAKE_CURRENT_SOURCE_DIR}/tests/test2.sh ${CMAKE_CURRENT_BINARY_DIR}/sed_scripted_test2.sh - ) - - execute_process( - COMMAND - ${BASH_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/script.sh ${CMAKE_CURRENT_SOURCE_DIR}/tests/test3.sh ${CMAKE_CURRENT_BINARY_DIR}/sed_scripted_test3.sh - ) + set_tests_properties(${TEST} PROPERTIES ENVIRONMENT "${TEST_ENV}") + endfunction() if(EG_DATA) - # These tests correspond to everything in test1.sh add_test( NAME test1 - COMMAND ${BASH_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/sed_scripted_test1.sh + COMMAND + ${BASH_EXECUTABLE} ${PROJECT_SOURCE_DIR}/tests/test1.sh ${PROJECT_SOURCE_DIR}/tests/expect1.out ${EG_DATA} ) + declare_test_executable(test1 "shpdump;dbfdump") endif() - # These tests correspond to everything in test2.sh + add_test( NAME test2 - COMMAND ${BASH_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/sed_scripted_test2.sh + COMMAND + ${BASH_EXECUTABLE} ${PROJECT_SOURCE_DIR}/tests/test2.sh ${PROJECT_SOURCE_DIR}/tests/expect2.out ) + declare_test_executable(test2 "dbfadd;dbfcreate;dbfdump;shpadd;shpcreate;shpdump;shptest") - # These tests correspond to everything in test3.sh add_test( NAME test3 - COMMAND ${BASH_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/sed_scripted_test3.sh + COMMAND + ${BASH_EXECUTABLE} ${PROJECT_SOURCE_DIR}/tests/test3.sh ${PROJECT_SOURCE_DIR}/tests/expect3.out ) + declare_test_executable(test3 "dbfadd;dbfcreate;dbfdump;shpadd;shpcreate;shpdump") endif() include(cmake/contrib.cmake) diff --git a/Makefile.am b/Makefile.am index 0e46208..e1ce8ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,7 +16,73 @@ EXTRA_DIST = makefile.vc CMakeLists.txt autogen.sh \ cmake/project-config-version.cmake.in \ cmake/project-config.cmake.in \ tests/test1.sh tests/test2.sh tests/test3.sh \ - tests/stream1.out tests/stream2.out tests/stream3.out \ + tests/expect1.out tests/expect2.out tests/expect3.out \ + tests/shape_eg_data/3dpoints.dbf \ + tests/shape_eg_data/3dpoints.shp \ + tests/shape_eg_data/3dpoints.shx \ + tests/shape_eg_data/anno.aux \ + tests/shape_eg_data/anno.dbf \ + tests/shape_eg_data/anno.shp \ + tests/shape_eg_data/anno.shx \ + tests/shape_eg_data/brklinz.dbf \ + tests/shape_eg_data/brklinz.shp \ + tests/shape_eg_data/brklinz.shx \ + tests/shape_eg_data/mexico/cities.dbf \ + tests/shape_eg_data/mexico/cities.sbn \ + tests/shape_eg_data/mexico/cities.sbx \ + tests/shape_eg_data/mexico/cities.shp \ + tests/shape_eg_data/mexico/cities.shx \ + tests/shape_eg_data/csah.dbf \ + tests/shape_eg_data/csah.shp \ + tests/shape_eg_data/csah.shx \ + tests/shape_eg_data/mexico/drainage.dbf \ + tests/shape_eg_data/mexico/drainage.sbn \ + tests/shape_eg_data/mexico/drainage.sbx \ + tests/shape_eg_data/mexico/drainage.shp \ + tests/shape_eg_data/mexico/drainage.shx \ + tests/shape_eg_data/mexico/lakes.dbf \ + tests/shape_eg_data/mexico/lakes.sbn \ + tests/shape_eg_data/mexico/lakes.sbx \ + tests/shape_eg_data/mexico/lakes.shp \ + tests/shape_eg_data/mexico/lakes.shx \ + tests/shape_eg_data/masspntz.dbf \ + tests/shape_eg_data/masspntz.shp \ + tests/shape_eg_data/masspntz.shx \ + tests/shape_eg_data/mpatch3.dbf \ + tests/shape_eg_data/mpatch3.shp \ + tests/shape_eg_data/mpatch3.shx \ + tests/shape_eg_data/multipatch.dbf \ + tests/shape_eg_data/multipatch.shp \ + tests/shape_eg_data/multipatch.shx \ + tests/shape_eg_data/multipnt.dbf \ + tests/shape_eg_data/multipnt.shp \ + tests/shape_eg_data/multipnt.shx \ + tests/shape_eg_data/pline.dbf \ + tests/shape_eg_data/pline.shp \ + tests/shape_eg_data/pline.shx \ + tests/shape_eg_data/polygon.dbf \ + tests/shape_eg_data/polygon.shp \ + tests/shape_eg_data/polygon.shx \ + tests/shape_eg_data/mexico/rivers.dbf \ + tests/shape_eg_data/mexico/rivers.sbn \ + tests/shape_eg_data/mexico/rivers.sbx \ + tests/shape_eg_data/mexico/rivers.shp \ + tests/shape_eg_data/mexico/rivers.shx \ + tests/shape_eg_data/mexico/roads.dbf \ + tests/shape_eg_data/mexico/roads.sbn \ + tests/shape_eg_data/mexico/roads.sbx \ + tests/shape_eg_data/mexico/roads.shp \ + tests/shape_eg_data/mexico/roads.shx \ + tests/shape_eg_data/mexico/roads_rt.dbf \ + tests/shape_eg_data/mexico/roads_rt.sbn \ + tests/shape_eg_data/mexico/roads_rt.sbx \ + tests/shape_eg_data/mexico/roads_rt.shp \ + tests/shape_eg_data/mexico/roads_rt.shx \ + tests/shape_eg_data/mexico/states.dbf \ + tests/shape_eg_data/mexico/states.sbn \ + tests/shape_eg_data/mexico/states.sbx \ + tests/shape_eg_data/mexico/states.shp \ + tests/shape_eg_data/mexico/states.shx \ web/maptools.css \ web/codepage.html \ web/index.html \ @@ -79,4 +145,7 @@ shptest_LDADD = $(top_builddir)/libshp.la # Tests TESTS_ENVIRONMENT = top_builddir=$(abs_top_builddir) # tests/test1.sh requires ftp://gdal.velocet.ca/pub/outgoing/shape_eg_data.zip -TESTS = tests/test2.sh tests/test3.sh +TESTS = tests/test1.sh tests/test2.sh tests/test3.sh + +clean-local: + -rm -f test*.* s*.out diff --git a/cmake/contrib.cmake b/cmake/contrib.cmake index 45f09dc..b121164 100644 --- a/cmake/contrib.cmake +++ b/cmake/contrib.cmake @@ -66,4 +66,12 @@ if(BUILD_SHAPELIB_CONTRIB) LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} ) + if(BUILD_TESTING) + add_test( + NAME contrib + COMMAND + ${BASH_EXECUTABLE} ${PROJECT_SOURCE_DIR}/contrib/tests/shpproj.sh ${PROJECT_SOURCE_DIR}/contrib/tests/expect.out + ) + declare_test_executable(contrib "dbfadd;dbfcreate;shpadd;shpcreate;shpdump") + endif() endif() diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 071a752..7d84f67 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,7 +1,7 @@ CONTRIB_CFLAGS = -I$(top_srcdir) -DDEBUG -DDEBUG2 # Extra files to distribute in the source tarball -EXTRA_DIST = makefile.vc tests/shpproj.sh doc/Shape_PointInPoly_README.txt doc/shpsort.txt ShapeFileII.pas +EXTRA_DIST = makefile.vc tests/expect.out tests/shpproj.sh doc/Shape_PointInPoly_README.txt doc/shpsort.txt ShapeFileII.pas # Installed executables bin_PROGRAMS = csv2shp dbfcat dbfinfo shpcat shpdxf shpfix shpsort Shape_PointInPoly shpcentrd shpdata shpinfo shpwkb @@ -57,3 +57,6 @@ shpwkb_LDADD = $(top_builddir)/libshp.la -lm # Tests TESTS_ENVIRONMENT = top_builddir=$(abs_top_builddir) TESTS = tests/shpproj.sh + +clean-local: + -rm -f test.* diff --git a/contrib/tests/expect.out b/contrib/tests/expect.out new file mode 100644 index 0000000..c5a1dde --- /dev/null +++ b/contrib/tests/expect.out @@ -0,0 +1,29 @@ +Shapefile Type: Point # of Shapes: 5 + +File Bounds: (-84.15596,34.54927,0,0) + to (-83.521622,34.992767,0,0) + +Shape:0 (Point) nVertices=1, nParts=0 + Bounds:(-83.5495,34.992401, 0) + to (-83.5495,34.992401, 0) + (-83.5495,34.992401, 0) + +Shape:1 (Point) nVertices=1, nParts=0 + Bounds:(-83.521622,34.992767, 0) + to (-83.521622,34.992767, 0) + (-83.521622,34.992767, 0) + +Shape:2 (Point) nVertices=1, nParts=0 + Bounds:(-84.016815,34.67276, 0) + to (-84.016815,34.67276, 0) + (-84.016815,34.67276, 0) + +Shape:3 (Point) nVertices=1, nParts=0 + Bounds:(-84.15596,34.648624, 0) + to (-84.15596,34.648624, 0) + (-84.15596,34.648624, 0) + +Shape:4 (Point) nVertices=1, nParts=0 + Bounds:(-83.619515,34.54927, 0) + to (-83.619515,34.54927, 0) + (-83.619515,34.54927, 0) diff --git a/contrib/tests/shpproj.sh b/contrib/tests/shpproj.sh index 81ea143..7b20751 100755 --- a/contrib/tests/shpproj.sh +++ b/contrib/tests/shpproj.sh @@ -1,33 +1,30 @@ #!/bin/bash -testdir="$(dirname "$(readlink -f $0)")" +readonly SCRIPTDIR=$(dirname "${BASH_SOURCE[0]}") -rm -f "$testdir/test*" -$top_builddir/shpcreate "$testdir/test" point +"${SHPCREATE:-$top_builddir/shpcreate}" "test" point -$top_builddir/shpadd "$testdir/test" -83.54949956 34.992401 -$top_builddir/shpadd "$testdir/test" -83.52162155 34.99276748 -$top_builddir/shpadd "$testdir/test" -84.01681518 34.67275985 -$top_builddir/shpadd "$testdir/test" -84.15596023 34.64862437 -$top_builddir/shpadd "$testdir/test" -83.61951463 34.54927047 +"${SHPADD:-$top_builddir/shpadd}" "test" -83.54949956 34.992401 +"${SHPADD:-$top_builddir/shpadd}" "test" -83.52162155 34.99276748 +"${SHPADD:-$top_builddir/shpadd}" "test" -84.01681518 34.67275985 +"${SHPADD:-$top_builddir/shpadd}" "test" -84.15596023 34.64862437 +"${SHPADD:-$top_builddir/shpadd}" "test" -83.61951463 34.54927047 -$top_builddir/dbfcreate "$testdir/test" -s fd 30 -$top_builddir/dbfadd "$testdir/test" "1" -$top_builddir/dbfadd "$testdir/test" "2" -$top_builddir/dbfadd "$testdir/test" "3" -$top_builddir/dbfadd "$testdir/test" "4" -$top_builddir/dbfadd "$testdir/test" "5" +"${DBFCREATE:-$top_builddir/dbfcreate}" "test" -s fd 30 +"${DBFADD:-$top_builddir/dbfadd}" "test" "1" +"${DBFADD:-$top_builddir/dbfadd}" "test" "2" +"${DBFADD:-$top_builddir/dbfadd}" "test" "3" +"${DBFADD:-$top_builddir/dbfadd}" "test" "4" +"${DBFADD:-$top_builddir/dbfadd}" "test" "5" -$top_builddir/shpdump -precision 8 "$testdir/test" > "$testdir/test.out" +"${SHPDUMP:-$top_builddir/shpdump}" -precision 8 "test" > "test.out" -result="$(diff "$testdir/test.out")" -if [ "$result" == "" ]; then + +if result=$(diff "$SCRIPTDIR/expect.out" "test.out"); then echo "******* Test Succeeded *********" - rm -f "$testdir/test*" exit 0 else echo "******* Test Failed *********" echo "$result" - rm -f "$testdir/test*" exit 1 fi diff --git a/tests/expect1.out b/tests/expect1.out new file mode 100644 index 0000000..6753178 --- /dev/null +++ b/tests/expect1.out @@ -0,0 +1,1465 @@ +------------------------------------------------------------------------- +Test 1: dump anno.shp +------------------------------------------------------------------------- +Shapefile Type: Polygon # of Shapes: 201 + +File Bounds: (471276.28125,4751595.5,0,0) + to (492683.536178589,4765390.41258159,0,0) + +Shape:0 (Polygon) nVertices=5, nParts=1 + Bounds:(486019.129526088,4764549.5, 0) + to (486356.183408453,4765212.74353282, 0) + (486089.53125,4764549.5, 0) Ring + (486019.129526088,4764579.12801761, 0) + (486285.781684541,4765212.74353282, 0) + (486356.183408453,4765183.11551521, 0) + (486089.53125,4764549.5, 0) + +Shape:1 (Polygon) nVertices=5, nParts=1 + Bounds:(484948.275379082,4763866.5, 0) + to (485333.012285093,4764070.37556161, 0) + (484974.71875,4763866.5, 0) Ring + (484948.275379082,4763938.15870702, 0) + (485306.568914175,4764070.37556161, 0) + (485333.012285093,4763998.71685459, 0) + (484974.71875,4763866.5, 0) + +Shape:2 (Polygon) nVertices=5, nParts=1 + Bounds:(485577.021014671,4764106.5, 0) + to (485818.355013877,4764259.30529395, 0) + (485604.15625,4764106.5, 0) Ring + (485577.021014671,4764177.89958796, 0) + (485791.219778548,4764259.30529395, 0) + (485818.355013877,4764187.90570599, 0) + (485604.15625,4764106.5, 0) + +Shape:3 (Polygon) nVertices=5, nParts=1 + Bounds:(484861.499856912,4762570.51334615, 0) + to (485092.0625,4763026.85631982, 0) + (485092.0625,4762597, 0) Ring + (485020.41978003,4762570.51334615, 0) + (484861.499856912,4763000.36966597, 0) + (484933.142576882,4763026.85631982, 0) + (485092.0625,4762597, 0) + +Shape:4 (Polygon) nVertices=5, nParts=1 + Bounds:(484452.623790727,4763792.61358018, 0) + to (484628.03125,4764105.94712004, 0) + (484628.03125,4763818.5, 0) Ring + (484556.16946999,4763792.61358018, 0) + (484452.623790727,4764080.06070022, 0) + (484524.485570736,4764105.94712004, 0) + (484628.03125,4763818.5, 0) + +Shape:5 (Polygon) nVertices=5, nParts=1 + Bounds:(484355.352307164,4764139.43528715, 0) + to (484505.34375,4764380.89191282, 0) + (484505.34375,4764165.5, 0) Ring + (484433.546445727,4764139.43528715, 0) + (484355.352307164,4764354.82719996, 0) + (484427.149611437,4764380.89191282, 0) + (484505.34375,4764165.5, 0) + +Shape:6 (Polygon) nVertices=9, nParts=1 + Bounds:(484548.866401084,4763118.53096087, 0) + to (484772.0625,4763742.25772229, 0) + (484772.0625,4763152, 0) Ring + (484703.403592518,4763118.53096087, 0) + (484605.763230804,4763318.83191767, 0) + (484548.866401084,4763471.14947223, 0) + (484603.088051098,4763742.25772229, 0) + (484677.986842791,4763727.27796396, 0) + (484628.03125,4763477.5, 0) + (484676.03125,4763349, 0) + (484772.0625,4763152, 0) + +Shape:7 (Polygon) nVertices=5, nParts=1 + Bounds:(484671.738991661,4763562.5, 0) + to (484911.415125081,4763682.33806671, 0) + (484686.71875,4763562.5, 0) Ring + (484671.738991661,4763637.39879169, 0) + (484896.435366742,4763682.33806671, 0) + (484911.415125081,4763607.43927502, 0) + (484686.71875,4763562.5, 0) + +Shape:8 (Polygon) nVertices=5, nParts=1 + Bounds:(484930.171804625,4763125.5, 0) + to (485596.341537714,4763453.26948479, 0) + (484958.71875,4763125.5, 0) Ring + (484930.171804625,4763196.34697641, 0) + (485567.794592339,4763453.26948479, 0) + (485596.341537714,4763382.42250838, 0) + (484958.71875,4763125.5, 0) + +Shape:9 (Polygon) nVertices=5, nParts=1 + Bounds:(485102.757495073,4763082.5, 0) + to (485344.153995416,4763234.02884659, 0) + (485129.40625,4763082.5, 0) Ring + (485102.757495073,4763154.08258181, 0) + (485317.505240489,4763234.02884659, 0) + (485344.153995416,4763162.44626478, 0) + (485129.40625,4763082.5, 0) + +Shape:10 (Polygon) nVertices=5, nParts=1 + Bounds:(485368.786394222,4762538.5, 0) + to (485824.016125969,4762774.02911399, 0) + (485396.15625,4762538.5, 0) Ring + (485368.786394222,4762609.80997933, 0) + (485796.646270191,4762774.02911399, 0) + (485824.016125969,4762702.71913467, 0) + (485396.15625,4762538.5, 0) + +Shape:11 (Polygon) nVertices=5, nParts=1 + Bounds:(487002.483900892,4763184, 0) + to (487243.96024663,4763333.36837953, 0) + (487028.3125,4763184, 0) Ring + (487002.483900892,4763255.88258221, 0) + (487218.131647522,4763333.36837953, 0) + (487243.96024663,4763261.48579732, 0) + (487028.3125,4763184, 0) + +Shape:12 (Polygon) nVertices=5, nParts=1 + Bounds:(486733.537144613,4762455.41284243, 0) + to (487076.3125,4763275.4828437, 0) + (487076.3125,4762480, 0) Ring + (487003.995877845,4762455.41284243, 0) + (486733.537144613,4763250.89568613, 0) + (486805.853766768,4763275.4828437, 0) + (487076.3125,4762480, 0) + +Shape:13 (Polygon) nVertices=5, nParts=1 + Bounds:(486440.735318563,4762331.0285149, 0) + to (486772.28125,4763075.31080452, 0) + (486772.28125,4762357, 0) Ring + (486700.450169548,4762331.0285149, 0) + (486440.735318563,4763049.33931942, 0) + (486512.566399014,4763075.31080452, 0) + (486772.28125,4762357, 0) + +Shape:14 (Polygon) nVertices=5, nParts=1 + Bounds:(486383.881873761,4762986.53024239, 0) + to (486521.59375,4763227.9078102, 0) + (486521.59375,4763008, 0) Ring + (486448.291146601,4762986.53024239, 0) + (486383.881873761,4763206.43805258, 0) + (486457.18447716,4763227.9078102, 0) + (486521.59375,4763008, 0) + +Shape:15 (Polygon) nVertices=9, nParts=1 + Bounds:(486360.416053039,4762774.30991957, 0) + to (486800.882010234,4763656.20814147, 0) + (486489.59375,4763600, 0) Ring + (486541.312866292,4763656.20814147, 0) + (486762.056519499,4763453.09403071, 0) + (486800.882010234,4763266.65884894, 0) + (486420.882916339,4762774.30991957, 0) + (486360.416053039,4762820.97875928, 0) + (486718.9375,4763285.5, 0) + (486692.28125,4763413.5, 0) + (486489.59375,4763600, 0) + +Shape:16 (Polygon) nVertices=5, nParts=1 + Bounds:(486682.872244167,4762181, 0) + to (487292.496159935,4762415.4629729, 0) + (486702.96875,4762181, 0) Ring + (486682.872244167,4762254.69092624, 0) + (487272.399654102,4762415.4629729, 0) + (487292.496159935,4762341.77204666, 0) + (486702.96875,4762181, 0) + +Shape:17 (Polygon) nVertices=5, nParts=1 + Bounds:(487480.713174766,4762283.32041063, 0) + to (487732.40625,4762812.55164729, 0) + (487732.40625,4762309, 0) Ring + (487660.470300388,4762283.32041063, 0) + (487480.713174766,4762786.87205791, 0) + (487552.649124378,4762812.55164729, 0) + (487732.40625,4762309, 0) + +Shape:18 (Polygon) nVertices=5, nParts=1 + Bounds:(487069.756603548,4763685.70922948, 0) + to (487220.34375,4763927.14450465, 0) + (487220.34375,4763712, 0) Ring + (487148.628915116,4763685.70922948, 0) + (487069.756603548,4763900.85373413, 0) + (487141.471438432,4763927.14450465, 0) + (487220.34375,4763712, 0) + +Shape:19 (Polygon) nVertices=9, nParts=1 + Bounds:(487854.71875,4758279, 0) + to (488518.084513461,4758475.00313544, 0) + (487854.71875,4758404, 0) Ring + (487882.875044414,4758475.00313544, 0) + (488183.362239097,4758355.84493392, 0) + (488341.272726333,4758360.83994574, 0) + (488515.419883674,4758366.91886277, 0) + (488518.084513461,4758290.58327536, 0) + (488343.8125,4758284.5, 0) + (488169.9375,4758279, 0) + (487854.71875,4758404, 0) + +Shape:20 (Polygon) nVertices=5, nParts=1 + Bounds:(486300.557314823,4758366, 0) + to (486613.244508877,4758546.26155543, 0) + (486327.78125,4758366, 0) Ring + (486300.557314823,4758437.36581472, 0) + (486586.0205737,4758546.26155543, 0) + (486613.244508877,4758474.89574071, 0) + (486327.78125,4758366, 0) + +Shape:21 (Polygon) nVertices=5, nParts=1 + Bounds:(486709.618088707,4758518, 0) + to (486949.999220564,4758681.14547407, 0) + (486740.75,4758518, 0) Ring + (486709.618088707,4758587.74974019, 0) + (486918.86730927,4758681.14547407, 0) + (486949.999220564,4758611.39573388, 0) + (486740.75,4758518, 0) + +Shape:22 (Polygon) nVertices=5, nParts=1 + Bounds:(487325.398146116,4757807.03413294, 0) + to (487555.84375,4758263.40240911, 0) + (487555.84375,4757833.5, 0) Ring + (487484.193348481,4757807.03413294, 0) + (487325.398146116,4758236.93654205, 0) + (487397.048547634,4758263.40240911, 0) + (487555.84375,4757833.5, 0) + +Shape:23 (Polygon) nVertices=5, nParts=1 + Bounds:(487255.255955622,4758215.57334913, 0) + to (487387.40625,4758456.61102531, 0) + (487387.40625,4758235, 0) Ring + (487313.535908231,4758215.57334913, 0) + (487255.255955622,4758437.18437444, 0) + (487329.126297391,4758456.61102531, 0) + (487387.40625,4758235, 0) + +Shape:24 (Polygon) nVertices=5, nParts=1 + Bounds:(487248.713963615,4758360.5, 0) + to (487559.686647128,4758550.76111982, 0) + (487278.71875,4758360.5, 0) Ring + (487248.713963615,4758430.74197428, 0) + (487529.681860742,4758550.76111982, 0) + (487559.686647128,4758480.51914554, 0) + (487278.71875,4758360.5, 0) + +Shape:25 (Polygon) nVertices=5, nParts=1 + Bounds:(487573.993669832,4758496.5, 0) + to (487815.501933589,4758644.60296837, 0) + (487599.34375,4758496.5, 0) Ring + (487573.993669832,4758568.55272786, 0) + (487790.151853421,4758644.60296837, 0) + (487815.501933589,4758572.55024051, 0) + (487599.34375,4758496.5, 0) +------------------------------------------------------------------------- +Test 2: dump brklinz.shp +------------------------------------------------------------------------- +Shapefile Type: ArcZ # of Shapes: 122 + +File Bounds: (6294338.26,1978444.01,0,0) + to (6296321.86,1979694.45,0,0) + +Shape:0 (ArcZ) nVertices=92, nParts=1 + Bounds:(6294700.21,1978579.39, 818.640015) + to (6295395.93,1979050.33, 917.859985) + (6295372.75,1978755.83, 823.059998) Ring + (6295366.17,1978739.19, 826.580017) + (6295360.4,1978718.54, 829.200012) + (6295352.62,1978697, 832.219971) + (6295345.96,1978677.04, 834.640015) + (6295339.69,1978656.81, 838.51001) + (6295335.04,1978637.6, 840.940002) + (6295331.08,1978621.45, 844.47998) + (6295324.35,1978607.94, 847.039978) + (6295313.37,1978598.45, 850.380005) + (6295296.78,1978594.95, 853.27002) + (6295273.8,1978594.99, 858.059998) + (6295251.75,1978595.38, 861.530029) + (6295232.34,1978598.4, 864.219971) + (6295206.74,1978606.39, 866.380005) + (6295180.61,1978616.97, 868.150024) + (6295156.35,1978630.54, 870.650024) + (6295132.27,1978645.21, 872.02002) + (6295111.07,1978659.74, 875.169983) + (6295090.03,1978674.92, 878.840027) + (6295071.06,1978689.34, 882.059998) + (6295051.9,1978705.08, 886.97998) + (6295036.46,1978719.26, 889.659973) + (6295023.62,1978732.91, 893.530029) + (6295010.45,1978750.38, 895.23999) + (6294999.91,1978767.85, 897.469971) + (6294989.81,1978783.86, 900.289978) + (6294975.04,1978795.57, 902.450012) + (6294956.3,1978806.83, 906.320007) + (6294937.26,1978814.62, 909.210022) + (6294919.24,1978821.96, 912.880005) + (6294897.04,1978832.21, 915.039978) + (6294878.07,1978844.07, 916.48999) + (6294865.01,1978855.82, 917.340027) + (6294859.56,1978870.15, 916.809998) + (6294861.52,1978882.92, 916.619995) + (6294874.64,1978906.22, 917.859985) + (6294886.98,1978926.88, 917.599976) + (6294889.63,1978953.27, 917.539978) + (6294888.52,1978978.28, 916.880005) + (6294880.35,1978998.39, 915.960022) + (6294866.54,1979018.92, 915.570007) + (6294843.27,1979039.14, 915.570007) + (6294812.25,1979049.04, 915.960022) + (6294777.64,1979050.33, 916.75) + (6294752.06,1979040.52, 916.679993) + (6294730.99,1979028.85, 916.619995) + (6294716.69,1979008.42, 916.619995) + (6294706.05,1978987.49, 916.950012) + (6294700.21,1978965.39, 916.950012) + (6294700.52,1978937.67, 917.01001) + (6294712.06,1978911.34, 916.950012) + (6294724.82,1978893.56, 916.619995) + (6294741.63,1978878.01, 916.359985) + (6294759.36,1978865.09, 916.359985) + (6294777.65,1978855.37, 916.219971) + (6294807.57,1978846.97, 916.359985) + (6294837.64,1978836.59, 916.549988) + (6294858.65,1978831.39, 916.289978) + (6294878.86,1978825.84, 915.369995) + (6294897.63,1978817.86, 913.669983) + (6294914.55,1978809.52, 910.780029) + (6294932.38,1978798.58, 907.169983) + (6294947.36,1978788.37, 904.419983) + (6294960.5,1978778.12, 901.859985) + (6294974.78,1978761.9, 898.780029) + (6294988.51,1978747.61, 895.700012) + (6295005.23,1978730.22, 892.809998) + (6295023.56,1978713.47, 889.340027) + (6295043.31,1978696.32, 885.070007) + (6295061.83,1978680.81, 881.469971) + (6295080.97,1978664.55, 877.789978) + (6295104.57,1978648.19, 874.580017) + (6295126.31,1978633.89, 872.090027) + (6295149.84,1978618.72, 869.599976) + (6295173.84,1978605.03, 867.369995) + (6295198.11,1978594.15, 866.119995) + (6295222.83,1978586.99, 865.200012) + (6295243.03,1978583.81, 863.5) + (6295268.11,1978581.29, 860.349976) + (6295291.53,1978579.39, 856.47998) + (6295313.2,1978582.04, 852.419983) + (6295329.17,1978591.41, 848.809998) + (6295339.78,1978603.88, 845.070007) + (6295345.64,1978621.11, 842.119995) + (6295351.07,1978642.97, 838.320007) + (6295357.25,1978666.56, 834.77002) + (6295367.29,1978691, 831.890015) + (6295376.03,1978718.47, 828.090027) + (6295383.93,1978744.86, 824.349976) + (6295389.99,1978768.72, 821.330017) + (6295395.93,1978790.09, 818.640015) + +Shape:1 (ArcZ) nVertices=9, nParts=1 + Bounds:(6295218.47,1978444.01, 864.549988) + to (6295330.76,1978581.88, 882.450012) + (6295330.76,1978444.01, 882.450012) Ring + (6295306.05,1978461.19, 880.940002) + (6295280.21,1978482.71, 878.52002) + (6295258.18,1978504.05, 875.890015) + (6295239.91,1978524.67, 871.890015) + (6295225.65,1978546.54, 869.530029) + (6295218.47,1978565.55, 866.969971) + (6295223.96,1978575.51, 865.27002) + (6295230.58,1978581.88, 864.549988) + +Shape:2 (ArcZ) nVertices=10, nParts=1 + Bounds:(6295199.22,1978444.01, 866.320007) + to (6295309.04,1978588.8, 882.080017) + (6295200.07,1978588.8, 866.320007) Ring + (6295199.22,1978571.84, 867.23999) + (6295200.77,1978555.74, 868.880005) + (6295207.89,1978538.04, 869.859985) + (6295223.02,1978520.53, 870.840027) + (6295239.45,1978502.44, 874.059998) + (6295258.05,1978483.44, 876.47998) + (6295268.99,1978473.76, 879.169983) + (6295285.71,1978461.56, 880.549988) + (6295309.04,1978444.01, 882.080017) + +Shape:3 (ArcZ) nVertices=5, nParts=1 + Bounds:(6294340.89,1979449.28, 1031.780029) + to (6294394.08,1979522.03, 1039.780029) + (6294394.08,1979449.28, 1039.780029) Ring + (6294378.8,1979469.23, 1038.72998) + (6294364.98,1979486.74, 1037.280029) + (6294350.8,1979504.98, 1035.119995) + (6294340.89,1979522.03, 1031.780029) + +Shape:4 (ArcZ) nVertices=6, nParts=1 + Bounds:(6294344.38,1979583.45, 1008.039978) + to (6294354.67,1979678.07, 1023.450012) + (6294344.38,1979583.45, 1023.450012) Ring + (6294348.05,1979601.58, 1019.179993) + (6294349.57,1979621.2, 1016.5) + (6294351.99,1979637.89, 1012.950012) + (6294353.09,1979657.14, 1011.51001) + (6294354.67,1979678.07, 1008.039978) + +Shape:5 (ArcZ) nVertices=3, nParts=1 + Bounds:(6294338.26,1979628.6, 1008.630005) + to (6294341.08,1979674.1, 1015.710022) + (6294341.08,1979674.1, 1008.630005) Ring + (6294339.46,1979649.88, 1011.710022) + (6294338.26,1979628.6, 1015.710022) + +Shape:6 (ArcZ) nVertices=3, nParts=1 + Bounds:(6294350.16,1979437.98, 1038.599976) + to (6294379.98,1979476.72, 1040.099976) + (6294350.16,1979476.72, 1038.599976) Ring + (6294368.1,1979454.86, 1040.099976) + (6294379.98,1979437.98, 1039.319946) + +Shape:7 (ArcZ) nVertices=39, nParts=1 + Bounds:(6295371.53,1978758.16, 754.109985) + to (6295534.56,1979677.75, 823.299988) + (6295534.56,1979677.75, 779.950012) Ring + (6295534.38,1979648.15, 778.570007) + (6295534.48,1979605.99, 775.159973) + (6295533.97,1979577.58, 772.210022) + (6295532.31,1979547.26, 768.409973) + (6295532.97,1979521.29, 763.820007) + (6295532.39,1979496.89, 759.099976) + (6295532.94,1979474.01, 755.48999) + (6295533.68,1979452.18, 754.109985) + (6295533.85,1979434.64, 754.109985) + (6295532.17,1979409.18, 755.75) + (6295531.58,1979384.45, 758.700012) + (6295531.59,1979356.09, 760.280029) + (6295530.19,1979325.69, 761.130005) + (6295530.02,1979291.09, 761.659973) + (6295529.21,1979259.42, 762.700012) + (6295526.25,1979221.61, 762.77002) + (6295524.26,1979187.5, 763.75) + (6295522.64,1979155.35, 764.609985) + (6295521.54,1979123.23, 765.330017) + (6295518.46,1979096, 765.919983) + (6295511.67,1979081.11, 767.159973) + (6295500.7,1979064.06, 768.409973) + (6295489.33,1979049.6, 770.109985) + (6295475.5,1979033.1, 773.070007) + (6295462.53,1979018.19, 775.159973) + (6295447.76,1979001.4, 779.48999) + (6295433.38,1978984.53, 782.900024) + (6295419.04,1978965.82, 785.919983) + (6295409.02,1978946.82, 790.580017) + (6295399.86,1978923.91, 795.099976) + (6295391.01,1978894.41, 800.940002) + (6295387.44,1978875.55, 805.530029) + (6295382.03,1978849.03, 809.789978) + (6295382.19,1978828.93, 813.330017) + (6295383.57,1978809.29, 817.400024) + (6295380.88,1978789.86, 819.690002) + (6295375.63,1978771.81, 822.580017) + (6295371.53,1978758.16, 823.299988) + +Shape:8 (ArcZ) nVertices=35, nParts=1 + Bounds:(6295396.48,1978794.78, 753.97998) + to (6295549.01,1979670.06, 818.580017) + (6295396.62,1978794.78, 818.580017) Ring + (6295397.33,1978816.67, 815.76001) + (6295396.48,1978836.15, 812.219971) + (6295397.67,1978857.11, 807.950012) + (6295401.18,1978874.72, 804.609985) + (6295406.26,1978897.32, 799.950012) + (6295413.58,1978919.93, 794.77002) + (6295421.33,1978938.19, 790.309998) + (6295431.45,1978956.59, 786.51001) + (6295444.95,1978974.36, 782.380005) + (6295461.42,1978993.62, 777.659973) + (6295479.76,1979013.51, 773.26001) + (6295494.63,1979032.33, 771.099976) + (6295510.99,1979052.12, 767.690002) + (6295524.17,1979071.09, 766.840027) + (6295532.18,1979091.89, 765.330017) + (6295536.53,1979120.83, 764.799988) + (6295537.48,1979150.2, 764.080017) + (6295539.47,1979189.49, 763.429993) + (6295541.67,1979230.49, 762.640015) + (6295541.76,1979271.33, 761.789978) + (6295543.65,1979306.3, 761.460022) + (6295544.47,1979335.54, 760.469971) + (6295544.96,1979363.49, 759.22998) + (6295545.62,1979392.02, 757.130005) + (6295546.34,1979419.43, 754.900024) + (6295547.12,1979439.94, 753.97998) + (6295546.51,1979459.15, 754.380005) + (6295545.46,1979482.71, 757.659973) + (6295545.53,1979507.33, 761.130005) + (6295545.61,1979532.47, 765.590027) + (6295546.49,1979565.52, 770.440002) + (6295547.96,1979597.1, 775.030029) + (6295548.99,1979628.04, 777.26001) + (6295549.01,1979670.06, 780.150024) + +Shape:9 (ArcZ) nVertices=45, nParts=1 + Bounds:(6295694.04,1978444.01, 696.950012) + to (6296208.79,1979687.08, 787.429993) + (6295698.4,1979687.08, 787.429993) Ring + (6295694.04,1979670.95, 786.309998) + (6295696.41,1979650.28, 785.130005) + (6295700.08,1979634.53, 784.799988) + (6295704.08,1979620.01, 784.150024) + (6295708.42,1979601.93, 782.440002) + (6295711.23,1979584.79, 781.98999) + (6295712.06,1979564.78, 780.799988) + (6295710.55,1979537.48, 779.690002) + (6295711.29,1979508.02, 777.590027) + (6295710.01,1979477.42, 776.080017) + (6295709.3,1979442.53, 773.590027) + (6295709.16,1979413.64, 772.210022) + (6295707.09,1979372.57, 769.460022) + (6295708.14,1979336.21, 767.48999) + (6295709.71,1979297.13, 764.669983) + (6295710.96,1979272.31, 763.289978) + (6295714.64,1979241.2, 761.200012) + (6295719.05,1979211.56, 759.820007) + (6295724.28,1979179.84, 758.309998) + (6295729.46,1979152.46, 756.73999) + (6295735.77,1979126.53, 754.440002) + (6295744.97,1979095.4, 752.869995) + (6295755.82,1979063.14, 750.309998) + (6295767.59,1979028.33, 747.619995) + (6295782.24,1978993.45, 744.210022) + (6295801.58,1978952.42, 741.26001) + (6295825.73,1978905.37, 736.869995) + (6295842.33,1978877.81, 734.700012) + (6295859.11,1978851.15, 731.549988) + (6295875.62,1978827.01, 729.52002) + (6295899.08,1978794.83, 727.419983) + (6295923.64,1978763.72, 724.340027) + (6295949.34,1978734.18, 721.390015) + (6295975.02,1978704.32, 718.570007) + (6296000.32,1978677.44, 716.01001) + (6296026.94,1978648.12, 713.450012) + (6296053.5,1978617.5, 709.780029) + (6296078.62,1978589.63, 706.900024) + (6296098.88,1978566.88, 704.469971) + (6296126.05,1978537.93, 702.369995) + (6296150.67,1978507.99, 700.140015) + (6296179.28,1978476.28, 698.700012) + (6296208.03,1978444.88, 696.98999) + (6296208.79,1978444.01, 696.950012) + +Shape:10 (ArcZ) nVertices=10, nParts=1 + Bounds:(6296270.06,1979014.97, 712.539978) + to (6296315.99,1979152.31, 725.130005) + (6296306.11,1979152.31, 725.130005) Ring + (6296288.27,1979139.69, 723.419983) + (6296276.63,1979122.41, 721.97998) + (6296270.06,1979101.47, 719.950012) + (6296270.39,1979084.58, 719.359985) + (6296275.11,1979068.97, 717.26001) + (6296284.28,1979052.82, 716.409973) + (6296294.68,1979040.41, 715.48999) + (6296305.72,1979027.37, 713.590027) + (6296315.99,1979014.97, 712.539978) + +Shape:11 (ArcZ) nVertices=18, nParts=1 + Bounds:(6296044.93,1978451.12, 690.109985) + to (6296312.92,1978679.19, 713.719971) + (6296312.92,1978493.56, 690.109985) Ring + (6296301.16,1978479.05, 690.900024) + (6296287.84,1978464.95, 692.400024) + (6296276.43,1978454.89, 693.580017) + (6296262.58,1978451.12, 694.440002) + (6296249.65,1978452.5, 694.900024) + (6296237.11,1978461.67, 696.080017) + (6296223.6,1978477.65, 697.780029) + (6296209.32,1978493.93, 698.700012) + (6296193.64,1978511.14, 699.159973) + (6296176.98,1978529.71, 700.599976) + (6296157.7,1978550.97, 701.97998) + (6296136.72,1978574.95, 703.48999) + (6296121.4,1978591.55, 705.390015) + (6296102.29,1978613.59, 707.359985) + (6296084.44,1978634.58, 709.130005) + (6296065.89,1978654.76, 711.289978) + (6296044.93,1978679.19, 713.719971) + +Shape:12 (ArcZ) nVertices=71, nParts=1 + Bounds:(6295741.07,1978679.19, 713.719971) + to (6296321.86,1979680.37, 813.789978) + (6296044.93,1978679.19, 713.719971) Ring + (6296025.66,1978700.78, 716.599976) + (6296006.48,1978721.51, 718.369995) + (6295987.07,1978742.72, 721) + (6295970.41,1978761.42, 722.440002) + (6295953.49,1978780.07, 724.280029) + (6295932.47,1978805.82, 726.440002) + (6295913.49,1978830.55, 728.669983) + (6295896.49,1978855.31, 731.159973) + (6295881.22,1978878.07, 733.390015) + (6295867.71,1978899.18, 734.700012) + (6295853.95,1978923.31, 737) + (6295839.81,1978950.03, 739.559998) + (6295825.27,1978979.39, 742.109985) + (6295809.1,1979015.6, 745.460022) + (6295796.94,1979045.17, 748.02002) + (6295785.77,1979078.9, 750.969971) + (6295777.08,1979104.55, 752.539978) + (6295768.95,1979133.46, 754.840027) + (6295762.17,1979163.09, 756.869995) + (6295755.64,1979194.93, 758.900024) + (6295750.61,1979225.39, 760.47998) + (6295746.3,1979259.75, 762.640015) + (6295743.32,1979291.75, 764.539978) + (6295741.65,1979321.06, 766.640015) + (6295741.07,1979353.79, 768.539978) + (6295741.17,1979384.45, 770.710022) + (6295742.01,1979419.21, 772.47998) + (6295743.01,1979454.74, 774.440002) + (6295743.91,1979493.31, 776.940002) + (6295744.99,1979530.29, 778.969971) + (6295745.9,1979569.12, 781.460022) + (6295745.94,1979603.91, 783.299988) + (6295747.6,1979636.66, 785.849976) + (6295751.85,1979653.26, 787.48999) + (6295760.49,1979665.82, 788.869995) + (6295773.51,1979673.83, 790.179993) + (6295788.46,1979676.1, 791.950012) + (6295823.99,1979674.96, 793.460022) + (6295871.62,1979674.07, 796.940002) + (6295918.98,1979673.12, 798.969971) + (6295971.2,1979672.13, 802.25) + (6296019.37,1979671.6, 803.950012) + (6296054.35,1979670.03, 805.919983) + (6296074.58,1979662.25, 806.580017) + (6296085.66,1979647.7, 806.969971) + (6296089.37,1979635.3, 807.690002) + (6296086.38,1979620.16, 808.609985) + (6296080.06,1979601.69, 810.320007) + (6296074.44,1979583.99, 811.169983) + (6296070.25,1979568.77, 812.219971) + (6296072.47,1979552.83, 812.940002) + (6296083.22,1979536.79, 813.460022) + (6296102.65,1979531.41, 813.789978) + (6296121.29,1979536.45, 813.72998) + (6296133.19,1979548.52, 813.200012) + (6296138.01,1979563.38, 812.609985) + (6296135.46,1979580.58, 811.369995) + (6296129.95,1979598.85, 810.179993) + (6296124.49,1979618.17, 809.460022) + (6296122.1,1979635.88, 808.349976) + (6296126.82,1979651.41, 807.359985) + (6296136.39,1979661.36, 806.51001) + (6296149.63,1979666.08, 806.049988) + (6296163.38,1979667.88, 805.72998) + (6296186.08,1979667.46, 805.140015) + (6296215.19,1979666.58, 805) + (6296247.69,1979667.83, 803.5) + (6296273.58,1979670.85, 802.320007) + (6296295.41,1979674.09, 800.679993) + (6296321.86,1979680.37, 799.22998) + +Shape:13 (ArcZ) nVertices=6, nParts=1 + Bounds:(6295372.65,1979608.7, 773.190002) + to (6295470.33,1979679.55, 780.150024) + (6295372.65,1979679.55, 780.150024) Ring + (6295387.14,1979664.77, 777.849976) + (6295406.65,1979645.4, 776.210022) + (6295422.76,1979631.58, 775.289978) + (6295442.8,1979612.19, 773.650024) + (6295470.33,1979608.7, 773.190002) + +Shape:14 (ArcZ) nVertices=7, nParts=1 + Bounds:(6295415.71,1979491.54, 772.080017) + to (6295453.55,1979590.19, 773.849976) + (6295453.55,1979590.11, 772.090027) Ring + (6295453.11,1979590.19, 772.080017) + (6295439.43,1979579.26, 772.73999) + (6295430.87,1979552.77, 772.929993) + (6295420.94,1979527.86, 773.190002) + (6295415.71,1979510.07, 773.789978) + (6295421.08,1979491.54, 773.849976) + +Shape:15 (ArcZ) nVertices=9, nParts=1 + Bounds:(6295351.24,1979521.41, 773) + to (6295430.33,1979692.52, 782.109985) + (6295395.27,1979521.41, 774.51001) Ring + (6295415.88,1979549.79, 773.849976) + (6295426.03,1979579.22, 773) + (6295430.33,1979604.61, 773.059998) + (6295418.61,1979622.14, 774.309998) + (6295398.97,1979639.02, 776.340027) + (6295382.22,1979655.69, 778.309998) + (6295365.04,1979674.42, 780.150024) + (6295351.24,1979692.52, 782.109985) + +Shape:16 (ArcZ) nVertices=28, nParts=1 + Bounds:(6294520.27,1979256.99, 932.359985) + to (6294743.29,1979675.03, 1016.690002) + (6294531.94,1979675.03, 932.359985) Ring + (6294523.87,1979650.55, 933.539978) + (6294520.27,1979620.92, 936.75) + (6294525.03,1979592.84, 940.289978) + (6294533.88,1979567.77, 942.97998) + (6294546.04,1979543.32, 949.280029) + (6294564.14,1979524.75, 951.640015) + (6294585.59,1979515.13, 956.359985) + (6294611.81,1979503.89, 959.380005) + (6294635.13,1979494.9, 966.200012) + (6294662.59,1979487.47, 969.409973) + (6294687.54,1979482.07, 971.77002) + (6294710.18,1979470.16, 976.75) + (6294732.15,1979450.14, 978.530029) + (6294743.29,1979431.46, 981.940002) + (6294738.7,1979402.93, 984.690002) + (6294731.29,1979380.98, 986.789978) + (6294717.67,1979358.29, 988.299988) + (6294706.34,1979342.05, 991.380005) + (6294697.14,1979315.92, 996.76001) + (6294696.36,1979292.58, 1000.169983) + (6294691.93,1979275.01, 1002.400024) + (6294681.97,1979259.95, 1004.76001) + (6294665.15,1979256.99, 1006.530029) + (6294638.58,1979258.93, 1010.330017) + (6294617.35,1979259.73, 1012.76001) + (6294592,1979262.26, 1015.320007) + (6294572.55,1979262, 1016.690002) + +Shape:17 (ArcZ) nVertices=43, nParts=1 + Bounds:(6294466.1,1979253.61, 930.97998) + to (6294720.52,1979678.41, 1018.460022) + (6294572.55,1979262, 1016.690002) Ring + (6294549.64,1979260.72, 1017.47998) + (6294522.44,1979260.52, 1017.47998) + (6294472.06,1979253.61, 1016.630005) + (6294469.53,1979302.33, 1017.150024) + (6294466.1,1979341.24, 1016.630005) + (6294469.48,1979374.29, 1016.5) + (6294506.64,1979382.01, 1016.960022) + (6294538.32,1979377.39, 1016.890015) + (6294581.4,1979377.51, 1017.73999) + (6294603.05,1979366.77, 1017.73999) + (6294597.82,1979338.47, 1018) + (6294587.06,1979307.49, 1018.460022) + (6294579.28,1979283.46, 1017.869995) + (6294593.32,1979278.02, 1016.359985) + (6294613.16,1979275.64, 1013.150024) + (6294634.39,1979274.63, 1009.539978) + (6294650.59,1979272.96, 1006.400024) + (6294666.97,1979274.83, 1003.77002) + (6294675.71,1979289.29, 1001.809998) + (6294681.31,1979309.23, 998.130005) + (6294686.19,1979327.9, 995.640015) + (6294692.28,1979346.96, 991.640015) + (6294699.73,1979367.2, 989.080017) + (6294709.53,1979384.31, 985.73999) + (6294716.16,1979401.37, 983.25) + (6294720.52,1979414.81, 980.099976) + (6294718.98,1979441.48, 978) +------------------------------------------------------------------------- +Test 3: dump polygon.shp +------------------------------------------------------------------------- +Shapefile Type: Polygon # of Shapes: 474 + +File Bounds: (471127.1875,4751545,0,0) + to (489292.3125,4765610.5,0,0) + +Shape:0 (Polygon) nVertices=20, nParts=1 + Bounds:(479647,4764856.5, 0) + to (480389.6875,4765610.5, 0) + (479819.84375,4765180.5, 0) Ring + (479690.1875,4765259.5, 0) + (479647,4765369.5, 0) + (479730.375,4765400.5, 0) + (480039.03125,4765539.5, 0) + (480035.34375,4765558.5, 0) + (480159.78125,4765610.5, 0) + (480202.28125,4765482, 0) + (480365,4765015.5, 0) + (480389.6875,4764950, 0) + (480133.96875,4764856.5, 0) + (480080.28125,4764979.5, 0) + (480082.96875,4765049.5, 0) + (480088.8125,4765139.5, 0) + (480059.90625,4765239.5, 0) + (480019.71875,4765319.5, 0) + (479980.21875,4765409.5, 0) + (479909.875,4765370, 0) + (479859.875,4765270, 0) + (479819.84375,4765180.5, 0) + +Shape:1 (Polygon) nVertices=20, nParts=1 + Bounds:(479014.9375,4764879, 0) + to (480039.03125,4765558.5, 0) + (480035.34375,4765558.5, 0) Ring + (480039.03125,4765539.5, 0) + (479730.375,4765400.5, 0) + (479647,4765369.5, 0) + (479690.1875,4765259.5, 0) + (479819.84375,4765180.5, 0) + (479779.84375,4765109.5, 0) + (479681.78125,4764940, 0) + (479468,4764942.5, 0) + (479411.4375,4764940.5, 0) + (479353,4764939.5, 0) + (479208.65625,4764882.5, 0) + (479196.8125,4764879, 0) + (479123.28125,4765015, 0) + (479046.53125,4765117, 0) + (479029.71875,4765110.5, 0) + (479014.9375,4765147.5, 0) + (479149.9375,4765200.5, 0) + (479639.625,4765399.5, 0) + (480035.34375,4765558.5, 0) + +Shape:2 (Polygon) nVertices=54, nParts=1 + Bounds:(480882.6875,4763472.5, 0) + to (484519.96875,4765410, 0) + (481575,4764999.5, 0) Ring + (481542.3125,4765097.5, 0) + (481443.6875,4765387.5, 0) + (481499.65625,4765410, 0) + (481631,4765031, 0) + (481693.3125,4764853, 0) + (481759.28125,4764889.5, 0) + (481860.03125,4764920, 0) + (482002.96875,4764910, 0) + (482180.09375,4764909.5, 0) + (482359.8125,4764960, 0) + (482510.5,4765065, 0) + (482619.90625,4765080.5, 0) + (482809.5,4765090, 0) + (483189.8125,4765084.5, 0) + (483330.3125,4765105.5, 0) + (483591.09375,4765260, 0) + (483700.5,4765280, 0) + (483799.9375,4765270, 0) + (484039.84375,4765280.5, 0) + (484115.6875,4765300, 0) + (484120.625,4765280, 0) + (484131.125,4765260, 0) + (484167.84375,4765271, 0) + (484277.875,4765015.5, 0) + (484455.0625,4764500, 0) + (484519.96875,4764345, 0) + (484482.03125,4764332, 0) + (483904.71875,4764113.5, 0) + (483334.84375,4763905, 0) + (482941.03125,4763760.5, 0) + (482590.71875,4763624.5, 0) + (482185.65625,4763472.5, 0) + (482009.84375,4763980.5, 0) + (481960.4375,4764099.5, 0) + (481767.5,4764014.5, 0) + (480955.5,4763700, 0) + (480882.6875,4763670, 0) + (481039.9375,4763889.5, 0) + (481130.3125,4763979.5, 0) + (481143.4375,4764010.5, 0) + (481199.84375,4764180, 0) + (481141.625,4764480.5, 0) + (481140.46875,4764510.5, 0) + (481159.9375,4764580, 0) + (481185.5,4764607, 0) + (481199.21875,4764623.5, 0) + (481209.8125,4764633.5, 0) + (481235.3125,4764650, 0) + (481635.96875,4764795.5, 0) + (481645.3125,4764797.5, 0) + (481629.84375,4764829.5, 0) + (481602.125,4764915.5, 0) + (481575,4764999.5, 0) + +Shape:3 (Polygon) nVertices=29, nParts=1 + Bounds:(479117.8125,4764505, 0) + to (480088.8125,4765409.5, 0) + (479819.84375,4765180.5, 0) Ring + (479859.875,4765270, 0) + (479909.875,4765370, 0) + (479980.21875,4765409.5, 0) + (480019.71875,4765319.5, 0) + (480059.90625,4765239.5, 0) + (480088.8125,4765139.5, 0) + (480082.96875,4765049.5, 0) + (480000.28125,4765043, 0) + (479934.96875,4765020, 0) + (479895.125,4765000, 0) + (479734.375,4764865, 0) + (479680.28125,4764852, 0) + (479644.78125,4764827.5, 0) + (479637.875,4764803, 0) + (479617.21875,4764760, 0) + (479587.28125,4764718, 0) + (479548.03125,4764693.5, 0) + (479504.90625,4764609.5, 0) + (479239.8125,4764505, 0) + (479117.8125,4764847, 0) + (479196.8125,4764879, 0) + (479208.65625,4764882.5, 0) + (479353,4764939.5, 0) + (479411.4375,4764940.5, 0) + (479468,4764942.5, 0) + (479681.78125,4764940, 0) + (479779.84375,4765109.5, 0) + (479819.84375,4765180.5, 0) + +Shape:4 (Polygon) nVertices=22, nParts=1 + Bounds:(480537.15625,4764738, 0) + to (481575,4765387.5, 0) + (480537.15625,4765014, 0) Ring + (481090.28125,4765242, 0) + (481443.6875,4765387.5, 0) + (481542.3125,4765097.5, 0) + (481575,4764999.5, 0) + (481538.90625,4764982.5, 0) + (481509.65625,4764967, 0) + (481457.375,4764937, 0) + (481465.90625,4764872.5, 0) + (481291.09375,4764810, 0) + (481281.3125,4764876.5, 0) + (481136.84375,4764994.5, 0) + (481088.1875,4764936, 0) + (480984.25,4764875, 0) + (480930.71875,4764852, 0) + (480922.03125,4764850.5, 0) + (480824.96875,4764820, 0) + (480761.46875,4764778, 0) + (480701.0625,4764738, 0) + (480605,4764835, 0) + (480567.96875,4764918, 0) + (480537.15625,4765014, 0) + +Shape:5 (Polygon) nVertices=60, nParts=1 + Bounds:(484482.03125,4760649.5, 0) + to (488408.28125,4765179, 0) + (484482.03125,4764332, 0) Ring + (484519.96875,4764345, 0) + (484817.9375,4764465.5, 0) + (485615.40625,4764770, 0) + (486269.6875,4765010, 0) + (486320.0625,4765024, 0) + (486340.59375,4765040, 0) + (486369.84375,4765050, 0) + (486719.96875,4765170, 0) + (486738.625,4765179, 0) + (486987.78125,4764497.5, 0) + (487019.875,4764384.5, 0) + (487077.375,4764226.5, 0) + (487120.03125,4764100, 0) + (487160.25,4763998, 0) + (487186.8125,4763922.5, 0) + (487408.25,4763315.5, 0) + (487608.0625,4762780, 0) + (487659.40625,4762650, 0) + (487719.40625,4762480, 0) + (487741.0625,4762419.5, 0) + (487747.875,4762395.5, 0) + (487880.875,4762032, 0) + (487899.4375,4761975.5, 0) + (488082,4761480, 0) + (488408.28125,4760649.5, 0) + (488050.375,4760824.5, 0) + (487690.90625,4760802, 0) + (487640.0625,4760879.5, 0) + (487594.9375,4761023, 0) + (487341.375,4761776.5, 0) + (487037.125,4761672.5, 0) + (487005.375,4761662.5, 0) + (486788.21875,4761579.5, 0) + (486822.25,4761492, 0) + (486838.3125,4761437.5, 0) + (486841.3125,4761381, 0) + (486850.5625,4761340, 0) + (486810.75,4761335.5, 0) + (486775.4375,4761400, 0) + (486710.09375,4761368, 0) + (486606.1875,4761330, 0) + (486548.65625,4761488, 0) + (486380.65625,4761428.5, 0) + (486152.90625,4761348, 0) + (485900.25,4761250.5, 0) + (485666.875,4761156.5, 0) + (485585.875,4761374.5, 0) + (485564.875,4761444.5, 0) + (485496.21875,4761614.5, 0) + (485438.6875,4761760.5, 0) + (485264.96875,4762222.5, 0) + (485192.6875,4762439, 0) + (485175.40625,4762493.5, 0) + (484947.34375,4763100.5, 0) + (484888,4763260.5, 0) + (484785.46875,4763560.5, 0) + (484760.21875,4763659.5, 0) + (484696.96875,4763734, 0) + (484482.03125,4764332, 0) + +Shape:6 (Polygon) nVertices=26, nParts=1 + Bounds:(478315.53125,4764174, 0) + to (479305.875,4765147.5, 0) + (479014.9375,4765147.5, 0) Ring + (479029.71875,4765110.5, 0) + (479117.8125,4764847, 0) + (479239.8125,4764505, 0) + (479305.875,4764361, 0) + (479256.03125,4764314.5, 0) + (479220.90625,4764212.5, 0) + (479114.5,4764174, 0) + (479018.28125,4764418.5, 0) + (478896.9375,4764371, 0) + (478748.8125,4764308.5, 0) + (478503.03125,4764218, 0) + (478461.75,4764337.5, 0) + (478443.9375,4764400.5, 0) + (478447.8125,4764454, 0) + (478448.6875,4764531.5, 0) + (478502.1875,4764541.5, 0) + (478683,4764730.5, 0) + (478621.03125,4764788.5, 0) + (478597.34375,4764766.5, 0) + (478532.5,4764695.5, 0) + (478460.125,4764615, 0) + (478408.0625,4764654, 0) + (478315.53125,4764876, 0) + (478889.25,4765100, 0) + (479014.9375,4765147.5, 0) + +Shape:7 (Polygon) nVertices=6, nParts=1 + Bounds:(479029.71875,4764847, 0) + to (479196.8125,4765117, 0) + (479029.71875,4765110.5, 0) Ring + (479046.53125,4765117, 0) + (479123.28125,4765015, 0) + (479196.8125,4764879, 0) + (479117.8125,4764847, 0) + (479029.71875,4765110.5, 0) + +Shape:8 (Polygon) nVertices=20, nParts=1 + Bounds:(479504.90625,4764609.5, 0) + to (480133.96875,4765049.5, 0) + (480082.96875,4765049.5, 0) Ring + (480080.28125,4764979.5, 0) + (480133.96875,4764856.5, 0) + (479968.46875,4764788, 0) + (479750.6875,4764702, 0) + (479735.90625,4764752, 0) + (479640.09375,4764721, 0) + (479658.59375,4764670, 0) + (479504.90625,4764609.5, 0) + (479548.03125,4764693.5, 0) + (479587.28125,4764718, 0) + (479617.21875,4764760, 0) + (479637.875,4764803, 0) + (479644.78125,4764827.5, 0) + (479680.28125,4764852, 0) + (479734.375,4764865, 0) + (479895.125,4765000, 0) + (479934.96875,4765020, 0) + (480000.28125,4765043, 0) + (480082.96875,4765049.5, 0) + +Shape:9 (Polygon) nVertices=31, nParts=1 + Bounds:(479968.46875,4764183, 0) + to (480731.65625,4765014, 0) + (480389.6875,4764950, 0) Ring + (480537.15625,4765014, 0) + (480567.96875,4764918, 0) + (480605,4764835, 0) + (480701.0625,4764738, 0) + (480710.25,4764690.5, 0) + (480588.59375,4764740.5, 0) + (480540.71875,4764741, 0) + (480515.125,4764695, 0) + (480731.65625,4764561.5, 0) + (480692.1875,4764453.5, 0) + (480677.84375,4764439, 0) + (480655.34375,4764397.5, 0) + (480584.375,4764353, 0) + (480500.40625,4764326.5, 0) + (480358.53125,4764277, 0) + (480192.3125,4764183, 0) + (480157.125,4764266.5, 0) + (480234.3125,4764304, 0) + (480289.125,4764348.5, 0) + (480316,4764395, 0) + (480343.5625,4764477, 0) + (480343.71875,4764532.5, 0) + (480258.03125,4764767, 0) + (480177.15625,4764742, 0) + (480093.75,4764703, 0) + (480011,4764674.5, 0) + (479985.0625,4764732, 0) + (479968.46875,4764788, 0) + (480133.96875,4764856.5, 0) + (480389.6875,4764950, 0) + +Shape:10 (Polygon) nVertices=61, nParts=1 + Bounds:(479492.6875,4762880.5, 0) + to (481645.3125,4764999.5, 0) + (480701.0625,4764738, 0) Ring + (480761.46875,4764778, 0) + (480824.96875,4764820, 0) + (480922.03125,4764850.5, 0) + (480930.71875,4764852, 0) + (480984.25,4764875, 0) + (481088.1875,4764936, 0) + (481136.84375,4764994.5, 0) + (481281.3125,4764876.5, 0) + (481291.09375,4764810, 0) + (481465.90625,4764872.5, 0) + (481457.375,4764937, 0) + (481509.65625,4764967, 0) + (481538.90625,4764982.5, 0) + (481575,4764999.5, 0) + (481602.125,4764915.5, 0) + (481629.84375,4764829.5, 0) + (481645.3125,4764797.5, 0) + (481635.96875,4764795.5, 0) + (481235.3125,4764650, 0) + (481209.8125,4764633.5, 0) + (481199.21875,4764623.5, 0) + (481185.5,4764607, 0) + (481159.9375,4764580, 0) + (481140.46875,4764510.5, 0) + (481141.625,4764480.5, 0) + (481199.84375,4764180, 0) + (481143.4375,4764010.5, 0) + (481130.3125,4763979.5, 0) + (481039.9375,4763889.5, 0) + (480882.6875,4763670, 0) + (480826.0625,4763650.5, 0) + (480745.1875,4763628.5, 0) + (480654.4375,4763627.5, 0) + (480599.8125,4763660, 0) + (480281.9375,4763576.5, 0) + (480221.5,4763533.5, 0) + (480199.6875,4763509, 0) + (480195.09375,4763430, 0) + (480273.6875,4763305.5, 0) + (480309.6875,4763063.5, 0) + (480201.84375,4762962.5, 0) + (479855.3125,4762880.5, 0) + (479848.53125,4762897, 0) + (479728.875,4763217.5, 0) + (479492.6875,4763850, 0) + (479550.0625,4763919.5, 0) + (480120.21875,4764188.5, 0) + (480192.3125,4764183, 0) + (480358.53125,4764277, 0) + (480500.40625,4764326.5, 0) + (480584.375,4764353, 0) + (480655.34375,4764397.5, 0) + (480677.84375,4764439, 0) + (480692.1875,4764453.5, 0) + (480731.65625,4764561.5, 0) + (480515.125,4764695, 0) + (480540.71875,4764741, 0) + (480588.59375,4764740.5, 0) + (480710.25,4764690.5, 0) + (480701.0625,4764738, 0) + +Shape:11 (Polygon) nVertices=21, nParts=1 + Bounds:(476732.90625,4763624.5, 0) + to (478408.0625,4764876, 0) + (478315.53125,4764876, 0) Ring + (478408.0625,4764654, 0) + (478325.25,4764606.5, 0) + (478220.09375,4764574.5, 0) + (478140.34375,4764511, 0) + (478065.0625,4764487.5, 0) + (478080.9375,4764401.5, 0) + (478110.5,4764308.5, 0) + (478149.96875,4764212.5, 0) + (478180.21875,4764150, 0) + (478192.5,4764099.5, 0) + (477893.125,4763984.5, 0) + (477417.03125,4763800.5, 0) + (477005.59375,4763640, 0) + (476958.3125,4763624.5, 0) + (476947.25,4763664.5, 0) + (476732.90625,4764243, 0) + (477322.375,4764502, 0) + (477599.90625,4764600, 0) + (477949.65625,4764745, 0) + (478315.53125,4764876, 0) + +Shape:12 (Polygon) nVertices=22, nParts=1 + Bounds:(478065.0625,4764099.5, 0) + to (478683,4764788.5, 0) + (478408.0625,4764654, 0) Ring + (478460.125,4764615, 0) + (478532.5,4764695.5, 0) + (478597.34375,4764766.5, 0) + (478621.03125,4764788.5, 0) + (478683,4764730.5, 0) + (478502.1875,4764541.5, 0) + (478448.6875,4764531.5, 0) + (478447.8125,4764454, 0) + (478443.9375,4764400.5, 0) + (478461.75,4764337.5, 0) + (478503.03125,4764218, 0) + (478192.5,4764099.5, 0) + (478180.21875,4764150, 0) + (478149.96875,4764212.5, 0) + (478110.5,4764308.5, 0) + (478080.9375,4764401.5, 0) + (478065.0625,4764487.5, 0) + (478140.34375,4764511, 0) + (478220.09375,4764574.5, 0) + (478325.25,4764606.5, 0) + (478408.0625,4764654, 0) + +Shape:13 (Polygon) nVertices=27, nParts=1 + Bounds:(479239.8125,4763850, 0) + to (480343.71875,4764788, 0) + (479750.6875,4764702, 0) Ring + (479968.46875,4764788, 0) + (479985.0625,4764732, 0) + (480011,4764674.5, 0) + (480093.75,4764703, 0) + (480177.15625,4764742, 0) + (480258.03125,4764767, 0) + (480343.71875,4764532.5, 0) + (480343.5625,4764477, 0) + (480316,4764395, 0) + (480289.125,4764348.5, 0) + (480234.3125,4764304, 0) + (480157.125,4764266.5, 0) + (480192.3125,4764183, 0) + (480120.21875,4764188.5, 0) + (479550.0625,4763919.5, 0) + (479492.6875,4763850, 0) + (479487.75,4763864.5, 0) + (479442.75,4763990, 0) + (479436,4764023, 0) + (479398.9375,4764100, 0) + (479349.625,4764230, 0) + (479305.875,4764361, 0) + (479239.8125,4764505, 0) + (479504.90625,4764609.5, 0) + (479658.59375,4764670, 0) + (479750.6875,4764702, 0) + +Shape:14 (Polygon) nVertices=5, nParts=1 + Bounds:(479640.09375,4764670, 0) + to (479750.6875,4764752, 0) + (479750.6875,4764702, 0) Ring + (479658.59375,4764670, 0) + (479640.09375,4764721, 0) + (479735.90625,4764752, 0) + (479750.6875,4764702, 0) + +Shape:15 (Polygon) nVertices=28, nParts=1 + Bounds:(478503.03125,4763357.5, 0) + to (479349.625,4764418.5, 0) + (479305.875,4764361, 0) Ring + (479349.625,4764230, 0) + (479218.15625,4764126, 0) + (479128.34375,4764030.5, 0) + (479103.40625,4764000, 0) + (479099.59375,4763977.5, 0) + (479080.8125,4763930, 0) + (478999.8125,4763864.5, 0) +------------------------------------------------------------------------- +Test 4: dump pline.dbf - uses new F field type +------------------------------------------------------------------------- +Field 0: Type=N/Double, Title=`FNODE_', Width=11, Decimals=0 +Field 1: Type=N/Double, Title=`TNODE_', Width=11, Decimals=0 +Field 2: Type=N/Double, Title=`LPOLY_', Width=11, Decimals=0 +Field 3: Type=N/Double, Title=`RPOLY_', Width=11, Decimals=0 +Field 4: Type=F/Double, Title=`LENGTH', Width=13, Decimals=3 +Field 5: Type=N/Double, Title=`PLINE_', Width=11, Decimals=0 +Field 6: Type=N/Double, Title=`PLINE_ID', Width=11, Decimals=0 +Field 7: Type=N/Double, Title=`UID', Width=11, Decimals=0 +Field 8: Type=N/Double, Title=`GISO_TYPE_', Width=11, Decimals=0 +Field 9: Type=N/Integer, Title=`SYMBOL', Width=6, Decimals=0 +Field 10: Type=N/Double, Title=`LOCK__ID', Width=11, Decimals=0 +Field 11: Type=N/Integer, Title=`PHASE__ID', Width=6, Decimals=0 +Field 12: Type=N/Double, Title=`OBJECT__ID', Width=11, Decimals=0 +Field 13: Type=C/String, Title=`TYPE', Width=50, Decimals=0 +Field 14: Type=N/Integer, Title=`SYM_NBR', Width=6, Decimals=0 +Field 15: Type=C/String, Title=`PHASE', Width=4, Decimals=0 +Field 16: Type=C/String, Title=`CKT_NM', Width=30, Decimals=0 +Field 17: Type=C/String, Title=`VOLTAGE', Width=30, Decimals=0 +Field 18: Type=C/String, Title=`CMPN', Width=30, Decimals=0 + +Record: 0 +FNODE_: 351 +TNODE_: 352 +LPOLY_: 0 +RPOLY_: 0 +LENGTH: 139.451 +PLINE_: 1 +PLINE_ID: 8588 +UID: 544484 +GISO_TYPE_: 13 +SYMBOL: 101 +LOCK__ID: 0 +PHASE__ID: 0 +OBJECT__ID: 131978 +TYPE: Overhead Primary +SYM_NBR: 101 +PHASE: ABC +CKT_NM: MED36 +VOLTAGE: (NULL) +CMPN: (NULL) + +Record: 1 +FNODE_: 352 +TNODE_: 362 +LPOLY_: 0 +RPOLY_: 0 +LENGTH: 158.033 +PLINE_: 2 +PLINE_ID: 8695 +UID: 544591 +------------------------------------------------------------------------- +Test 5: NULL Shapes. +------------------------------------------------------------------------- +Shapefile Type: Arc # of Shapes: 124 + +File Bounds: (257104.88,5176098.60598591,0,0) + to (335497.5,5226768.1,0,0) + +Shape:0 (Arc) nVertices=21, nParts=1 + Bounds:(317138.45,5176398.91581796, 0) + to (317325.59,5186063.78, 0) + (317255.906326921,5176398.91581796, 0) Ring + (317188.01,5176506.46, 0) + (317176.92,5176524.51, 0) + (317165.34,5176546.85, 0) + (317157.95,5176566.02, 0) + (317150.02,5176587.65, 0) + (317140.13,5176623.38, 0) + (317138.7,5176637.22, 0) + (317138.45,5176652.79, 0) + (317194.71,5177654.35, 0) + (317208.9,5178001.15, 0) + (317257.24,5178791.4, 0) + (317233.33,5179171.73, 0) + (317178.86,5179593.91, 0) + (317177.43,5180161.33, 0) + (317179.91,5181231.06, 0) + (317191.12,5182009, 0) + (317217.15,5182812.16, 0) + (317251.76,5184426.35, 0) + (317285.55,5185242.72, 0) + (317325.59,5186063.78, 0) + +Shape:1 (Arc) nVertices=14, nParts=1 + Bounds:(327417.339981271,5176119.95957318, 0) + to (327575.15,5179522.55, 0) + (327417.339981271,5176119.95957318, 0) Ring + (327472.25,5177756.61, 0) + (327475.67,5178507.28, 0) + (327487.42,5179001.91, 0) + (327488.76,5179080.09, 0) + (327485.31,5179309.31, 0) + (327487.01,5179328.21, 0) + (327491.8,5179348.86, 0) + (327499.8,5179374.94, 0) + (327512.98,5179413.1, 0) + (327527.29,5179446.96, 0) + (327538.87,5179469.89, 0) + (327552.26,5179491.55, 0) + (327575.15,5179522.55, 0) + +Shape:2 (Arc) nVertices=40, nParts=1 + Bounds:(326935.88,5180924.98, 0) + to (327723.19,5198803.66, 0) + (327370.95,5180924.98, 0) Ring + (327410.07,5181060.54, 0) + (327512.85,5181435.45, 0) + (327518.64,5181464.01, 0) + (327523.7,5181488.92, 0) + (327524.5,5181514.57, 0) + (327468.01,5182633.64, 0) + (327500.04,5183199.84, 0) + (327499.6,5183224.92, 0) + (327484.7,5183355.01, 0) + (327483.69,5183400.9, 0) + (327483.84,5183464.48, 0) + (327486.01,5183494.98, 0) + (327571.28,5184207.82, 0) + (327617.21,5184599.43, 0) + (327620.42,5184623.78, 0) + (327625.53,5184650.53, 0) + (327698.43,5184927.07, 0) + (327702.1,5184946.52, 0) + (327717.94,5185394.82, 0) + (327723.19,5185719.32, 0) + (327719.46,5185737.17, 0) + (327712.09,5185755.74, 0) + (327699.84,5185775.08, 0) + (327683.83,5185791.48, 0) + (327665.38,5185807.95, 0) + (327641.97,5185822.74, 0) + (327622.28,5185829.07, 0) + (327604.95,5185832.94, 0) + (326937.5,5185829.31, 0) + (326935.88,5187515.51, 0) + (326983.05,5189115.23, 0) + (326998.86,5189920.82, 0) + (327060.24,5190715.87, 0) + (327123.23,5192332.22, 0) + (327179.92,5193766.29, 0) + (327185.49,5193921.94, 0) + (327204.12,5195553.58, 0) + (327218.27,5197179.25, 0) + (327251.33,5198803.66, 0) + +Shape:3 (NullShape) nVertices=0, nParts=0 + Bounds:(0,0, 0) + to (0,0, 0) + +Shape:4 (NullShape) nVertices=0, nParts=0 + Bounds:(0,0, 0) + to (0,0, 0) + +Shape:5 (NullShape) nVertices=0, nParts=0 + Bounds:(0,0, 0) + to (0,0, 0) + +Shape:6 (Arc) nVertices=2, nParts=1 + Bounds:(327123.23,5192296.6, 0) + to (328480.85,5192332.22, 0) + (327123.23,5192332.22, 0) Ring + (328480.85,5192296.6, 0) + +Shape:7 (Arc) nVertices=5, nParts=1 + Bounds:(329222.06,5217943.49, 0) + to (335290.68,5218084.78, 0) + (329222.06,5218084.78, 0) Ring + (330442.52,5218057.65, 0) + (332059.96,5218033.81, 0) + (333685.82,5218004.86, 0) + (335290.68,5217943.49, 0) + +Shape:8 (Arc) nVertices=65, nParts=1 + Bounds:(280048.1,5177687.6425329, 0) + to (280439.41,5182567.12, 0) + (280316.840076296,5177687.6425329, 0) Ring + (280325.31,5177968.83, 0) + (280324.63,5178037.94, 0) + (280324.15,5178059.35, 0) + (280320.13,5178084.56, 0) + (280299.86,5178170.25, 0) + (280288.71,5178218.94, 0) + (280274.28,5178283.64, 0) + (280268,5178330.87, 0) + (280267.91,5178346.76, 0) + (280270.51,5178364.58, 0) + (280274.82,5178382.36, 0) + (280278.44,5178397.21, 0) + (280351.4,5178743.8, 0) + (280369.86,5178800.63, 0) + (280378.67,5178826.01, 0) + (280400.35,5178869.89, 0) + (280414.87,5178901.18, 0) + (280427.03,5178934.99, 0) + (280436.25,5178971.97, 0) + (280439.41,5178992.65, 0) + (280439.17,5179001.63, 0) + (280437.01,5179011.69, 0) + (280434.93,5179016.97, 0) + (280431.87,5179022.26, 0) + (280413.61,5179041.85, 0) + (280410.04,5179046.78, 0) + (280406.64,5179052.48, 0) diff --git a/tests/stream2.out b/tests/expect2.out similarity index 100% rename from tests/stream2.out rename to tests/expect2.out diff --git a/tests/stream3.out b/tests/expect3.out similarity index 100% rename from tests/stream3.out rename to tests/expect3.out diff --git a/tests/shape_eg_data/3dpoints.dbf b/tests/shape_eg_data/3dpoints.dbf new file mode 100644 index 0000000..d8a15f6 Binary files /dev/null and b/tests/shape_eg_data/3dpoints.dbf differ diff --git a/tests/shape_eg_data/3dpoints.shp b/tests/shape_eg_data/3dpoints.shp new file mode 100644 index 0000000..11439c3 Binary files /dev/null and b/tests/shape_eg_data/3dpoints.shp differ diff --git a/tests/shape_eg_data/3dpoints.shx b/tests/shape_eg_data/3dpoints.shx new file mode 100644 index 0000000..6e8f877 Binary files /dev/null and b/tests/shape_eg_data/3dpoints.shx differ diff --git a/tests/shape_eg_data/README.md b/tests/shape_eg_data/README.md new file mode 100644 index 0000000..3a30e9b --- /dev/null +++ b/tests/shape_eg_data/README.md @@ -0,0 +1,3 @@ +# shapelib test data + +Downloaded from [maptools.org](http://dl.maptools.org/dl/shapelib/shape_eg_data.zip). diff --git a/tests/shape_eg_data/anno.aux b/tests/shape_eg_data/anno.aux new file mode 100644 index 0000000..20449ee --- /dev/null +++ b/tests/shape_eg_data/anno.aux @@ -0,0 +1,2 @@ +AuxilaryTarget: anno.shp +METADATA_VEC_1_LAYER_TYPE: WHOLE_POLYGONS diff --git a/tests/shape_eg_data/anno.dbf b/tests/shape_eg_data/anno.dbf new file mode 100644 index 0000000..e51ce14 Binary files /dev/null and b/tests/shape_eg_data/anno.dbf differ diff --git a/tests/shape_eg_data/anno.shp b/tests/shape_eg_data/anno.shp new file mode 100644 index 0000000..01fc79f Binary files /dev/null and b/tests/shape_eg_data/anno.shp differ diff --git a/tests/shape_eg_data/anno.shx b/tests/shape_eg_data/anno.shx new file mode 100644 index 0000000..6c0ee65 Binary files /dev/null and b/tests/shape_eg_data/anno.shx differ diff --git a/tests/shape_eg_data/brklinz.dbf b/tests/shape_eg_data/brklinz.dbf new file mode 100644 index 0000000..887543b Binary files /dev/null and b/tests/shape_eg_data/brklinz.dbf differ diff --git a/tests/shape_eg_data/brklinz.shp b/tests/shape_eg_data/brklinz.shp new file mode 100644 index 0000000..957fd0b Binary files /dev/null and b/tests/shape_eg_data/brklinz.shp differ diff --git a/tests/shape_eg_data/brklinz.shx b/tests/shape_eg_data/brklinz.shx new file mode 100644 index 0000000..bd6c73f Binary files /dev/null and b/tests/shape_eg_data/brklinz.shx differ diff --git a/tests/shape_eg_data/csah.dbf b/tests/shape_eg_data/csah.dbf new file mode 100644 index 0000000..a8081ba Binary files /dev/null and b/tests/shape_eg_data/csah.dbf differ diff --git a/tests/shape_eg_data/csah.shp b/tests/shape_eg_data/csah.shp new file mode 100644 index 0000000..231d543 Binary files /dev/null and b/tests/shape_eg_data/csah.shp differ diff --git a/tests/shape_eg_data/csah.shx b/tests/shape_eg_data/csah.shx new file mode 100644 index 0000000..c0685da Binary files /dev/null and b/tests/shape_eg_data/csah.shx differ diff --git a/tests/shape_eg_data/masspntz.dbf b/tests/shape_eg_data/masspntz.dbf new file mode 100644 index 0000000..62a848b Binary files /dev/null and b/tests/shape_eg_data/masspntz.dbf differ diff --git a/tests/shape_eg_data/masspntz.shp b/tests/shape_eg_data/masspntz.shp new file mode 100644 index 0000000..98fd78d Binary files /dev/null and b/tests/shape_eg_data/masspntz.shp differ diff --git a/tests/shape_eg_data/masspntz.shx b/tests/shape_eg_data/masspntz.shx new file mode 100644 index 0000000..c730dcf Binary files /dev/null and b/tests/shape_eg_data/masspntz.shx differ diff --git a/tests/shape_eg_data/mexico/cities.dbf b/tests/shape_eg_data/mexico/cities.dbf new file mode 100644 index 0000000..d85d10e Binary files /dev/null and b/tests/shape_eg_data/mexico/cities.dbf differ diff --git a/tests/shape_eg_data/mexico/cities.sbn b/tests/shape_eg_data/mexico/cities.sbn new file mode 100644 index 0000000..2ea84a8 Binary files /dev/null and b/tests/shape_eg_data/mexico/cities.sbn differ diff --git a/tests/shape_eg_data/mexico/cities.sbx b/tests/shape_eg_data/mexico/cities.sbx new file mode 100644 index 0000000..e58f786 Binary files /dev/null and b/tests/shape_eg_data/mexico/cities.sbx differ diff --git a/tests/shape_eg_data/mexico/cities.shp b/tests/shape_eg_data/mexico/cities.shp new file mode 100644 index 0000000..e5a4a1d Binary files /dev/null and b/tests/shape_eg_data/mexico/cities.shp differ diff --git a/tests/shape_eg_data/mexico/cities.shx b/tests/shape_eg_data/mexico/cities.shx new file mode 100644 index 0000000..6e1886c Binary files /dev/null and b/tests/shape_eg_data/mexico/cities.shx differ diff --git a/tests/shape_eg_data/mexico/drainage.dbf b/tests/shape_eg_data/mexico/drainage.dbf new file mode 100644 index 0000000..0c3c4d9 Binary files /dev/null and b/tests/shape_eg_data/mexico/drainage.dbf differ diff --git a/tests/shape_eg_data/mexico/drainage.sbn b/tests/shape_eg_data/mexico/drainage.sbn new file mode 100644 index 0000000..4085832 Binary files /dev/null and b/tests/shape_eg_data/mexico/drainage.sbn differ diff --git a/tests/shape_eg_data/mexico/drainage.sbx b/tests/shape_eg_data/mexico/drainage.sbx new file mode 100644 index 0000000..770b807 Binary files /dev/null and b/tests/shape_eg_data/mexico/drainage.sbx differ diff --git a/tests/shape_eg_data/mexico/drainage.shp b/tests/shape_eg_data/mexico/drainage.shp new file mode 100644 index 0000000..e795d53 Binary files /dev/null and b/tests/shape_eg_data/mexico/drainage.shp differ diff --git a/tests/shape_eg_data/mexico/drainage.shx b/tests/shape_eg_data/mexico/drainage.shx new file mode 100644 index 0000000..1b3aedd Binary files /dev/null and b/tests/shape_eg_data/mexico/drainage.shx differ diff --git a/tests/shape_eg_data/mexico/lakes.dbf b/tests/shape_eg_data/mexico/lakes.dbf new file mode 100644 index 0000000..36a5cf6 Binary files /dev/null and b/tests/shape_eg_data/mexico/lakes.dbf differ diff --git a/tests/shape_eg_data/mexico/lakes.sbn b/tests/shape_eg_data/mexico/lakes.sbn new file mode 100644 index 0000000..220bd3d Binary files /dev/null and b/tests/shape_eg_data/mexico/lakes.sbn differ diff --git a/tests/shape_eg_data/mexico/lakes.sbx b/tests/shape_eg_data/mexico/lakes.sbx new file mode 100644 index 0000000..fbbdb6e Binary files /dev/null and b/tests/shape_eg_data/mexico/lakes.sbx differ diff --git a/tests/shape_eg_data/mexico/lakes.shp b/tests/shape_eg_data/mexico/lakes.shp new file mode 100644 index 0000000..c750408 Binary files /dev/null and b/tests/shape_eg_data/mexico/lakes.shp differ diff --git a/tests/shape_eg_data/mexico/lakes.shx b/tests/shape_eg_data/mexico/lakes.shx new file mode 100644 index 0000000..d7b9438 Binary files /dev/null and b/tests/shape_eg_data/mexico/lakes.shx differ diff --git a/tests/shape_eg_data/mexico/rivers.dbf b/tests/shape_eg_data/mexico/rivers.dbf new file mode 100644 index 0000000..4aa1d8b Binary files /dev/null and b/tests/shape_eg_data/mexico/rivers.dbf differ diff --git a/tests/shape_eg_data/mexico/rivers.sbn b/tests/shape_eg_data/mexico/rivers.sbn new file mode 100644 index 0000000..ea42c81 Binary files /dev/null and b/tests/shape_eg_data/mexico/rivers.sbn differ diff --git a/tests/shape_eg_data/mexico/rivers.sbx b/tests/shape_eg_data/mexico/rivers.sbx new file mode 100644 index 0000000..1202ac2 Binary files /dev/null and b/tests/shape_eg_data/mexico/rivers.sbx differ diff --git a/tests/shape_eg_data/mexico/rivers.shp b/tests/shape_eg_data/mexico/rivers.shp new file mode 100644 index 0000000..877dd1e Binary files /dev/null and b/tests/shape_eg_data/mexico/rivers.shp differ diff --git a/tests/shape_eg_data/mexico/rivers.shx b/tests/shape_eg_data/mexico/rivers.shx new file mode 100644 index 0000000..c3b4cd1 Binary files /dev/null and b/tests/shape_eg_data/mexico/rivers.shx differ diff --git a/tests/shape_eg_data/mexico/roads.dbf b/tests/shape_eg_data/mexico/roads.dbf new file mode 100644 index 0000000..330bac4 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads.dbf differ diff --git a/tests/shape_eg_data/mexico/roads.sbn b/tests/shape_eg_data/mexico/roads.sbn new file mode 100644 index 0000000..79f1b41 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads.sbn differ diff --git a/tests/shape_eg_data/mexico/roads.sbx b/tests/shape_eg_data/mexico/roads.sbx new file mode 100644 index 0000000..5eadaf7 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads.sbx differ diff --git a/tests/shape_eg_data/mexico/roads.shp b/tests/shape_eg_data/mexico/roads.shp new file mode 100644 index 0000000..ffaf209 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads.shp differ diff --git a/tests/shape_eg_data/mexico/roads.shx b/tests/shape_eg_data/mexico/roads.shx new file mode 100644 index 0000000..5c09c97 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads.shx differ diff --git a/tests/shape_eg_data/mexico/roads_rt.dbf b/tests/shape_eg_data/mexico/roads_rt.dbf new file mode 100644 index 0000000..5d3d663 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads_rt.dbf differ diff --git a/tests/shape_eg_data/mexico/roads_rt.sbn b/tests/shape_eg_data/mexico/roads_rt.sbn new file mode 100644 index 0000000..4da0adf Binary files /dev/null and b/tests/shape_eg_data/mexico/roads_rt.sbn differ diff --git a/tests/shape_eg_data/mexico/roads_rt.sbx b/tests/shape_eg_data/mexico/roads_rt.sbx new file mode 100644 index 0000000..dbc5737 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads_rt.sbx differ diff --git a/tests/shape_eg_data/mexico/roads_rt.shp b/tests/shape_eg_data/mexico/roads_rt.shp new file mode 100644 index 0000000..9a63ed6 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads_rt.shp differ diff --git a/tests/shape_eg_data/mexico/roads_rt.shx b/tests/shape_eg_data/mexico/roads_rt.shx new file mode 100644 index 0000000..ff1e173 Binary files /dev/null and b/tests/shape_eg_data/mexico/roads_rt.shx differ diff --git a/tests/shape_eg_data/mexico/states.dbf b/tests/shape_eg_data/mexico/states.dbf new file mode 100644 index 0000000..5ecfcd6 Binary files /dev/null and b/tests/shape_eg_data/mexico/states.dbf differ diff --git a/tests/shape_eg_data/mexico/states.sbn b/tests/shape_eg_data/mexico/states.sbn new file mode 100644 index 0000000..38048d1 Binary files /dev/null and b/tests/shape_eg_data/mexico/states.sbn differ diff --git a/tests/shape_eg_data/mexico/states.sbx b/tests/shape_eg_data/mexico/states.sbx new file mode 100644 index 0000000..05bb01a Binary files /dev/null and b/tests/shape_eg_data/mexico/states.sbx differ diff --git a/tests/shape_eg_data/mexico/states.shp b/tests/shape_eg_data/mexico/states.shp new file mode 100644 index 0000000..7d31fc4 Binary files /dev/null and b/tests/shape_eg_data/mexico/states.shp differ diff --git a/tests/shape_eg_data/mexico/states.shx b/tests/shape_eg_data/mexico/states.shx new file mode 100644 index 0000000..ae96af3 Binary files /dev/null and b/tests/shape_eg_data/mexico/states.shx differ diff --git a/tests/shape_eg_data/mpatch3.dbf b/tests/shape_eg_data/mpatch3.dbf new file mode 100644 index 0000000..78c9f27 Binary files /dev/null and b/tests/shape_eg_data/mpatch3.dbf differ diff --git a/tests/shape_eg_data/mpatch3.shp b/tests/shape_eg_data/mpatch3.shp new file mode 100644 index 0000000..b79e073 Binary files /dev/null and b/tests/shape_eg_data/mpatch3.shp differ diff --git a/tests/shape_eg_data/mpatch3.shx b/tests/shape_eg_data/mpatch3.shx new file mode 100644 index 0000000..d2bac36 Binary files /dev/null and b/tests/shape_eg_data/mpatch3.shx differ diff --git a/tests/shape_eg_data/multipatch.dbf b/tests/shape_eg_data/multipatch.dbf new file mode 100644 index 0000000..ddcbbc9 Binary files /dev/null and b/tests/shape_eg_data/multipatch.dbf differ diff --git a/tests/shape_eg_data/multipatch.shp b/tests/shape_eg_data/multipatch.shp new file mode 100644 index 0000000..a7c7016 Binary files /dev/null and b/tests/shape_eg_data/multipatch.shp differ diff --git a/tests/shape_eg_data/multipatch.shx b/tests/shape_eg_data/multipatch.shx new file mode 100644 index 0000000..1d9d64e Binary files /dev/null and b/tests/shape_eg_data/multipatch.shx differ diff --git a/tests/shape_eg_data/multipnt.dbf b/tests/shape_eg_data/multipnt.dbf new file mode 100644 index 0000000..4c01765 Binary files /dev/null and b/tests/shape_eg_data/multipnt.dbf differ diff --git a/tests/shape_eg_data/multipnt.shp b/tests/shape_eg_data/multipnt.shp new file mode 100644 index 0000000..7ba09fb Binary files /dev/null and b/tests/shape_eg_data/multipnt.shp differ diff --git a/tests/shape_eg_data/multipnt.shx b/tests/shape_eg_data/multipnt.shx new file mode 100644 index 0000000..6bec10a Binary files /dev/null and b/tests/shape_eg_data/multipnt.shx differ diff --git a/tests/shape_eg_data/pline.dbf b/tests/shape_eg_data/pline.dbf new file mode 100644 index 0000000..51aea58 Binary files /dev/null and b/tests/shape_eg_data/pline.dbf differ diff --git a/tests/shape_eg_data/pline.shp b/tests/shape_eg_data/pline.shp new file mode 100644 index 0000000..b2e6917 Binary files /dev/null and b/tests/shape_eg_data/pline.shp differ diff --git a/tests/shape_eg_data/pline.shx b/tests/shape_eg_data/pline.shx new file mode 100644 index 0000000..4997d36 Binary files /dev/null and b/tests/shape_eg_data/pline.shx differ diff --git a/tests/shape_eg_data/polygon.dbf b/tests/shape_eg_data/polygon.dbf new file mode 100644 index 0000000..8bfea94 Binary files /dev/null and b/tests/shape_eg_data/polygon.dbf differ diff --git a/tests/shape_eg_data/polygon.shp b/tests/shape_eg_data/polygon.shp new file mode 100644 index 0000000..e552dc9 Binary files /dev/null and b/tests/shape_eg_data/polygon.shp differ diff --git a/tests/shape_eg_data/polygon.shx b/tests/shape_eg_data/polygon.shx new file mode 100644 index 0000000..49dd79c Binary files /dev/null and b/tests/shape_eg_data/polygon.shx differ diff --git a/tests/stream1.out b/tests/stream1.out deleted file mode 100644 index de59c44..0000000 --- a/tests/stream1.out +++ /dev/null @@ -1,1465 +0,0 @@ -------------------------------------------------------------------------- -Test 1: dump anno.shp -------------------------------------------------------------------------- -Shapefile Type: Polygon # of Shapes: 201 - -File Bounds: ( 471276.281, 4751595.500,0,0) - to ( 492683.536, 4765390.413,0,0) - -Shape:0 (Polygon) nVertices=5, nParts=1 - Bounds:( 486019.130, 4764549.500, 0, 0) - to ( 486356.183, 4765212.744, 0, 0) - ( 486089.531, 4764549.500, 0, 0) Ring - ( 486019.130, 4764579.128, 0, 0) - ( 486285.782, 4765212.744, 0, 0) - ( 486356.183, 4765183.116, 0, 0) - ( 486089.531, 4764549.500, 0, 0) - -Shape:1 (Polygon) nVertices=5, nParts=1 - Bounds:( 484948.275, 4763866.500, 0, 0) - to ( 485333.012, 4764070.376, 0, 0) - ( 484974.719, 4763866.500, 0, 0) Ring - ( 484948.275, 4763938.159, 0, 0) - ( 485306.569, 4764070.376, 0, 0) - ( 485333.012, 4763998.717, 0, 0) - ( 484974.719, 4763866.500, 0, 0) - -Shape:2 (Polygon) nVertices=5, nParts=1 - Bounds:( 485577.021, 4764106.500, 0, 0) - to ( 485818.355, 4764259.305, 0, 0) - ( 485604.156, 4764106.500, 0, 0) Ring - ( 485577.021, 4764177.900, 0, 0) - ( 485791.220, 4764259.305, 0, 0) - ( 485818.355, 4764187.906, 0, 0) - ( 485604.156, 4764106.500, 0, 0) - -Shape:3 (Polygon) nVertices=5, nParts=1 - Bounds:( 484861.500, 4762570.513, 0, 0) - to ( 485092.062, 4763026.856, 0, 0) - ( 485092.062, 4762597.000, 0, 0) Ring - ( 485020.420, 4762570.513, 0, 0) - ( 484861.500, 4763000.370, 0, 0) - ( 484933.143, 4763026.856, 0, 0) - ( 485092.062, 4762597.000, 0, 0) - -Shape:4 (Polygon) nVertices=5, nParts=1 - Bounds:( 484452.624, 4763792.614, 0, 0) - to ( 484628.031, 4764105.947, 0, 0) - ( 484628.031, 4763818.500, 0, 0) Ring - ( 484556.169, 4763792.614, 0, 0) - ( 484452.624, 4764080.061, 0, 0) - ( 484524.486, 4764105.947, 0, 0) - ( 484628.031, 4763818.500, 0, 0) - -Shape:5 (Polygon) nVertices=5, nParts=1 - Bounds:( 484355.352, 4764139.435, 0, 0) - to ( 484505.344, 4764380.892, 0, 0) - ( 484505.344, 4764165.500, 0, 0) Ring - ( 484433.546, 4764139.435, 0, 0) - ( 484355.352, 4764354.827, 0, 0) - ( 484427.150, 4764380.892, 0, 0) - ( 484505.344, 4764165.500, 0, 0) - -Shape:6 (Polygon) nVertices=9, nParts=1 - Bounds:( 484548.866, 4763118.531, 0, 0) - to ( 484772.062, 4763742.258, 0, 0) - ( 484772.062, 4763152.000, 0, 0) Ring - ( 484703.404, 4763118.531, 0, 0) - ( 484605.763, 4763318.832, 0, 0) - ( 484548.866, 4763471.149, 0, 0) - ( 484603.088, 4763742.258, 0, 0) - ( 484677.987, 4763727.278, 0, 0) - ( 484628.031, 4763477.500, 0, 0) - ( 484676.031, 4763349.000, 0, 0) - ( 484772.062, 4763152.000, 0, 0) - -Shape:7 (Polygon) nVertices=5, nParts=1 - Bounds:( 484671.739, 4763562.500, 0, 0) - to ( 484911.415, 4763682.338, 0, 0) - ( 484686.719, 4763562.500, 0, 0) Ring - ( 484671.739, 4763637.399, 0, 0) - ( 484896.435, 4763682.338, 0, 0) - ( 484911.415, 4763607.439, 0, 0) - ( 484686.719, 4763562.500, 0, 0) - -Shape:8 (Polygon) nVertices=5, nParts=1 - Bounds:( 484930.172, 4763125.500, 0, 0) - to ( 485596.342, 4763453.269, 0, 0) - ( 484958.719, 4763125.500, 0, 0) Ring - ( 484930.172, 4763196.347, 0, 0) - ( 485567.795, 4763453.269, 0, 0) - ( 485596.342, 4763382.423, 0, 0) - ( 484958.719, 4763125.500, 0, 0) - -Shape:9 (Polygon) nVertices=5, nParts=1 - Bounds:( 485102.757, 4763082.500, 0, 0) - to ( 485344.154, 4763234.029, 0, 0) - ( 485129.406, 4763082.500, 0, 0) Ring - ( 485102.757, 4763154.083, 0, 0) - ( 485317.505, 4763234.029, 0, 0) - ( 485344.154, 4763162.446, 0, 0) - ( 485129.406, 4763082.500, 0, 0) - -Shape:10 (Polygon) nVertices=5, nParts=1 - Bounds:( 485368.786, 4762538.500, 0, 0) - to ( 485824.016, 4762774.029, 0, 0) - ( 485396.156, 4762538.500, 0, 0) Ring - ( 485368.786, 4762609.810, 0, 0) - ( 485796.646, 4762774.029, 0, 0) - ( 485824.016, 4762702.719, 0, 0) - ( 485396.156, 4762538.500, 0, 0) - -Shape:11 (Polygon) nVertices=5, nParts=1 - Bounds:( 487002.484, 4763184.000, 0, 0) - to ( 487243.960, 4763333.368, 0, 0) - ( 487028.312, 4763184.000, 0, 0) Ring - ( 487002.484, 4763255.883, 0, 0) - ( 487218.132, 4763333.368, 0, 0) - ( 487243.960, 4763261.486, 0, 0) - ( 487028.312, 4763184.000, 0, 0) - -Shape:12 (Polygon) nVertices=5, nParts=1 - Bounds:( 486733.537, 4762455.413, 0, 0) - to ( 487076.312, 4763275.483, 0, 0) - ( 487076.312, 4762480.000, 0, 0) Ring - ( 487003.996, 4762455.413, 0, 0) - ( 486733.537, 4763250.896, 0, 0) - ( 486805.854, 4763275.483, 0, 0) - ( 487076.312, 4762480.000, 0, 0) - -Shape:13 (Polygon) nVertices=5, nParts=1 - Bounds:( 486440.735, 4762331.029, 0, 0) - to ( 486772.281, 4763075.311, 0, 0) - ( 486772.281, 4762357.000, 0, 0) Ring - ( 486700.450, 4762331.029, 0, 0) - ( 486440.735, 4763049.339, 0, 0) - ( 486512.566, 4763075.311, 0, 0) - ( 486772.281, 4762357.000, 0, 0) - -Shape:14 (Polygon) nVertices=5, nParts=1 - Bounds:( 486383.882, 4762986.530, 0, 0) - to ( 486521.594, 4763227.908, 0, 0) - ( 486521.594, 4763008.000, 0, 0) Ring - ( 486448.291, 4762986.530, 0, 0) - ( 486383.882, 4763206.438, 0, 0) - ( 486457.184, 4763227.908, 0, 0) - ( 486521.594, 4763008.000, 0, 0) - -Shape:15 (Polygon) nVertices=9, nParts=1 - Bounds:( 486360.416, 4762774.310, 0, 0) - to ( 486800.882, 4763656.208, 0, 0) - ( 486489.594, 4763600.000, 0, 0) Ring - ( 486541.313, 4763656.208, 0, 0) - ( 486762.057, 4763453.094, 0, 0) - ( 486800.882, 4763266.659, 0, 0) - ( 486420.883, 4762774.310, 0, 0) - ( 486360.416, 4762820.979, 0, 0) - ( 486718.938, 4763285.500, 0, 0) - ( 486692.281, 4763413.500, 0, 0) - ( 486489.594, 4763600.000, 0, 0) - -Shape:16 (Polygon) nVertices=5, nParts=1 - Bounds:( 486682.872, 4762181.000, 0, 0) - to ( 487292.496, 4762415.463, 0, 0) - ( 486702.969, 4762181.000, 0, 0) Ring - ( 486682.872, 4762254.691, 0, 0) - ( 487272.400, 4762415.463, 0, 0) - ( 487292.496, 4762341.772, 0, 0) - ( 486702.969, 4762181.000, 0, 0) - -Shape:17 (Polygon) nVertices=5, nParts=1 - Bounds:( 487480.713, 4762283.320, 0, 0) - to ( 487732.406, 4762812.552, 0, 0) - ( 487732.406, 4762309.000, 0, 0) Ring - ( 487660.470, 4762283.320, 0, 0) - ( 487480.713, 4762786.872, 0, 0) - ( 487552.649, 4762812.552, 0, 0) - ( 487732.406, 4762309.000, 0, 0) - -Shape:18 (Polygon) nVertices=5, nParts=1 - Bounds:( 487069.757, 4763685.709, 0, 0) - to ( 487220.344, 4763927.145, 0, 0) - ( 487220.344, 4763712.000, 0, 0) Ring - ( 487148.629, 4763685.709, 0, 0) - ( 487069.757, 4763900.854, 0, 0) - ( 487141.471, 4763927.145, 0, 0) - ( 487220.344, 4763712.000, 0, 0) - -Shape:19 (Polygon) nVertices=9, nParts=1 - Bounds:( 487854.719, 4758279.000, 0, 0) - to ( 488518.085, 4758475.003, 0, 0) - ( 487854.719, 4758404.000, 0, 0) Ring - ( 487882.875, 4758475.003, 0, 0) - ( 488183.362, 4758355.845, 0, 0) - ( 488341.273, 4758360.840, 0, 0) - ( 488515.420, 4758366.919, 0, 0) - ( 488518.085, 4758290.583, 0, 0) - ( 488343.812, 4758284.500, 0, 0) - ( 488169.938, 4758279.000, 0, 0) - ( 487854.719, 4758404.000, 0, 0) - -Shape:20 (Polygon) nVertices=5, nParts=1 - Bounds:( 486300.557, 4758366.000, 0, 0) - to ( 486613.245, 4758546.262, 0, 0) - ( 486327.781, 4758366.000, 0, 0) Ring - ( 486300.557, 4758437.366, 0, 0) - ( 486586.021, 4758546.262, 0, 0) - ( 486613.245, 4758474.896, 0, 0) - ( 486327.781, 4758366.000, 0, 0) - -Shape:21 (Polygon) nVertices=5, nParts=1 - Bounds:( 486709.618, 4758518.000, 0, 0) - to ( 486949.999, 4758681.145, 0, 0) - ( 486740.750, 4758518.000, 0, 0) Ring - ( 486709.618, 4758587.750, 0, 0) - ( 486918.867, 4758681.145, 0, 0) - ( 486949.999, 4758611.396, 0, 0) - ( 486740.750, 4758518.000, 0, 0) - -Shape:22 (Polygon) nVertices=5, nParts=1 - Bounds:( 487325.398, 4757807.034, 0, 0) - to ( 487555.844, 4758263.402, 0, 0) - ( 487555.844, 4757833.500, 0, 0) Ring - ( 487484.193, 4757807.034, 0, 0) - ( 487325.398, 4758236.937, 0, 0) - ( 487397.049, 4758263.402, 0, 0) - ( 487555.844, 4757833.500, 0, 0) - -Shape:23 (Polygon) nVertices=5, nParts=1 - Bounds:( 487255.256, 4758215.573, 0, 0) - to ( 487387.406, 4758456.611, 0, 0) - ( 487387.406, 4758235.000, 0, 0) Ring - ( 487313.536, 4758215.573, 0, 0) - ( 487255.256, 4758437.184, 0, 0) - ( 487329.126, 4758456.611, 0, 0) - ( 487387.406, 4758235.000, 0, 0) - -Shape:24 (Polygon) nVertices=5, nParts=1 - Bounds:( 487248.714, 4758360.500, 0, 0) - to ( 487559.687, 4758550.761, 0, 0) - ( 487278.719, 4758360.500, 0, 0) Ring - ( 487248.714, 4758430.742, 0, 0) - ( 487529.682, 4758550.761, 0, 0) - ( 487559.687, 4758480.519, 0, 0) - ( 487278.719, 4758360.500, 0, 0) - -Shape:25 (Polygon) nVertices=5, nParts=1 - Bounds:( 487573.994, 4758496.500, 0, 0) - to ( 487815.502, 4758644.603, 0, 0) - ( 487599.344, 4758496.500, 0, 0) Ring - ( 487573.994, 4758568.553, 0, 0) - ( 487790.152, 4758644.603, 0, 0) - ( 487815.502, 4758572.550, 0, 0) - ( 487599.344, 4758496.500, 0, 0) -------------------------------------------------------------------------- -Test 2: dump brklinz.shp -------------------------------------------------------------------------- -Shapefile Type: ArcZ # of Shapes: 122 - -File Bounds: ( 6294338.260, 1978444.010,0,0) - to ( 6296321.860, 1979694.450,0,0) - -Shape:0 (ArcZ) nVertices=92, nParts=1 - Bounds:( 6294700.210, 1978579.390, 818.64, 0) - to ( 6295395.930, 1979050.330, 917.86, 0) - ( 6295372.750, 1978755.830, 823.06, 0) Ring - ( 6295366.170, 1978739.190, 826.58, 0) - ( 6295360.400, 1978718.540, 829.2, 0) - ( 6295352.620, 1978697.000, 832.22, 0) - ( 6295345.960, 1978677.040, 834.64, 0) - ( 6295339.690, 1978656.810, 838.51, 0) - ( 6295335.040, 1978637.600, 840.94, 0) - ( 6295331.080, 1978621.450, 844.48, 0) - ( 6295324.350, 1978607.940, 847.04, 0) - ( 6295313.370, 1978598.450, 850.38, 0) - ( 6295296.780, 1978594.950, 853.27, 0) - ( 6295273.800, 1978594.990, 858.06, 0) - ( 6295251.750, 1978595.380, 861.53, 0) - ( 6295232.340, 1978598.400, 864.22, 0) - ( 6295206.740, 1978606.390, 866.38, 0) - ( 6295180.610, 1978616.970, 868.15, 0) - ( 6295156.350, 1978630.540, 870.65, 0) - ( 6295132.270, 1978645.210, 872.02, 0) - ( 6295111.070, 1978659.740, 875.17, 0) - ( 6295090.030, 1978674.920, 878.84, 0) - ( 6295071.060, 1978689.340, 882.06, 0) - ( 6295051.900, 1978705.080, 886.98, 0) - ( 6295036.460, 1978719.260, 889.66, 0) - ( 6295023.620, 1978732.910, 893.53, 0) - ( 6295010.450, 1978750.380, 895.24, 0) - ( 6294999.910, 1978767.850, 897.47, 0) - ( 6294989.810, 1978783.860, 900.29, 0) - ( 6294975.040, 1978795.570, 902.45, 0) - ( 6294956.300, 1978806.830, 906.32, 0) - ( 6294937.260, 1978814.620, 909.21, 0) - ( 6294919.240, 1978821.960, 912.88, 0) - ( 6294897.040, 1978832.210, 915.04, 0) - ( 6294878.070, 1978844.070, 916.49, 0) - ( 6294865.010, 1978855.820, 917.34, 0) - ( 6294859.560, 1978870.150, 916.81, 0) - ( 6294861.520, 1978882.920, 916.62, 0) - ( 6294874.640, 1978906.220, 917.86, 0) - ( 6294886.980, 1978926.880, 917.6, 0) - ( 6294889.630, 1978953.270, 917.54, 0) - ( 6294888.520, 1978978.280, 916.88, 0) - ( 6294880.350, 1978998.390, 915.96, 0) - ( 6294866.540, 1979018.920, 915.57, 0) - ( 6294843.270, 1979039.140, 915.57, 0) - ( 6294812.250, 1979049.040, 915.96, 0) - ( 6294777.640, 1979050.330, 916.75, 0) - ( 6294752.060, 1979040.520, 916.68, 0) - ( 6294730.990, 1979028.850, 916.62, 0) - ( 6294716.690, 1979008.420, 916.62, 0) - ( 6294706.050, 1978987.490, 916.95, 0) - ( 6294700.210, 1978965.390, 916.95, 0) - ( 6294700.520, 1978937.670, 917.01, 0) - ( 6294712.060, 1978911.340, 916.95, 0) - ( 6294724.820, 1978893.560, 916.62, 0) - ( 6294741.630, 1978878.010, 916.36, 0) - ( 6294759.360, 1978865.090, 916.36, 0) - ( 6294777.650, 1978855.370, 916.22, 0) - ( 6294807.570, 1978846.970, 916.36, 0) - ( 6294837.640, 1978836.590, 916.55, 0) - ( 6294858.650, 1978831.390, 916.29, 0) - ( 6294878.860, 1978825.840, 915.37, 0) - ( 6294897.630, 1978817.860, 913.67, 0) - ( 6294914.550, 1978809.520, 910.78, 0) - ( 6294932.380, 1978798.580, 907.17, 0) - ( 6294947.360, 1978788.370, 904.42, 0) - ( 6294960.500, 1978778.120, 901.86, 0) - ( 6294974.780, 1978761.900, 898.78, 0) - ( 6294988.510, 1978747.610, 895.7, 0) - ( 6295005.230, 1978730.220, 892.81, 0) - ( 6295023.560, 1978713.470, 889.34, 0) - ( 6295043.310, 1978696.320, 885.07, 0) - ( 6295061.830, 1978680.810, 881.47, 0) - ( 6295080.970, 1978664.550, 877.79, 0) - ( 6295104.570, 1978648.190, 874.58, 0) - ( 6295126.310, 1978633.890, 872.09, 0) - ( 6295149.840, 1978618.720, 869.6, 0) - ( 6295173.840, 1978605.030, 867.37, 0) - ( 6295198.110, 1978594.150, 866.12, 0) - ( 6295222.830, 1978586.990, 865.2, 0) - ( 6295243.030, 1978583.810, 863.5, 0) - ( 6295268.110, 1978581.290, 860.35, 0) - ( 6295291.530, 1978579.390, 856.48, 0) - ( 6295313.200, 1978582.040, 852.42, 0) - ( 6295329.170, 1978591.410, 848.81, 0) - ( 6295339.780, 1978603.880, 845.07, 0) - ( 6295345.640, 1978621.110, 842.12, 0) - ( 6295351.070, 1978642.970, 838.32, 0) - ( 6295357.250, 1978666.560, 834.77, 0) - ( 6295367.290, 1978691.000, 831.89, 0) - ( 6295376.030, 1978718.470, 828.09, 0) - ( 6295383.930, 1978744.860, 824.35, 0) - ( 6295389.990, 1978768.720, 821.33, 0) - ( 6295395.930, 1978790.090, 818.64, 0) - -Shape:1 (ArcZ) nVertices=9, nParts=1 - Bounds:( 6295218.470, 1978444.010, 864.55, 0) - to ( 6295330.760, 1978581.880, 882.45, 0) - ( 6295330.760, 1978444.010, 882.45, 0) Ring - ( 6295306.050, 1978461.190, 880.94, 0) - ( 6295280.210, 1978482.710, 878.52, 0) - ( 6295258.180, 1978504.050, 875.89, 0) - ( 6295239.910, 1978524.670, 871.89, 0) - ( 6295225.650, 1978546.540, 869.53, 0) - ( 6295218.470, 1978565.550, 866.97, 0) - ( 6295223.960, 1978575.510, 865.27, 0) - ( 6295230.580, 1978581.880, 864.55, 0) - -Shape:2 (ArcZ) nVertices=10, nParts=1 - Bounds:( 6295199.220, 1978444.010, 866.32, 0) - to ( 6295309.040, 1978588.800, 882.08, 0) - ( 6295200.070, 1978588.800, 866.32, 0) Ring - ( 6295199.220, 1978571.840, 867.24, 0) - ( 6295200.770, 1978555.740, 868.88, 0) - ( 6295207.890, 1978538.040, 869.86, 0) - ( 6295223.020, 1978520.530, 870.84, 0) - ( 6295239.450, 1978502.440, 874.06, 0) - ( 6295258.050, 1978483.440, 876.48, 0) - ( 6295268.990, 1978473.760, 879.17, 0) - ( 6295285.710, 1978461.560, 880.55, 0) - ( 6295309.040, 1978444.010, 882.08, 0) - -Shape:3 (ArcZ) nVertices=5, nParts=1 - Bounds:( 6294340.890, 1979449.280, 1031.78, 0) - to ( 6294394.080, 1979522.030, 1039.78, 0) - ( 6294394.080, 1979449.280, 1039.78, 0) Ring - ( 6294378.800, 1979469.230, 1038.73, 0) - ( 6294364.980, 1979486.740, 1037.28, 0) - ( 6294350.800, 1979504.980, 1035.12, 0) - ( 6294340.890, 1979522.030, 1031.78, 0) - -Shape:4 (ArcZ) nVertices=6, nParts=1 - Bounds:( 6294344.380, 1979583.450, 1008.04, 0) - to ( 6294354.670, 1979678.070, 1023.45, 0) - ( 6294344.380, 1979583.450, 1023.45, 0) Ring - ( 6294348.050, 1979601.580, 1019.18, 0) - ( 6294349.570, 1979621.200, 1016.5, 0) - ( 6294351.990, 1979637.890, 1012.95, 0) - ( 6294353.090, 1979657.140, 1011.51, 0) - ( 6294354.670, 1979678.070, 1008.04, 0) - -Shape:5 (ArcZ) nVertices=3, nParts=1 - Bounds:( 6294338.260, 1979628.600, 1008.63, 0) - to ( 6294341.080, 1979674.100, 1015.71, 0) - ( 6294341.080, 1979674.100, 1008.63, 0) Ring - ( 6294339.460, 1979649.880, 1011.71, 0) - ( 6294338.260, 1979628.600, 1015.71, 0) - -Shape:6 (ArcZ) nVertices=3, nParts=1 - Bounds:( 6294350.160, 1979437.980, 1038.6, 0) - to ( 6294379.980, 1979476.720, 1040.1, 0) - ( 6294350.160, 1979476.720, 1038.6, 0) Ring - ( 6294368.100, 1979454.860, 1040.1, 0) - ( 6294379.980, 1979437.980, 1039.32, 0) - -Shape:7 (ArcZ) nVertices=39, nParts=1 - Bounds:( 6295371.530, 1978758.160, 754.11, 0) - to ( 6295534.560, 1979677.750, 823.3, 0) - ( 6295534.560, 1979677.750, 779.95, 0) Ring - ( 6295534.380, 1979648.150, 778.57, 0) - ( 6295534.480, 1979605.990, 775.16, 0) - ( 6295533.970, 1979577.580, 772.21, 0) - ( 6295532.310, 1979547.260, 768.41, 0) - ( 6295532.970, 1979521.290, 763.82, 0) - ( 6295532.390, 1979496.890, 759.1, 0) - ( 6295532.940, 1979474.010, 755.49, 0) - ( 6295533.680, 1979452.180, 754.11, 0) - ( 6295533.850, 1979434.640, 754.11, 0) - ( 6295532.170, 1979409.180, 755.75, 0) - ( 6295531.580, 1979384.450, 758.7, 0) - ( 6295531.590, 1979356.090, 760.28, 0) - ( 6295530.190, 1979325.690, 761.13, 0) - ( 6295530.020, 1979291.090, 761.66, 0) - ( 6295529.210, 1979259.420, 762.7, 0) - ( 6295526.250, 1979221.610, 762.77, 0) - ( 6295524.260, 1979187.500, 763.75, 0) - ( 6295522.640, 1979155.350, 764.61, 0) - ( 6295521.540, 1979123.230, 765.33, 0) - ( 6295518.460, 1979096.000, 765.92, 0) - ( 6295511.670, 1979081.110, 767.16, 0) - ( 6295500.700, 1979064.060, 768.41, 0) - ( 6295489.330, 1979049.600, 770.11, 0) - ( 6295475.500, 1979033.100, 773.07, 0) - ( 6295462.530, 1979018.190, 775.16, 0) - ( 6295447.760, 1979001.400, 779.49, 0) - ( 6295433.380, 1978984.530, 782.9, 0) - ( 6295419.040, 1978965.820, 785.92, 0) - ( 6295409.020, 1978946.820, 790.58, 0) - ( 6295399.860, 1978923.910, 795.1, 0) - ( 6295391.010, 1978894.410, 800.94, 0) - ( 6295387.440, 1978875.550, 805.53, 0) - ( 6295382.030, 1978849.030, 809.79, 0) - ( 6295382.190, 1978828.930, 813.33, 0) - ( 6295383.570, 1978809.290, 817.4, 0) - ( 6295380.880, 1978789.860, 819.69, 0) - ( 6295375.630, 1978771.810, 822.58, 0) - ( 6295371.530, 1978758.160, 823.3, 0) - -Shape:8 (ArcZ) nVertices=35, nParts=1 - Bounds:( 6295396.480, 1978794.780, 753.98, 0) - to ( 6295549.010, 1979670.060, 818.58, 0) - ( 6295396.620, 1978794.780, 818.58, 0) Ring - ( 6295397.330, 1978816.670, 815.76, 0) - ( 6295396.480, 1978836.150, 812.22, 0) - ( 6295397.670, 1978857.110, 807.95, 0) - ( 6295401.180, 1978874.720, 804.61, 0) - ( 6295406.260, 1978897.320, 799.95, 0) - ( 6295413.580, 1978919.930, 794.77, 0) - ( 6295421.330, 1978938.190, 790.31, 0) - ( 6295431.450, 1978956.590, 786.51, 0) - ( 6295444.950, 1978974.360, 782.38, 0) - ( 6295461.420, 1978993.620, 777.66, 0) - ( 6295479.760, 1979013.510, 773.26, 0) - ( 6295494.630, 1979032.330, 771.1, 0) - ( 6295510.990, 1979052.120, 767.69, 0) - ( 6295524.170, 1979071.090, 766.84, 0) - ( 6295532.180, 1979091.890, 765.33, 0) - ( 6295536.530, 1979120.830, 764.8, 0) - ( 6295537.480, 1979150.200, 764.08, 0) - ( 6295539.470, 1979189.490, 763.43, 0) - ( 6295541.670, 1979230.490, 762.64, 0) - ( 6295541.760, 1979271.330, 761.79, 0) - ( 6295543.650, 1979306.300, 761.46, 0) - ( 6295544.470, 1979335.540, 760.47, 0) - ( 6295544.960, 1979363.490, 759.23, 0) - ( 6295545.620, 1979392.020, 757.13, 0) - ( 6295546.340, 1979419.430, 754.9, 0) - ( 6295547.120, 1979439.940, 753.98, 0) - ( 6295546.510, 1979459.150, 754.38, 0) - ( 6295545.460, 1979482.710, 757.66, 0) - ( 6295545.530, 1979507.330, 761.13, 0) - ( 6295545.610, 1979532.470, 765.59, 0) - ( 6295546.490, 1979565.520, 770.44, 0) - ( 6295547.960, 1979597.100, 775.03, 0) - ( 6295548.990, 1979628.040, 777.26, 0) - ( 6295549.010, 1979670.060, 780.15, 0) - -Shape:9 (ArcZ) nVertices=45, nParts=1 - Bounds:( 6295694.040, 1978444.010, 696.95, 0) - to ( 6296208.790, 1979687.080, 787.43, 0) - ( 6295698.400, 1979687.080, 787.43, 0) Ring - ( 6295694.040, 1979670.950, 786.31, 0) - ( 6295696.410, 1979650.280, 785.13, 0) - ( 6295700.080, 1979634.530, 784.8, 0) - ( 6295704.080, 1979620.010, 784.15, 0) - ( 6295708.420, 1979601.930, 782.44, 0) - ( 6295711.230, 1979584.790, 781.99, 0) - ( 6295712.060, 1979564.780, 780.8, 0) - ( 6295710.550, 1979537.480, 779.69, 0) - ( 6295711.290, 1979508.020, 777.59, 0) - ( 6295710.010, 1979477.420, 776.08, 0) - ( 6295709.300, 1979442.530, 773.59, 0) - ( 6295709.160, 1979413.640, 772.21, 0) - ( 6295707.090, 1979372.570, 769.46, 0) - ( 6295708.140, 1979336.210, 767.49, 0) - ( 6295709.710, 1979297.130, 764.67, 0) - ( 6295710.960, 1979272.310, 763.29, 0) - ( 6295714.640, 1979241.200, 761.2, 0) - ( 6295719.050, 1979211.560, 759.82, 0) - ( 6295724.280, 1979179.840, 758.31, 0) - ( 6295729.460, 1979152.460, 756.74, 0) - ( 6295735.770, 1979126.530, 754.44, 0) - ( 6295744.970, 1979095.400, 752.87, 0) - ( 6295755.820, 1979063.140, 750.31, 0) - ( 6295767.590, 1979028.330, 747.62, 0) - ( 6295782.240, 1978993.450, 744.21, 0) - ( 6295801.580, 1978952.420, 741.26, 0) - ( 6295825.730, 1978905.370, 736.87, 0) - ( 6295842.330, 1978877.810, 734.7, 0) - ( 6295859.110, 1978851.150, 731.55, 0) - ( 6295875.620, 1978827.010, 729.52, 0) - ( 6295899.080, 1978794.830, 727.42, 0) - ( 6295923.640, 1978763.720, 724.34, 0) - ( 6295949.340, 1978734.180, 721.39, 0) - ( 6295975.020, 1978704.320, 718.57, 0) - ( 6296000.320, 1978677.440, 716.01, 0) - ( 6296026.940, 1978648.120, 713.45, 0) - ( 6296053.500, 1978617.500, 709.78, 0) - ( 6296078.620, 1978589.630, 706.9, 0) - ( 6296098.880, 1978566.880, 704.47, 0) - ( 6296126.050, 1978537.930, 702.37, 0) - ( 6296150.670, 1978507.990, 700.14, 0) - ( 6296179.280, 1978476.280, 698.7, 0) - ( 6296208.030, 1978444.880, 696.99, 0) - ( 6296208.790, 1978444.010, 696.95, 0) - -Shape:10 (ArcZ) nVertices=10, nParts=1 - Bounds:( 6296270.060, 1979014.970, 712.54, 0) - to ( 6296315.990, 1979152.310, 725.13, 0) - ( 6296306.110, 1979152.310, 725.13, 0) Ring - ( 6296288.270, 1979139.690, 723.42, 0) - ( 6296276.630, 1979122.410, 721.98, 0) - ( 6296270.060, 1979101.470, 719.95, 0) - ( 6296270.390, 1979084.580, 719.36, 0) - ( 6296275.110, 1979068.970, 717.26, 0) - ( 6296284.280, 1979052.820, 716.41, 0) - ( 6296294.680, 1979040.410, 715.49, 0) - ( 6296305.720, 1979027.370, 713.59, 0) - ( 6296315.990, 1979014.970, 712.54, 0) - -Shape:11 (ArcZ) nVertices=18, nParts=1 - Bounds:( 6296044.930, 1978451.120, 690.11, 0) - to ( 6296312.920, 1978679.190, 713.72, 0) - ( 6296312.920, 1978493.560, 690.11, 0) Ring - ( 6296301.160, 1978479.050, 690.9, 0) - ( 6296287.840, 1978464.950, 692.4, 0) - ( 6296276.430, 1978454.890, 693.58, 0) - ( 6296262.580, 1978451.120, 694.44, 0) - ( 6296249.650, 1978452.500, 694.9, 0) - ( 6296237.110, 1978461.670, 696.08, 0) - ( 6296223.600, 1978477.650, 697.78, 0) - ( 6296209.320, 1978493.930, 698.7, 0) - ( 6296193.640, 1978511.140, 699.16, 0) - ( 6296176.980, 1978529.710, 700.6, 0) - ( 6296157.700, 1978550.970, 701.98, 0) - ( 6296136.720, 1978574.950, 703.49, 0) - ( 6296121.400, 1978591.550, 705.39, 0) - ( 6296102.290, 1978613.590, 707.36, 0) - ( 6296084.440, 1978634.580, 709.13, 0) - ( 6296065.890, 1978654.760, 711.29, 0) - ( 6296044.930, 1978679.190, 713.72, 0) - -Shape:12 (ArcZ) nVertices=71, nParts=1 - Bounds:( 6295741.070, 1978679.190, 713.72, 0) - to ( 6296321.860, 1979680.370, 813.79, 0) - ( 6296044.930, 1978679.190, 713.72, 0) Ring - ( 6296025.660, 1978700.780, 716.6, 0) - ( 6296006.480, 1978721.510, 718.37, 0) - ( 6295987.070, 1978742.720, 721, 0) - ( 6295970.410, 1978761.420, 722.44, 0) - ( 6295953.490, 1978780.070, 724.28, 0) - ( 6295932.470, 1978805.820, 726.44, 0) - ( 6295913.490, 1978830.550, 728.67, 0) - ( 6295896.490, 1978855.310, 731.16, 0) - ( 6295881.220, 1978878.070, 733.39, 0) - ( 6295867.710, 1978899.180, 734.7, 0) - ( 6295853.950, 1978923.310, 737, 0) - ( 6295839.810, 1978950.030, 739.56, 0) - ( 6295825.270, 1978979.390, 742.11, 0) - ( 6295809.100, 1979015.600, 745.46, 0) - ( 6295796.940, 1979045.170, 748.02, 0) - ( 6295785.770, 1979078.900, 750.97, 0) - ( 6295777.080, 1979104.550, 752.54, 0) - ( 6295768.950, 1979133.460, 754.84, 0) - ( 6295762.170, 1979163.090, 756.87, 0) - ( 6295755.640, 1979194.930, 758.9, 0) - ( 6295750.610, 1979225.390, 760.48, 0) - ( 6295746.300, 1979259.750, 762.64, 0) - ( 6295743.320, 1979291.750, 764.54, 0) - ( 6295741.650, 1979321.060, 766.64, 0) - ( 6295741.070, 1979353.790, 768.54, 0) - ( 6295741.170, 1979384.450, 770.71, 0) - ( 6295742.010, 1979419.210, 772.48, 0) - ( 6295743.010, 1979454.740, 774.44, 0) - ( 6295743.910, 1979493.310, 776.94, 0) - ( 6295744.990, 1979530.290, 778.97, 0) - ( 6295745.900, 1979569.120, 781.46, 0) - ( 6295745.940, 1979603.910, 783.3, 0) - ( 6295747.600, 1979636.660, 785.85, 0) - ( 6295751.850, 1979653.260, 787.49, 0) - ( 6295760.490, 1979665.820, 788.87, 0) - ( 6295773.510, 1979673.830, 790.18, 0) - ( 6295788.460, 1979676.100, 791.95, 0) - ( 6295823.990, 1979674.960, 793.46, 0) - ( 6295871.620, 1979674.070, 796.94, 0) - ( 6295918.980, 1979673.120, 798.97, 0) - ( 6295971.200, 1979672.130, 802.25, 0) - ( 6296019.370, 1979671.600, 803.95, 0) - ( 6296054.350, 1979670.030, 805.92, 0) - ( 6296074.580, 1979662.250, 806.58, 0) - ( 6296085.660, 1979647.700, 806.97, 0) - ( 6296089.370, 1979635.300, 807.69, 0) - ( 6296086.380, 1979620.160, 808.61, 0) - ( 6296080.060, 1979601.690, 810.32, 0) - ( 6296074.440, 1979583.990, 811.17, 0) - ( 6296070.250, 1979568.770, 812.22, 0) - ( 6296072.470, 1979552.830, 812.94, 0) - ( 6296083.220, 1979536.790, 813.46, 0) - ( 6296102.650, 1979531.410, 813.79, 0) - ( 6296121.290, 1979536.450, 813.73, 0) - ( 6296133.190, 1979548.520, 813.2, 0) - ( 6296138.010, 1979563.380, 812.61, 0) - ( 6296135.460, 1979580.580, 811.37, 0) - ( 6296129.950, 1979598.850, 810.18, 0) - ( 6296124.490, 1979618.170, 809.46, 0) - ( 6296122.100, 1979635.880, 808.35, 0) - ( 6296126.820, 1979651.410, 807.36, 0) - ( 6296136.390, 1979661.360, 806.51, 0) - ( 6296149.630, 1979666.080, 806.05, 0) - ( 6296163.380, 1979667.880, 805.73, 0) - ( 6296186.080, 1979667.460, 805.14, 0) - ( 6296215.190, 1979666.580, 805, 0) - ( 6296247.690, 1979667.830, 803.5, 0) - ( 6296273.580, 1979670.850, 802.32, 0) - ( 6296295.410, 1979674.090, 800.68, 0) - ( 6296321.860, 1979680.370, 799.23, 0) - -Shape:13 (ArcZ) nVertices=6, nParts=1 - Bounds:( 6295372.650, 1979608.700, 773.19, 0) - to ( 6295470.330, 1979679.550, 780.15, 0) - ( 6295372.650, 1979679.550, 780.15, 0) Ring - ( 6295387.140, 1979664.770, 777.85, 0) - ( 6295406.650, 1979645.400, 776.21, 0) - ( 6295422.760, 1979631.580, 775.29, 0) - ( 6295442.800, 1979612.190, 773.65, 0) - ( 6295470.330, 1979608.700, 773.19, 0) - -Shape:14 (ArcZ) nVertices=7, nParts=1 - Bounds:( 6295415.710, 1979491.540, 772.08, 0) - to ( 6295453.550, 1979590.190, 773.85, 0) - ( 6295453.550, 1979590.110, 772.09, 0) Ring - ( 6295453.110, 1979590.190, 772.08, 0) - ( 6295439.430, 1979579.260, 772.74, 0) - ( 6295430.870, 1979552.770, 772.93, 0) - ( 6295420.940, 1979527.860, 773.19, 0) - ( 6295415.710, 1979510.070, 773.79, 0) - ( 6295421.080, 1979491.540, 773.85, 0) - -Shape:15 (ArcZ) nVertices=9, nParts=1 - Bounds:( 6295351.240, 1979521.410, 773, 0) - to ( 6295430.330, 1979692.520, 782.11, 0) - ( 6295395.270, 1979521.410, 774.51, 0) Ring - ( 6295415.880, 1979549.790, 773.85, 0) - ( 6295426.030, 1979579.220, 773, 0) - ( 6295430.330, 1979604.610, 773.06, 0) - ( 6295418.610, 1979622.140, 774.31, 0) - ( 6295398.970, 1979639.020, 776.34, 0) - ( 6295382.220, 1979655.690, 778.31, 0) - ( 6295365.040, 1979674.420, 780.15, 0) - ( 6295351.240, 1979692.520, 782.11, 0) - -Shape:16 (ArcZ) nVertices=28, nParts=1 - Bounds:( 6294520.270, 1979256.990, 932.36, 0) - to ( 6294743.290, 1979675.030, 1016.69, 0) - ( 6294531.940, 1979675.030, 932.36, 0) Ring - ( 6294523.870, 1979650.550, 933.54, 0) - ( 6294520.270, 1979620.920, 936.75, 0) - ( 6294525.030, 1979592.840, 940.29, 0) - ( 6294533.880, 1979567.770, 942.98, 0) - ( 6294546.040, 1979543.320, 949.28, 0) - ( 6294564.140, 1979524.750, 951.64, 0) - ( 6294585.590, 1979515.130, 956.36, 0) - ( 6294611.810, 1979503.890, 959.38, 0) - ( 6294635.130, 1979494.900, 966.2, 0) - ( 6294662.590, 1979487.470, 969.41, 0) - ( 6294687.540, 1979482.070, 971.77, 0) - ( 6294710.180, 1979470.160, 976.75, 0) - ( 6294732.150, 1979450.140, 978.53, 0) - ( 6294743.290, 1979431.460, 981.94, 0) - ( 6294738.700, 1979402.930, 984.69, 0) - ( 6294731.290, 1979380.980, 986.79, 0) - ( 6294717.670, 1979358.290, 988.3, 0) - ( 6294706.340, 1979342.050, 991.38, 0) - ( 6294697.140, 1979315.920, 996.76, 0) - ( 6294696.360, 1979292.580, 1000.17, 0) - ( 6294691.930, 1979275.010, 1002.4, 0) - ( 6294681.970, 1979259.950, 1004.76, 0) - ( 6294665.150, 1979256.990, 1006.53, 0) - ( 6294638.580, 1979258.930, 1010.33, 0) - ( 6294617.350, 1979259.730, 1012.76, 0) - ( 6294592.000, 1979262.260, 1015.32, 0) - ( 6294572.550, 1979262.000, 1016.69, 0) - -Shape:17 (ArcZ) nVertices=43, nParts=1 - Bounds:( 6294466.100, 1979253.610, 930.98, 0) - to ( 6294720.520, 1979678.410, 1018.46, 0) - ( 6294572.550, 1979262.000, 1016.69, 0) Ring - ( 6294549.640, 1979260.720, 1017.48, 0) - ( 6294522.440, 1979260.520, 1017.48, 0) - ( 6294472.060, 1979253.610, 1016.63, 0) - ( 6294469.530, 1979302.330, 1017.15, 0) - ( 6294466.100, 1979341.240, 1016.63, 0) - ( 6294469.480, 1979374.290, 1016.5, 0) - ( 6294506.640, 1979382.010, 1016.96, 0) - ( 6294538.320, 1979377.390, 1016.89, 0) - ( 6294581.400, 1979377.510, 1017.74, 0) - ( 6294603.050, 1979366.770, 1017.74, 0) - ( 6294597.820, 1979338.470, 1018, 0) - ( 6294587.060, 1979307.490, 1018.46, 0) - ( 6294579.280, 1979283.460, 1017.87, 0) - ( 6294593.320, 1979278.020, 1016.36, 0) - ( 6294613.160, 1979275.640, 1013.15, 0) - ( 6294634.390, 1979274.630, 1009.54, 0) - ( 6294650.590, 1979272.960, 1006.4, 0) - ( 6294666.970, 1979274.830, 1003.77, 0) - ( 6294675.710, 1979289.290, 1001.81, 0) - ( 6294681.310, 1979309.230, 998.13, 0) - ( 6294686.190, 1979327.900, 995.64, 0) - ( 6294692.280, 1979346.960, 991.64, 0) - ( 6294699.730, 1979367.200, 989.08, 0) - ( 6294709.530, 1979384.310, 985.74, 0) - ( 6294716.160, 1979401.370, 983.25, 0) - ( 6294720.520, 1979414.810, 980.1, 0) - ( 6294718.980, 1979441.480, 978, 0) -------------------------------------------------------------------------- -Test 3: dump polygon.shp -------------------------------------------------------------------------- -Shapefile Type: Polygon # of Shapes: 474 - -File Bounds: ( 471127.188, 4751545.000,0,0) - to ( 489292.312, 4765610.500,0,0) - -Shape:0 (Polygon) nVertices=20, nParts=1 - Bounds:( 479647.000, 4764856.500, 0, 0) - to ( 480389.688, 4765610.500, 0, 0) - ( 479819.844, 4765180.500, 0, 0) Ring - ( 479690.188, 4765259.500, 0, 0) - ( 479647.000, 4765369.500, 0, 0) - ( 479730.375, 4765400.500, 0, 0) - ( 480039.031, 4765539.500, 0, 0) - ( 480035.344, 4765558.500, 0, 0) - ( 480159.781, 4765610.500, 0, 0) - ( 480202.281, 4765482.000, 0, 0) - ( 480365.000, 4765015.500, 0, 0) - ( 480389.688, 4764950.000, 0, 0) - ( 480133.969, 4764856.500, 0, 0) - ( 480080.281, 4764979.500, 0, 0) - ( 480082.969, 4765049.500, 0, 0) - ( 480088.812, 4765139.500, 0, 0) - ( 480059.906, 4765239.500, 0, 0) - ( 480019.719, 4765319.500, 0, 0) - ( 479980.219, 4765409.500, 0, 0) - ( 479909.875, 4765370.000, 0, 0) - ( 479859.875, 4765270.000, 0, 0) - ( 479819.844, 4765180.500, 0, 0) - -Shape:1 (Polygon) nVertices=20, nParts=1 - Bounds:( 479014.938, 4764879.000, 0, 0) - to ( 480039.031, 4765558.500, 0, 0) - ( 480035.344, 4765558.500, 0, 0) Ring - ( 480039.031, 4765539.500, 0, 0) - ( 479730.375, 4765400.500, 0, 0) - ( 479647.000, 4765369.500, 0, 0) - ( 479690.188, 4765259.500, 0, 0) - ( 479819.844, 4765180.500, 0, 0) - ( 479779.844, 4765109.500, 0, 0) - ( 479681.781, 4764940.000, 0, 0) - ( 479468.000, 4764942.500, 0, 0) - ( 479411.438, 4764940.500, 0, 0) - ( 479353.000, 4764939.500, 0, 0) - ( 479208.656, 4764882.500, 0, 0) - ( 479196.812, 4764879.000, 0, 0) - ( 479123.281, 4765015.000, 0, 0) - ( 479046.531, 4765117.000, 0, 0) - ( 479029.719, 4765110.500, 0, 0) - ( 479014.938, 4765147.500, 0, 0) - ( 479149.938, 4765200.500, 0, 0) - ( 479639.625, 4765399.500, 0, 0) - ( 480035.344, 4765558.500, 0, 0) - -Shape:2 (Polygon) nVertices=54, nParts=1 - Bounds:( 480882.688, 4763472.500, 0, 0) - to ( 484519.969, 4765410.000, 0, 0) - ( 481575.000, 4764999.500, 0, 0) Ring - ( 481542.312, 4765097.500, 0, 0) - ( 481443.688, 4765387.500, 0, 0) - ( 481499.656, 4765410.000, 0, 0) - ( 481631.000, 4765031.000, 0, 0) - ( 481693.312, 4764853.000, 0, 0) - ( 481759.281, 4764889.500, 0, 0) - ( 481860.031, 4764920.000, 0, 0) - ( 482002.969, 4764910.000, 0, 0) - ( 482180.094, 4764909.500, 0, 0) - ( 482359.812, 4764960.000, 0, 0) - ( 482510.500, 4765065.000, 0, 0) - ( 482619.906, 4765080.500, 0, 0) - ( 482809.500, 4765090.000, 0, 0) - ( 483189.812, 4765084.500, 0, 0) - ( 483330.312, 4765105.500, 0, 0) - ( 483591.094, 4765260.000, 0, 0) - ( 483700.500, 4765280.000, 0, 0) - ( 483799.938, 4765270.000, 0, 0) - ( 484039.844, 4765280.500, 0, 0) - ( 484115.688, 4765300.000, 0, 0) - ( 484120.625, 4765280.000, 0, 0) - ( 484131.125, 4765260.000, 0, 0) - ( 484167.844, 4765271.000, 0, 0) - ( 484277.875, 4765015.500, 0, 0) - ( 484455.062, 4764500.000, 0, 0) - ( 484519.969, 4764345.000, 0, 0) - ( 484482.031, 4764332.000, 0, 0) - ( 483904.719, 4764113.500, 0, 0) - ( 483334.844, 4763905.000, 0, 0) - ( 482941.031, 4763760.500, 0, 0) - ( 482590.719, 4763624.500, 0, 0) - ( 482185.656, 4763472.500, 0, 0) - ( 482009.844, 4763980.500, 0, 0) - ( 481960.438, 4764099.500, 0, 0) - ( 481767.500, 4764014.500, 0, 0) - ( 480955.500, 4763700.000, 0, 0) - ( 480882.688, 4763670.000, 0, 0) - ( 481039.938, 4763889.500, 0, 0) - ( 481130.312, 4763979.500, 0, 0) - ( 481143.438, 4764010.500, 0, 0) - ( 481199.844, 4764180.000, 0, 0) - ( 481141.625, 4764480.500, 0, 0) - ( 481140.469, 4764510.500, 0, 0) - ( 481159.938, 4764580.000, 0, 0) - ( 481185.500, 4764607.000, 0, 0) - ( 481199.219, 4764623.500, 0, 0) - ( 481209.812, 4764633.500, 0, 0) - ( 481235.312, 4764650.000, 0, 0) - ( 481635.969, 4764795.500, 0, 0) - ( 481645.312, 4764797.500, 0, 0) - ( 481629.844, 4764829.500, 0, 0) - ( 481602.125, 4764915.500, 0, 0) - ( 481575.000, 4764999.500, 0, 0) - -Shape:3 (Polygon) nVertices=29, nParts=1 - Bounds:( 479117.812, 4764505.000, 0, 0) - to ( 480088.812, 4765409.500, 0, 0) - ( 479819.844, 4765180.500, 0, 0) Ring - ( 479859.875, 4765270.000, 0, 0) - ( 479909.875, 4765370.000, 0, 0) - ( 479980.219, 4765409.500, 0, 0) - ( 480019.719, 4765319.500, 0, 0) - ( 480059.906, 4765239.500, 0, 0) - ( 480088.812, 4765139.500, 0, 0) - ( 480082.969, 4765049.500, 0, 0) - ( 480000.281, 4765043.000, 0, 0) - ( 479934.969, 4765020.000, 0, 0) - ( 479895.125, 4765000.000, 0, 0) - ( 479734.375, 4764865.000, 0, 0) - ( 479680.281, 4764852.000, 0, 0) - ( 479644.781, 4764827.500, 0, 0) - ( 479637.875, 4764803.000, 0, 0) - ( 479617.219, 4764760.000, 0, 0) - ( 479587.281, 4764718.000, 0, 0) - ( 479548.031, 4764693.500, 0, 0) - ( 479504.906, 4764609.500, 0, 0) - ( 479239.812, 4764505.000, 0, 0) - ( 479117.812, 4764847.000, 0, 0) - ( 479196.812, 4764879.000, 0, 0) - ( 479208.656, 4764882.500, 0, 0) - ( 479353.000, 4764939.500, 0, 0) - ( 479411.438, 4764940.500, 0, 0) - ( 479468.000, 4764942.500, 0, 0) - ( 479681.781, 4764940.000, 0, 0) - ( 479779.844, 4765109.500, 0, 0) - ( 479819.844, 4765180.500, 0, 0) - -Shape:4 (Polygon) nVertices=22, nParts=1 - Bounds:( 480537.156, 4764738.000, 0, 0) - to ( 481575.000, 4765387.500, 0, 0) - ( 480537.156, 4765014.000, 0, 0) Ring - ( 481090.281, 4765242.000, 0, 0) - ( 481443.688, 4765387.500, 0, 0) - ( 481542.312, 4765097.500, 0, 0) - ( 481575.000, 4764999.500, 0, 0) - ( 481538.906, 4764982.500, 0, 0) - ( 481509.656, 4764967.000, 0, 0) - ( 481457.375, 4764937.000, 0, 0) - ( 481465.906, 4764872.500, 0, 0) - ( 481291.094, 4764810.000, 0, 0) - ( 481281.312, 4764876.500, 0, 0) - ( 481136.844, 4764994.500, 0, 0) - ( 481088.188, 4764936.000, 0, 0) - ( 480984.250, 4764875.000, 0, 0) - ( 480930.719, 4764852.000, 0, 0) - ( 480922.031, 4764850.500, 0, 0) - ( 480824.969, 4764820.000, 0, 0) - ( 480761.469, 4764778.000, 0, 0) - ( 480701.062, 4764738.000, 0, 0) - ( 480605.000, 4764835.000, 0, 0) - ( 480567.969, 4764918.000, 0, 0) - ( 480537.156, 4765014.000, 0, 0) - -Shape:5 (Polygon) nVertices=60, nParts=1 - Bounds:( 484482.031, 4760649.500, 0, 0) - to ( 488408.281, 4765179.000, 0, 0) - ( 484482.031, 4764332.000, 0, 0) Ring - ( 484519.969, 4764345.000, 0, 0) - ( 484817.938, 4764465.500, 0, 0) - ( 485615.406, 4764770.000, 0, 0) - ( 486269.688, 4765010.000, 0, 0) - ( 486320.062, 4765024.000, 0, 0) - ( 486340.594, 4765040.000, 0, 0) - ( 486369.844, 4765050.000, 0, 0) - ( 486719.969, 4765170.000, 0, 0) - ( 486738.625, 4765179.000, 0, 0) - ( 486987.781, 4764497.500, 0, 0) - ( 487019.875, 4764384.500, 0, 0) - ( 487077.375, 4764226.500, 0, 0) - ( 487120.031, 4764100.000, 0, 0) - ( 487160.250, 4763998.000, 0, 0) - ( 487186.812, 4763922.500, 0, 0) - ( 487408.250, 4763315.500, 0, 0) - ( 487608.062, 4762780.000, 0, 0) - ( 487659.406, 4762650.000, 0, 0) - ( 487719.406, 4762480.000, 0, 0) - ( 487741.062, 4762419.500, 0, 0) - ( 487747.875, 4762395.500, 0, 0) - ( 487880.875, 4762032.000, 0, 0) - ( 487899.438, 4761975.500, 0, 0) - ( 488082.000, 4761480.000, 0, 0) - ( 488408.281, 4760649.500, 0, 0) - ( 488050.375, 4760824.500, 0, 0) - ( 487690.906, 4760802.000, 0, 0) - ( 487640.062, 4760879.500, 0, 0) - ( 487594.938, 4761023.000, 0, 0) - ( 487341.375, 4761776.500, 0, 0) - ( 487037.125, 4761672.500, 0, 0) - ( 487005.375, 4761662.500, 0, 0) - ( 486788.219, 4761579.500, 0, 0) - ( 486822.250, 4761492.000, 0, 0) - ( 486838.312, 4761437.500, 0, 0) - ( 486841.312, 4761381.000, 0, 0) - ( 486850.562, 4761340.000, 0, 0) - ( 486810.750, 4761335.500, 0, 0) - ( 486775.438, 4761400.000, 0, 0) - ( 486710.094, 4761368.000, 0, 0) - ( 486606.188, 4761330.000, 0, 0) - ( 486548.656, 4761488.000, 0, 0) - ( 486380.656, 4761428.500, 0, 0) - ( 486152.906, 4761348.000, 0, 0) - ( 485900.250, 4761250.500, 0, 0) - ( 485666.875, 4761156.500, 0, 0) - ( 485585.875, 4761374.500, 0, 0) - ( 485564.875, 4761444.500, 0, 0) - ( 485496.219, 4761614.500, 0, 0) - ( 485438.688, 4761760.500, 0, 0) - ( 485264.969, 4762222.500, 0, 0) - ( 485192.688, 4762439.000, 0, 0) - ( 485175.406, 4762493.500, 0, 0) - ( 484947.344, 4763100.500, 0, 0) - ( 484888.000, 4763260.500, 0, 0) - ( 484785.469, 4763560.500, 0, 0) - ( 484760.219, 4763659.500, 0, 0) - ( 484696.969, 4763734.000, 0, 0) - ( 484482.031, 4764332.000, 0, 0) - -Shape:6 (Polygon) nVertices=26, nParts=1 - Bounds:( 478315.531, 4764174.000, 0, 0) - to ( 479305.875, 4765147.500, 0, 0) - ( 479014.938, 4765147.500, 0, 0) Ring - ( 479029.719, 4765110.500, 0, 0) - ( 479117.812, 4764847.000, 0, 0) - ( 479239.812, 4764505.000, 0, 0) - ( 479305.875, 4764361.000, 0, 0) - ( 479256.031, 4764314.500, 0, 0) - ( 479220.906, 4764212.500, 0, 0) - ( 479114.500, 4764174.000, 0, 0) - ( 479018.281, 4764418.500, 0, 0) - ( 478896.938, 4764371.000, 0, 0) - ( 478748.812, 4764308.500, 0, 0) - ( 478503.031, 4764218.000, 0, 0) - ( 478461.750, 4764337.500, 0, 0) - ( 478443.938, 4764400.500, 0, 0) - ( 478447.812, 4764454.000, 0, 0) - ( 478448.688, 4764531.500, 0, 0) - ( 478502.188, 4764541.500, 0, 0) - ( 478683.000, 4764730.500, 0, 0) - ( 478621.031, 4764788.500, 0, 0) - ( 478597.344, 4764766.500, 0, 0) - ( 478532.500, 4764695.500, 0, 0) - ( 478460.125, 4764615.000, 0, 0) - ( 478408.062, 4764654.000, 0, 0) - ( 478315.531, 4764876.000, 0, 0) - ( 478889.250, 4765100.000, 0, 0) - ( 479014.938, 4765147.500, 0, 0) - -Shape:7 (Polygon) nVertices=6, nParts=1 - Bounds:( 479029.719, 4764847.000, 0, 0) - to ( 479196.812, 4765117.000, 0, 0) - ( 479029.719, 4765110.500, 0, 0) Ring - ( 479046.531, 4765117.000, 0, 0) - ( 479123.281, 4765015.000, 0, 0) - ( 479196.812, 4764879.000, 0, 0) - ( 479117.812, 4764847.000, 0, 0) - ( 479029.719, 4765110.500, 0, 0) - -Shape:8 (Polygon) nVertices=20, nParts=1 - Bounds:( 479504.906, 4764609.500, 0, 0) - to ( 480133.969, 4765049.500, 0, 0) - ( 480082.969, 4765049.500, 0, 0) Ring - ( 480080.281, 4764979.500, 0, 0) - ( 480133.969, 4764856.500, 0, 0) - ( 479968.469, 4764788.000, 0, 0) - ( 479750.688, 4764702.000, 0, 0) - ( 479735.906, 4764752.000, 0, 0) - ( 479640.094, 4764721.000, 0, 0) - ( 479658.594, 4764670.000, 0, 0) - ( 479504.906, 4764609.500, 0, 0) - ( 479548.031, 4764693.500, 0, 0) - ( 479587.281, 4764718.000, 0, 0) - ( 479617.219, 4764760.000, 0, 0) - ( 479637.875, 4764803.000, 0, 0) - ( 479644.781, 4764827.500, 0, 0) - ( 479680.281, 4764852.000, 0, 0) - ( 479734.375, 4764865.000, 0, 0) - ( 479895.125, 4765000.000, 0, 0) - ( 479934.969, 4765020.000, 0, 0) - ( 480000.281, 4765043.000, 0, 0) - ( 480082.969, 4765049.500, 0, 0) - -Shape:9 (Polygon) nVertices=31, nParts=1 - Bounds:( 479968.469, 4764183.000, 0, 0) - to ( 480731.656, 4765014.000, 0, 0) - ( 480389.688, 4764950.000, 0, 0) Ring - ( 480537.156, 4765014.000, 0, 0) - ( 480567.969, 4764918.000, 0, 0) - ( 480605.000, 4764835.000, 0, 0) - ( 480701.062, 4764738.000, 0, 0) - ( 480710.250, 4764690.500, 0, 0) - ( 480588.594, 4764740.500, 0, 0) - ( 480540.719, 4764741.000, 0, 0) - ( 480515.125, 4764695.000, 0, 0) - ( 480731.656, 4764561.500, 0, 0) - ( 480692.188, 4764453.500, 0, 0) - ( 480677.844, 4764439.000, 0, 0) - ( 480655.344, 4764397.500, 0, 0) - ( 480584.375, 4764353.000, 0, 0) - ( 480500.406, 4764326.500, 0, 0) - ( 480358.531, 4764277.000, 0, 0) - ( 480192.312, 4764183.000, 0, 0) - ( 480157.125, 4764266.500, 0, 0) - ( 480234.312, 4764304.000, 0, 0) - ( 480289.125, 4764348.500, 0, 0) - ( 480316.000, 4764395.000, 0, 0) - ( 480343.562, 4764477.000, 0, 0) - ( 480343.719, 4764532.500, 0, 0) - ( 480258.031, 4764767.000, 0, 0) - ( 480177.156, 4764742.000, 0, 0) - ( 480093.750, 4764703.000, 0, 0) - ( 480011.000, 4764674.500, 0, 0) - ( 479985.062, 4764732.000, 0, 0) - ( 479968.469, 4764788.000, 0, 0) - ( 480133.969, 4764856.500, 0, 0) - ( 480389.688, 4764950.000, 0, 0) - -Shape:10 (Polygon) nVertices=61, nParts=1 - Bounds:( 479492.688, 4762880.500, 0, 0) - to ( 481645.312, 4764999.500, 0, 0) - ( 480701.062, 4764738.000, 0, 0) Ring - ( 480761.469, 4764778.000, 0, 0) - ( 480824.969, 4764820.000, 0, 0) - ( 480922.031, 4764850.500, 0, 0) - ( 480930.719, 4764852.000, 0, 0) - ( 480984.250, 4764875.000, 0, 0) - ( 481088.188, 4764936.000, 0, 0) - ( 481136.844, 4764994.500, 0, 0) - ( 481281.312, 4764876.500, 0, 0) - ( 481291.094, 4764810.000, 0, 0) - ( 481465.906, 4764872.500, 0, 0) - ( 481457.375, 4764937.000, 0, 0) - ( 481509.656, 4764967.000, 0, 0) - ( 481538.906, 4764982.500, 0, 0) - ( 481575.000, 4764999.500, 0, 0) - ( 481602.125, 4764915.500, 0, 0) - ( 481629.844, 4764829.500, 0, 0) - ( 481645.312, 4764797.500, 0, 0) - ( 481635.969, 4764795.500, 0, 0) - ( 481235.312, 4764650.000, 0, 0) - ( 481209.812, 4764633.500, 0, 0) - ( 481199.219, 4764623.500, 0, 0) - ( 481185.500, 4764607.000, 0, 0) - ( 481159.938, 4764580.000, 0, 0) - ( 481140.469, 4764510.500, 0, 0) - ( 481141.625, 4764480.500, 0, 0) - ( 481199.844, 4764180.000, 0, 0) - ( 481143.438, 4764010.500, 0, 0) - ( 481130.312, 4763979.500, 0, 0) - ( 481039.938, 4763889.500, 0, 0) - ( 480882.688, 4763670.000, 0, 0) - ( 480826.062, 4763650.500, 0, 0) - ( 480745.188, 4763628.500, 0, 0) - ( 480654.438, 4763627.500, 0, 0) - ( 480599.812, 4763660.000, 0, 0) - ( 480281.938, 4763576.500, 0, 0) - ( 480221.500, 4763533.500, 0, 0) - ( 480199.688, 4763509.000, 0, 0) - ( 480195.094, 4763430.000, 0, 0) - ( 480273.688, 4763305.500, 0, 0) - ( 480309.688, 4763063.500, 0, 0) - ( 480201.844, 4762962.500, 0, 0) - ( 479855.312, 4762880.500, 0, 0) - ( 479848.531, 4762897.000, 0, 0) - ( 479728.875, 4763217.500, 0, 0) - ( 479492.688, 4763850.000, 0, 0) - ( 479550.062, 4763919.500, 0, 0) - ( 480120.219, 4764188.500, 0, 0) - ( 480192.312, 4764183.000, 0, 0) - ( 480358.531, 4764277.000, 0, 0) - ( 480500.406, 4764326.500, 0, 0) - ( 480584.375, 4764353.000, 0, 0) - ( 480655.344, 4764397.500, 0, 0) - ( 480677.844, 4764439.000, 0, 0) - ( 480692.188, 4764453.500, 0, 0) - ( 480731.656, 4764561.500, 0, 0) - ( 480515.125, 4764695.000, 0, 0) - ( 480540.719, 4764741.000, 0, 0) - ( 480588.594, 4764740.500, 0, 0) - ( 480710.250, 4764690.500, 0, 0) - ( 480701.062, 4764738.000, 0, 0) - -Shape:11 (Polygon) nVertices=21, nParts=1 - Bounds:( 476732.906, 4763624.500, 0, 0) - to ( 478408.062, 4764876.000, 0, 0) - ( 478315.531, 4764876.000, 0, 0) Ring - ( 478408.062, 4764654.000, 0, 0) - ( 478325.250, 4764606.500, 0, 0) - ( 478220.094, 4764574.500, 0, 0) - ( 478140.344, 4764511.000, 0, 0) - ( 478065.062, 4764487.500, 0, 0) - ( 478080.938, 4764401.500, 0, 0) - ( 478110.500, 4764308.500, 0, 0) - ( 478149.969, 4764212.500, 0, 0) - ( 478180.219, 4764150.000, 0, 0) - ( 478192.500, 4764099.500, 0, 0) - ( 477893.125, 4763984.500, 0, 0) - ( 477417.031, 4763800.500, 0, 0) - ( 477005.594, 4763640.000, 0, 0) - ( 476958.312, 4763624.500, 0, 0) - ( 476947.250, 4763664.500, 0, 0) - ( 476732.906, 4764243.000, 0, 0) - ( 477322.375, 4764502.000, 0, 0) - ( 477599.906, 4764600.000, 0, 0) - ( 477949.656, 4764745.000, 0, 0) - ( 478315.531, 4764876.000, 0, 0) - -Shape:12 (Polygon) nVertices=22, nParts=1 - Bounds:( 478065.062, 4764099.500, 0, 0) - to ( 478683.000, 4764788.500, 0, 0) - ( 478408.062, 4764654.000, 0, 0) Ring - ( 478460.125, 4764615.000, 0, 0) - ( 478532.500, 4764695.500, 0, 0) - ( 478597.344, 4764766.500, 0, 0) - ( 478621.031, 4764788.500, 0, 0) - ( 478683.000, 4764730.500, 0, 0) - ( 478502.188, 4764541.500, 0, 0) - ( 478448.688, 4764531.500, 0, 0) - ( 478447.812, 4764454.000, 0, 0) - ( 478443.938, 4764400.500, 0, 0) - ( 478461.750, 4764337.500, 0, 0) - ( 478503.031, 4764218.000, 0, 0) - ( 478192.500, 4764099.500, 0, 0) - ( 478180.219, 4764150.000, 0, 0) - ( 478149.969, 4764212.500, 0, 0) - ( 478110.500, 4764308.500, 0, 0) - ( 478080.938, 4764401.500, 0, 0) - ( 478065.062, 4764487.500, 0, 0) - ( 478140.344, 4764511.000, 0, 0) - ( 478220.094, 4764574.500, 0, 0) - ( 478325.250, 4764606.500, 0, 0) - ( 478408.062, 4764654.000, 0, 0) - -Shape:13 (Polygon) nVertices=27, nParts=1 - Bounds:( 479239.812, 4763850.000, 0, 0) - to ( 480343.719, 4764788.000, 0, 0) - ( 479750.688, 4764702.000, 0, 0) Ring - ( 479968.469, 4764788.000, 0, 0) - ( 479985.062, 4764732.000, 0, 0) - ( 480011.000, 4764674.500, 0, 0) - ( 480093.750, 4764703.000, 0, 0) - ( 480177.156, 4764742.000, 0, 0) - ( 480258.031, 4764767.000, 0, 0) - ( 480343.719, 4764532.500, 0, 0) - ( 480343.562, 4764477.000, 0, 0) - ( 480316.000, 4764395.000, 0, 0) - ( 480289.125, 4764348.500, 0, 0) - ( 480234.312, 4764304.000, 0, 0) - ( 480157.125, 4764266.500, 0, 0) - ( 480192.312, 4764183.000, 0, 0) - ( 480120.219, 4764188.500, 0, 0) - ( 479550.062, 4763919.500, 0, 0) - ( 479492.688, 4763850.000, 0, 0) - ( 479487.750, 4763864.500, 0, 0) - ( 479442.750, 4763990.000, 0, 0) - ( 479436.000, 4764023.000, 0, 0) - ( 479398.938, 4764100.000, 0, 0) - ( 479349.625, 4764230.000, 0, 0) - ( 479305.875, 4764361.000, 0, 0) - ( 479239.812, 4764505.000, 0, 0) - ( 479504.906, 4764609.500, 0, 0) - ( 479658.594, 4764670.000, 0, 0) - ( 479750.688, 4764702.000, 0, 0) - -Shape:14 (Polygon) nVertices=5, nParts=1 - Bounds:( 479640.094, 4764670.000, 0, 0) - to ( 479750.688, 4764752.000, 0, 0) - ( 479750.688, 4764702.000, 0, 0) Ring - ( 479658.594, 4764670.000, 0, 0) - ( 479640.094, 4764721.000, 0, 0) - ( 479735.906, 4764752.000, 0, 0) - ( 479750.688, 4764702.000, 0, 0) - -Shape:15 (Polygon) nVertices=28, nParts=1 - Bounds:( 478503.031, 4763357.500, 0, 0) - to ( 479349.625, 4764418.500, 0, 0) - ( 479305.875, 4764361.000, 0, 0) Ring - ( 479349.625, 4764230.000, 0, 0) - ( 479218.156, 4764126.000, 0, 0) - ( 479128.344, 4764030.500, 0, 0) - ( 479103.406, 4764000.000, 0, 0) - ( 479099.594, 4763977.500, 0, 0) - ( 479080.812, 4763930.000, 0, 0) - ( 478999.812, 4763864.500, 0, 0) -------------------------------------------------------------------------- -Test 4: dump pline.dbf - uses new F field type -------------------------------------------------------------------------- -Field 0: Type=Integer, Title=`FNODE_', Width=11, Decimals=0 -Field 1: Type=Integer, Title=`TNODE_', Width=11, Decimals=0 -Field 2: Type=Integer, Title=`LPOLY_', Width=11, Decimals=0 -Field 3: Type=Integer, Title=`RPOLY_', Width=11, Decimals=0 -Field 4: Type=Double, Title=`LENGTH', Width=13, Decimals=3 -Field 5: Type=Integer, Title=`PLINE_', Width=11, Decimals=0 -Field 6: Type=Integer, Title=`PLINE_ID', Width=11, Decimals=0 -Field 7: Type=Integer, Title=`UID', Width=11, Decimals=0 -Field 8: Type=Integer, Title=`GISO_TYPE_', Width=11, Decimals=0 -Field 9: Type=Integer, Title=`SYMBOL', Width=6, Decimals=0 -Field 10: Type=Integer, Title=`LOCK__ID', Width=11, Decimals=0 -Field 11: Type=Integer, Title=`PHASE__ID', Width=6, Decimals=0 -Field 12: Type=Integer, Title=`OBJECT__ID', Width=11, Decimals=0 -Field 13: Type=String, Title=`TYPE', Width=50, Decimals=0 -Field 14: Type=Integer, Title=`SYM_NBR', Width=6, Decimals=0 -Field 15: Type=String, Title=`PHASE', Width=4, Decimals=0 -Field 16: Type=String, Title=`CKT_NM', Width=30, Decimals=0 -Field 17: Type=String, Title=`VOLTAGE', Width=30, Decimals=0 -Field 18: Type=String, Title=`CMPN', Width=30, Decimals=0 - -Record: 0 -FNODE_: 351 -TNODE_: 352 -LPOLY_: 0 -RPOLY_: 0 -LENGTH: 139.451 -PLINE_: 1 -PLINE_ID: 8588 -UID: 544484 -GISO_TYPE_: 13 -SYMBOL: 101 -LOCK__ID: 0 -PHASE__ID: 0 -OBJECT__ID: 131978 -TYPE: Overhead Primary -SYM_NBR: 101 -PHASE: ABC -CKT_NM: MED36 -VOLTAGE: (NULL) -CMPN: (NULL) - -Record: 1 -FNODE_: 352 -TNODE_: 362 -LPOLY_: 0 -RPOLY_: 0 -LENGTH: 158.033 -PLINE_: 2 -PLINE_ID: 8695 -UID: 544591 -------------------------------------------------------------------------- -Test 5: NULL Shapes. -------------------------------------------------------------------------- -Shapefile Type: Arc # of Shapes: 124 - -File Bounds: ( 257104.880, 5176098.606,0,0) - to ( 335497.500, 5226768.100,0,0) - -Shape:0 (Arc) nVertices=21, nParts=1 - Bounds:( 317138.450, 5176398.916, 0, 0) - to ( 317325.590, 5186063.780, 0, 0) - ( 317255.906, 5176398.916, 0, 0) Ring - ( 317188.010, 5176506.460, 0, 0) - ( 317176.920, 5176524.510, 0, 0) - ( 317165.340, 5176546.850, 0, 0) - ( 317157.950, 5176566.020, 0, 0) - ( 317150.020, 5176587.650, 0, 0) - ( 317140.130, 5176623.380, 0, 0) - ( 317138.700, 5176637.220, 0, 0) - ( 317138.450, 5176652.790, 0, 0) - ( 317194.710, 5177654.350, 0, 0) - ( 317208.900, 5178001.150, 0, 0) - ( 317257.240, 5178791.400, 0, 0) - ( 317233.330, 5179171.730, 0, 0) - ( 317178.860, 5179593.910, 0, 0) - ( 317177.430, 5180161.330, 0, 0) - ( 317179.910, 5181231.060, 0, 0) - ( 317191.120, 5182009.000, 0, 0) - ( 317217.150, 5182812.160, 0, 0) - ( 317251.760, 5184426.350, 0, 0) - ( 317285.550, 5185242.720, 0, 0) - ( 317325.590, 5186063.780, 0, 0) - -Shape:1 (Arc) nVertices=14, nParts=1 - Bounds:( 327417.340, 5176119.960, 0, 0) - to ( 327575.150, 5179522.550, 0, 0) - ( 327417.340, 5176119.960, 0, 0) Ring - ( 327472.250, 5177756.610, 0, 0) - ( 327475.670, 5178507.280, 0, 0) - ( 327487.420, 5179001.910, 0, 0) - ( 327488.760, 5179080.090, 0, 0) - ( 327485.310, 5179309.310, 0, 0) - ( 327487.010, 5179328.210, 0, 0) - ( 327491.800, 5179348.860, 0, 0) - ( 327499.800, 5179374.940, 0, 0) - ( 327512.980, 5179413.100, 0, 0) - ( 327527.290, 5179446.960, 0, 0) - ( 327538.870, 5179469.890, 0, 0) - ( 327552.260, 5179491.550, 0, 0) - ( 327575.150, 5179522.550, 0, 0) - -Shape:2 (Arc) nVertices=40, nParts=1 - Bounds:( 326935.880, 5180924.980, 0, 0) - to ( 327723.190, 5198803.660, 0, 0) - ( 327370.950, 5180924.980, 0, 0) Ring - ( 327410.070, 5181060.540, 0, 0) - ( 327512.850, 5181435.450, 0, 0) - ( 327518.640, 5181464.010, 0, 0) - ( 327523.700, 5181488.920, 0, 0) - ( 327524.500, 5181514.570, 0, 0) - ( 327468.010, 5182633.640, 0, 0) - ( 327500.040, 5183199.840, 0, 0) - ( 327499.600, 5183224.920, 0, 0) - ( 327484.700, 5183355.010, 0, 0) - ( 327483.690, 5183400.900, 0, 0) - ( 327483.840, 5183464.480, 0, 0) - ( 327486.010, 5183494.980, 0, 0) - ( 327571.280, 5184207.820, 0, 0) - ( 327617.210, 5184599.430, 0, 0) - ( 327620.420, 5184623.780, 0, 0) - ( 327625.530, 5184650.530, 0, 0) - ( 327698.430, 5184927.070, 0, 0) - ( 327702.100, 5184946.520, 0, 0) - ( 327717.940, 5185394.820, 0, 0) - ( 327723.190, 5185719.320, 0, 0) - ( 327719.460, 5185737.170, 0, 0) - ( 327712.090, 5185755.740, 0, 0) - ( 327699.840, 5185775.080, 0, 0) - ( 327683.830, 5185791.480, 0, 0) - ( 327665.380, 5185807.950, 0, 0) - ( 327641.970, 5185822.740, 0, 0) - ( 327622.280, 5185829.070, 0, 0) - ( 327604.950, 5185832.940, 0, 0) - ( 326937.500, 5185829.310, 0, 0) - ( 326935.880, 5187515.510, 0, 0) - ( 326983.050, 5189115.230, 0, 0) - ( 326998.860, 5189920.820, 0, 0) - ( 327060.240, 5190715.870, 0, 0) - ( 327123.230, 5192332.220, 0, 0) - ( 327179.920, 5193766.290, 0, 0) - ( 327185.490, 5193921.940, 0, 0) - ( 327204.120, 5195553.580, 0, 0) - ( 327218.270, 5197179.250, 0, 0) - ( 327251.330, 5198803.660, 0, 0) - -Shape:3 (NullShape) nVertices=0, nParts=0 - Bounds:( 0.000, 0.000, 0, 0) - to ( 0.000, 0.000, 0, 0) - -Shape:4 (NullShape) nVertices=0, nParts=0 - Bounds:( 0.000, 0.000, 0, 0) - to ( 0.000, 0.000, 0, 0) - -Shape:5 (NullShape) nVertices=0, nParts=0 - Bounds:( 0.000, 0.000, 0, 0) - to ( 0.000, 0.000, 0, 0) - -Shape:6 (Arc) nVertices=2, nParts=1 - Bounds:( 327123.230, 5192296.600, 0, 0) - to ( 328480.850, 5192332.220, 0, 0) - ( 327123.230, 5192332.220, 0, 0) Ring - ( 328480.850, 5192296.600, 0, 0) - -Shape:7 (Arc) nVertices=5, nParts=1 - Bounds:( 329222.060, 5217943.490, 0, 0) - to ( 335290.680, 5218084.780, 0, 0) - ( 329222.060, 5218084.780, 0, 0) Ring - ( 330442.520, 5218057.650, 0, 0) - ( 332059.960, 5218033.810, 0, 0) - ( 333685.820, 5218004.860, 0, 0) - ( 335290.680, 5217943.490, 0, 0) - -Shape:8 (Arc) nVertices=65, nParts=1 - Bounds:( 280048.100, 5177687.643, 0, 0) - to ( 280439.410, 5182567.120, 0, 0) - ( 280316.840, 5177687.643, 0, 0) Ring - ( 280325.310, 5177968.830, 0, 0) - ( 280324.630, 5178037.940, 0, 0) - ( 280324.150, 5178059.350, 0, 0) - ( 280320.130, 5178084.560, 0, 0) - ( 280299.860, 5178170.250, 0, 0) - ( 280288.710, 5178218.940, 0, 0) - ( 280274.280, 5178283.640, 0, 0) - ( 280268.000, 5178330.870, 0, 0) - ( 280267.910, 5178346.760, 0, 0) - ( 280270.510, 5178364.580, 0, 0) - ( 280274.820, 5178382.360, 0, 0) - ( 280278.440, 5178397.210, 0, 0) - ( 280351.400, 5178743.800, 0, 0) - ( 280369.860, 5178800.630, 0, 0) - ( 280378.670, 5178826.010, 0, 0) - ( 280400.350, 5178869.890, 0, 0) - ( 280414.870, 5178901.180, 0, 0) - ( 280427.030, 5178934.990, 0, 0) - ( 280436.250, 5178971.970, 0, 0) - ( 280439.410, 5178992.650, 0, 0) - ( 280439.170, 5179001.630, 0, 0) - ( 280437.010, 5179011.690, 0, 0) - ( 280434.930, 5179016.970, 0, 0) - ( 280431.870, 5179022.260, 0, 0) - ( 280413.610, 5179041.850, 0, 0) - ( 280410.040, 5179046.780, 0, 0) - ( 280406.640, 5179052.480, 0, 0) diff --git a/tests/test1.sh b/tests/test1.sh index 86ce986..5d752b8 100755 --- a/tests/test1.sh +++ b/tests/test1.sh @@ -1,45 +1,44 @@ -#!/bin/sh +#!/bin/bash -EG_DATA=/u/www/projects/shapelib/eg_data +set -eu -testdir="$(dirname "$(readlink -f $0)")" +readonly SCRIPTDIR=$(dirname "${BASH_SOURCE[0]}") +readonly EXPECT="${1:-$SCRIPTDIR/expect1.out}" +readonly EG_DATA="${2:-$SCRIPTDIR/shape_eg_data}" -( -cd "$top_builddir" +{ echo ------------------------------------------------------------------------- echo Test 1: dump anno.shp echo ------------------------------------------------------------------------- -./shpdump $EG_DATA/anno.shp | head -250 +"${SHPDUMP:-./shpdump}" "$EG_DATA/anno.shp" | head -250 echo ------------------------------------------------------------------------- echo Test 2: dump brklinz.shp echo ------------------------------------------------------------------------- -./shpdump $EG_DATA/brklinz.shp | head -500 +"${SHPDUMP:-./shpdump}" "$EG_DATA/brklinz.shp" | head -500 echo ------------------------------------------------------------------------- echo Test 3: dump polygon.shp echo ------------------------------------------------------------------------- -./shpdump $EG_DATA/polygon.shp | head -500 +"${SHPDUMP:-./shpdump}" "$EG_DATA/polygon.shp" | head -500 echo ------------------------------------------------------------------------- echo Test 4: dump pline.dbf - uses new F field type echo ------------------------------------------------------------------------- -./dbfdump -m -h $EG_DATA/pline.dbf | head -50 +"${DBFDUMP:-./dbfdump}" -m -h "$EG_DATA/pline.dbf" | head -50 echo ------------------------------------------------------------------------- echo Test 5: NULL Shapes. echo ------------------------------------------------------------------------- -./shpdump $EG_DATA/csah.dbf | head -150 -) > "$testdir/s1.out" +"${SHPDUMP:-./shpdump}" "$EG_DATA/csah.dbf" | head -150 +} > s1.out -result="$(diff "$testdir/s1.out" "$testdir/stream1.out")" -if [ "$result" == "" ]; then + +if result=$(diff "$EXPECT" "s1.out"); then echo "******* Stream 1 Succeeded *********" - rm "$testdir/s1.out" exit 0 else echo "******* Stream 1 Failed *********" echo "$result" - rm "$testdir/s1.out" exit 1 fi diff --git a/tests/test2.sh b/tests/test2.sh index 266fe54..6957f15 100755 --- a/tests/test2.sh +++ b/tests/test2.sh @@ -1,27 +1,22 @@ #!/bin/bash -testdir="$(dirname "$(readlink -f $0)")" +readonly SCRIPTDIR=$(dirname "${BASH_SOURCE[0]}") +readonly EXPECT="${1:-$SCRIPTDIR/expect2.out}" -( -cd "$top_builddir" for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13; do echo ----------------------------------------------------------------------- echo Test 2/$i echo ----------------------------------------------------------------------- - ./shptest $i - ./shpdump test${i}.shp -done -) > "$testdir/s2.out" + "${SHPTEST:-./shptest}" $i + "${SHPDUMP:-./shpdump}" test${i}.shp +done > "s2.out" -result="$(diff "$testdir/s2.out" "$testdir/stream2.out")" -if [ "$result" == "" ]; then +if result=$(diff "$EXPECT" "s2.out"); then echo "******* Stream 2 Succeeded *********" - rm "$testdir/s2.out" exit 0 else echo "******* Stream 2 Failed *********" echo "$result" - rm "$testdir/s2.out" exit 1 fi diff --git a/tests/test3.sh b/tests/test3.sh index 900e218..0d149b5 100755 --- a/tests/test3.sh +++ b/tests/test3.sh @@ -5,34 +5,33 @@ # should display in ARCView II. # -testdir="$(dirname "$(readlink -f $0)")" +set -eu -( -cd "$top_builddir" -./shpcreate test polygon -./dbfcreate test.dbf -s Description 30 -n TestInt 6 0 -n TestDouble 16 5 +readonly SCRIPTDIR=$(dirname "${BASH_SOURCE[0]}") +readonly EXPECT="${1:-$SCRIPTDIR/expect3.out}" -./shpadd test 0 0 100 0 100 100 0 100 0 0 + 20 20 20 30 30 30 20 20 -./dbfadd test.dbf "Square with triangle missing" 1.4 2.5 +{ +"${SHPCREATE:-./shpcreate}" test polygon +"${DBFCREATE:-./dbfcreate}" test.dbf -s Description 30 -n TestInt 6 0 -n TestDouble 16 5 -./shpadd test 150 150 160 150 180 170 150 150 -./dbfadd test.dbf "Smaller triangle" 100 1000.25 +"${SHPADD:-./shpadd}" test 0 0 100 0 100 100 0 100 0 0 + 20 20 20 30 30 30 20 20 +"${DBFADD:-./dbfadd}" test.dbf "Square with triangle missing" 1.4 2.5 -./shpadd test 150 150 160 150 180 170 150 150 -./dbfadd test.dbf "" "" "" +"${SHPADD:-./shpadd}" test 150 150 160 150 180 170 150 150 +"${DBFADD:-./dbfadd}" test.dbf "Smaller triangle" 100 1000.25 -./shpdump test.shp -./dbfdump test.dbf -) > "$testdir/s3.out" +"${SHPADD:-./shpadd}" test 150 150 160 150 180 170 150 150 +"${DBFADD:-./dbfadd}" test.dbf "" "" "" -result=$(diff "$testdir/s3.out" "$testdir/stream3.out") -if [ "$result" == "" ]; then +"${SHPDUMP:-./shpdump}" test.shp +"${DBFDUMP:-./dbfdump}" test.dbf +} > s3.out + +if result=$(diff "$EXPECT" "s3.out"); then echo "******* Stream 3 Succeeded *********" - rm "$testdir/s3.out" exit 0 else echo "******* Stream 3 Failed *********" echo "$result" - rm "$testdir/s3.out" exit 1 fi