README.md 1.67 KB

GeoSpatial XIDs

GeoSpatial XIDs do not encode their ordinals (i.e. tags and offets). XIDData.prop is required to maintain backward compatibility.

Generate / Verify XIDData.prop

$ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \
     -v \
     -prop https://xid.location.studio/Tensor/V1.1/XIDData.prop \
     -prop https://xid.location.studio/GeoSpatial/V1.0/XIDData.prop \
     https://xid.location.studio/GeoSpatial/V1.0/Address.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/Contact.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/Events.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/GeoObject.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/Location.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/PointOfInterest.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/Shape.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/ShapeArcBand.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/ShapeCommon.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/ShapePolygon.xid.xml \
     https://xid.location.studio/GeoSpatial/V1.0/SpatialDefs.xid.xml

or

$ java -Xnoclassgc -jar $XIDSDK/bin/xidcg.jar \
     -v \
     -prop ../../Tensor/V1.1/XIDData.prop \
     -prop XIDData.prop \
     Address.xid.xml \
     Contact.xid.xml \
     Events.xid.xml \
     GeoObject.xid.xml \
     Location.xid.xml \
     PointOfInterest.xid.xml \
     Shape.xid.xml \
     ShapeArcBand.xid.xml \
     ShapeCommon.xid.xml \
     ShapePolygon.xid.xml \
     SpatialDefs.xid.xml

If xidcg reports:

Generating: xidout/meta/XID/XIDData.prop

Then something has changed and XIDData.prop needs to get updated.