[mapguide-users] FDO 3.1 for linux Fedora Core 4

Frank Warmerdam warmerdam at pobox.com
Wed Sep 27 13:18:10 EDT 2006


alba wrote:
> My problem is the test data of fdo 3.1
> when I digit cd /home/OpenSource_FDO/providers/SDFPlus/UnitTest
>                 ./UnitTest
> 
> on  the terminal iis null, therefore the test goes in loop, why?
> 
> 
> someone has had the same problem? 

Alba,

I tried to reproduce this, but have discovered that I can't build the
SDF provider due to some sort of problem with my gcc being too old.  I
get the following:

3.2.0\" "-DPACKAGE_STRING=\"FDOSDF 3.2.0\"" 
-DPACKAGE_BUGREPORT=\"http://www.fdo.osgeo.org\" -DPACKAGE=\"fdosdf\" 
-DVERSION=\"3.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. 
-I. -I../../Inc -I/home/warmerda/pkg/fdocore/Fdo/Unmanaged/Inc 
-I/home/warmerda/pkg/fdocore/Fdo/Unmanaged/Src/Nls -I/usr/include 
-I../Message/Inc -I../Utils -I/home/warmerda/pkg/fdocore/Utilities/Common/Inc 
-I/home/warmerda/pkg/fdocore/Utilities/SQLiteInterface -DSQLITE 
-D_FILE_OFFSET_BITS=64 -O -MT SdfApplySchema.lo -MD -MP -MF 
.deps/SdfApplySchema.Tpo -c SdfApplySchema.cpp  -fPIC -DPIC -o 
.libs/SdfApplySchema.o
In file included from /usr/include/c++/3.3.3/bits/locale_facets.tcc:43,
                  from /usr/include/c++/3.3.3/locale:47,
                  from /usr/include/c++/3.3.3/bits/ostream.tcc:37,
                  from /usr/include/c++/3.3.3/ostream:535,
                  from /usr/include/c++/3.3.3/iterator:70,
                  from /usr/include/c++/3.3.3/ext/stl_hashtable.h:69,
                  from /usr/include/c++/3.3.3/ext/hash_map:65,
                  from BinaryReader.h:22,
                  from DataDb.h:21,
                  from TableReformatter.h:19,
                  from SdfSchemaMergeContext.h:20,
                  from SdfConnection.h:25,
                  from SdfCommand.h:19,
                  from SdfApplySchema.h:16,
                  from SdfApplySchema.cpp:19:
/usr/include/c++/3.3.3/limits:205:22: macro "min" requires 2 arguments, but 
only 1 given
In file included from /usr/include/c++/3.3.3/bits/locale_facets.tcc:43,
                  from /usr/include/c++/3.3.3/locale:47,
                  from /usr/include/c++/3.3.3/bits/ostream.tcc:37,
                  from /usr/include/c++/3.3.3/ostream:535,
                  from /usr/include/c++/3.3.3/iterator:70,
                  from /usr/include/c++/3.3.3/ext/stl_hashtable.h:69,
                  from /usr/include/c++/3.3.3/ext/hash_map:65,
                  from BinaryReader.h:22,
                  from DataDb.h:21,
                  from TableReformatter.h:19,
                  from SdfSchemaMergeContext.h:20,
                  from SdfConnection.h:25,
                  from SdfCommand.h:19,
                  from SdfApplySchema.h:16,
                  from SdfApplySchema.cpp:19:
/usr/include/c++/3.3.3/limits:205: error: syntax error before `throw'
/usr/include/c++/3.3.3/limits:206:22: macro "max" requires 2 arguments, but 
only 1 given
/usr/include/c++/3.3.3/limits:206: error: ISO C++ forbids defining types within
    return type

I am wondering if you have tried building the SHP provider and running
it's unit tests.  Did those work for you?  I have done that and I get
the following which I presume indicates everything worked.

..........................................................................................................0.850 
seconds
locale= en_US.UTF-8
..locale: en_US.iso88591
..locale: en_US.utf8
..locale: fr_FR.iso88591
..locale: ja_JP.eucjp
0. = (189831.187500, 11641577.000000)(1587270520.000000, 1640228167.000000)
0. NAD_1983_HARN_UTM_Zone_17N= (-146758.464000, 2773606.502000)(596256.145000, 
3452202.304000)
0. NAD_1983_HARN_UTM_Zone_17N= (-146758.464000, 2773606.502000)(596256.145000, 
3452202.304000)
0. WGS84 Lat/Long's, Degrees, -180 ==> +180= (-97.200447, 
41.771564)(-87.636185, 43.810032)
0. WGS84 Lat/Long's, Degrees, -180 ==> +180= (-97.200447, 
41.771564)(-87.636185, 43.810032)
Expected error 'Duplicate field name 'STATESP020' in 
'../../TestData/States/statesp020.dbf'.'


Shape file ../../TestData/Zones/ZONES has the following statistics:
    0 true FDO multipolygons
    508 SHP polygons with 1 ring
    16 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    51 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/World/world_adm0 has the following statistics:
    0 true FDO multipolygons
    132 SHP polygons with 1 ring
    77 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    769 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/BuildingOutlines has the following statistics:
    0 true FDO multipolygons
    30336 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/CityLimits has the following statistics:
    0 true FDO multipolygons
    3 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/HydrographicPolygons has the following 
statistics:
    0 true FDO multipolygons
    91 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/Islands has the following statistics:
    0 true FDO multipolygons
    5 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/LandUse has the following statistics:
    0 true FDO multipolygons
    4979 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    1 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/Parcels has the following statistics:
    0 true FDO multipolygons
    17563 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    2 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/Soils has the following statistics:
    0 true FDO multipolygons
    794 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Sheboygan/VotingDistricts has the following statistics:
    0 true FDO multipolygons
    11 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Ontario/lakes has the following statistics:
    0 true FDO multipolygons
    ....................................................79 SHP polygons with 1 
ring
    17 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    3 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Ontario/ontario has the following statistics:
    0 true FDO multipolygons
    1 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Oahu/coundist01_n83 has the following statistics:
    0 true FDO multipolygons
    32 SHP polygons with 1 ring
    0 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Hawaii/coast_n83 has the following statistics:
    0 true FDO multipolygons
    12 SHP polygons with 1 ring
    1 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order

Shape file ../../TestData/Florida/plss24 has the following statistics:
    0 true FDO multipolygons
    55731 SHP polygons with 1 ring
    41 SHP polygons with 2+ rings
    0 SHP polygons with non-closed rings
    0 outer rings with wrong vertex order
    0 inner rings with wrong vertex order
    0 polygons with incorrect ring order
OK (158)


-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org





More information about the Mapguide_users mailing list