Hello, I am having some trouble importing a block into Context Capture. I have stripped back the block to include only the information and I have and deleted all the lines which have 'optional' listed before them. The error message I am receiving is shown below, line 112 being the last line of the XML script.
The XML block I am using looks like this (I've zeroed the translations, rotations and distortions and only included 1 image in 1 photogroup for simplification)<SpatialReferenceSystems><SRS><Id>0</Id><Name>ENU</Name><Definition>WGS84</Definition></SRS></SpatialReferenceSystems><BaseImagePath>C:/Images</BaseImagePath><Block><Name>Block1</Name><Description>Camera1</Description><Type>Aerial</Type><SRSId>0</SRSId><Photogroups><Photogroup><Name>Group1</Name><ImageDimensions><Width>5472</Width><Height>3648</Height></ImageDimensions><CameraModelBand>Visible</CameraModelBand><PixelSize>0.00654</PixelSize><SensorSize>35.8</SensorSize><FocalLength>105</FocalLength><CameraOrientation>XRightYDown</CameraOrientation><PrincipalPoint><x>0</x><y>0</y></PrincipalPoint><Distortion><K1>0</K1><K2>0</K2><K3>0</K3><P1>0</P1><P2>0</P2></Distortion><Photo><Id>1</Id><ImagePath>IMAGE1.jpg</ImagePath><Pose><Rotation><M_00>0</M_00><M_01>0</M_01><M_02>0</M_02><M_10>0</M_10><M_11>0</M_11><M_12>0</M_12><M_20>0</M_20><M_21>0</M_21><M_22>0</M_22></Rotation><Center><x>0</x><y>0</y><z>0</z></Center></Pose></Photo>...</Photogroup><Photogroup></Photogroups></Block></BlocksExchange>
Has anyone else experienced this problem and knows how to fix it?
In this case XML is better approach. I have logged service ticket regarding missing correct XML example some time ago.
I'll revert back to the full script used in the example and just leave unknown values as blank as you suggest. Hopefully this works. Thanks for your help!