How to create aux.xml file manually ?
I made a program that download images from internet as tiles. Those tiles can be show as a mosaic in ArcMap 10 by using separate World files.
I want mosaic those with a coordinate system. How to create manually aux.xml file to georeference a image ?
What are the contents of aux.xml file ? Is there any guides to understand aux.xml file ?
can't they just be opened in a text editor or browser?
I want to create a new one. To make a new I have to understand it. Do you have ever seen kind of file. Please study following.
Row=1_Col=2.bmp.aux.xml
<PAMDataset>
<Metadata domain="xml:ESRI" format="xml">
<GeodataXform xsi:type="typens:PolynomialXform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:typens="http://www.esri.com/schemas/ArcGIS/10.1">
<PolynomialOrder>1</PolynomialOrder>
<SpatialReference xsi:type="typens:UnknownCoordinateSystem">
<XOrigin>376880.71000000002</XOrigin>
<YOrigin>1043707.5700000001</YOrigin>
<XYScale>175921860444.16037</XYScale>
<XYTolerance>1.1368683772161579e-011</XYTolerance>
<HighPrecision>true</HighPrecision>
</SpatialReference>
<CoeffX xsi:type="typens:ArrayOfDouble">
<Double>241910.71272539312</Double>
<Double>0.39084039268360349</Double>
<Double>0</Double>
</CoeffX>
<CoeffY xsi:type="typens:ArrayOfDouble">
<Double>654930.64823299879</Double>
<Double>0</Double>
<Double>0.39084039268360349</Double>
</CoeffY>
<InverseCoeffX xsi:type="typens:ArrayOfDouble">
<Double>-618950.13221222197</Double>
<Double>2.5585891804420759</Double>
<Double>0</Double>
</InverseCoeffX>
<InverseCoeffY xsi:type="typens:ArrayOfDouble">
<Double>-1675698.470508866</Double>
<Double>0</Double>
<Double>2.5585891804420759</Double>
</InverseCoeffY>
<Name />
</GeodataXform>
</Metadata>
</PAMDataset>
Kumar,
Take a look at this:
It may give you the parameters you are looking for.
Its very helpful to me. Thanks
But in ArcGIs gives following tags.
<CoeffX xsi:type="typens:ArrayOfDouble">
<InverseCoeffX xsi:type="typens:ArrayOfDouble">
Original File ----->
Row=1_Col=2.bmp.aux.xml
<PAMDataset>
<Metadata domain="xml:ESRI" format="xml">
<GeodataXform xsi:type="typens:PolynomialXform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:typens="http://www.esri.com/schemas/ArcGIS/10.1">
<PolynomialOrder>1</PolynomialOrder>
<SpatialReference xsi:type="typens:UnknownCoordinateSystem">
<XOrigin>376880.71000000002</XOrigin>
<YOrigin>1043707.5700000001</YOrigin>
<XYScale>175921860444.16037</XYScale>
<XYTolerance>1.1368683772161579e-011</XYTolerance>
<HighPrecision>true</HighPrecision>
</SpatialReference>
<CoeffX xsi:type="typens:ArrayOfDouble">
<Double>241910.71272539312</Double>
<Double>0.39084039268360349</Double>
<Double>0</Double>
</CoeffX>
<CoeffY xsi:type="typens:ArrayOfDouble">
<Double>654930.64823299879</Double>
<Double>0</Double>
<Double>0.39084039268360349</Double>
</CoeffY>
<InverseCoeffX xsi:type="typens:ArrayOfDouble">
<Double>-618950.13221222197</Double>
<Double>2.5585891804420759</Double>
<Double>0</Double>
</InverseCoeffX>
<InverseCoeffY xsi:type="typens:ArrayOfDouble">
<Double>-1675698.470508866</Double>
<Double>0</Double>
<Double>2.5585891804420759</Double>
</InverseCoeffY>
<Name />
</GeodataXform>
</Metadata>
</PAMDataset>
Kumar
If the tiles you're downloading have any georeferencing information (e.g. World files) you can easily create a virtual mosaic using a Mosaic Dataset. Let us know what version of ArcGIS you are using.
One important note - if you are downloading base map tiles (e.g. from a source such as ArcGIS Online, Bing Maps, Google Maps etc.), please review the license agreement to be sure you are allowed to store a local copy of the files.
I am Using ArcGis 10.2 and 9.2
I have 256x256 resolution tiles in pixel. Each tile has corner coordinates (in a excel file - not tagged) . But I created only world files for each basing meter and pixel method.
Ex:
Row=1_Col=1.bmpw
1
0
-0
-1
0
0
Row=1_Col=2.bmpw
1
0
-0
-1
256
0
etc..
I could not find a better formula to calculate of the world file's line 1 and 4 by using lat lng values. That's why I wanted to use aux.xml file instead world file. But in xml file some tags can't understand. (ex - <CoeffX xsi:type="typens:ArrayOfDouble"> <InverseCoeffX xsi:type="typens:ArrayOfDouble">)
So I want to know how to make aux.xml file by manually ...
Thanks lot