User Tools

Site Tools


sdk:geoconvert

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sdk:geoconvert [2017/07/22 17:32]
aerofly
sdk:geoconvert [2017/11/12 17:30]
jh
Line 32: Line 32:
 ====General steps==== ====General steps====
   - All your input aerial images have to be in the folder '​input_aerial_images'​. Currently, the image formats TIF, PNG and BMP are supported.   - All your input aerial images have to be in the folder '​input_aerial_images'​. Currently, the image formats TIF, PNG and BMP are supported.
-  - Each aerial image must have an accompanying configuration file with the extension AIC that tells GeoConvert how to source this image. As a convenience function, GeoConvert will automatically convert TFW and INF files to AIC files, but it's strongly recommended to check the AIC files after conversion. INF files are not standardized and TFW files to not support enough options for all cases. So please get used to the AIC file format, here is a sample +  - Each aerial image must have an accompanying configuration file with the extension AIC that tells GeoConvert how to source this image. As a convenience function, GeoConvert will automatically convert TFW and INF files to AIC files, but it's strongly recommended to check the AIC files after conversion. INF files are not standardized and TFW files do not support enough options for all cases. So please get used to the AIC file format, here is a sample <code cpp> 
-<code cpp> +<​[file][][] 
-  <​[file][][] +  <​[tm_aerial_image_definition][][] 
-      <​[tm_aerial_image_definition][][] +    <​[string8][image][your_aerial_image.bmp]> ​         // the image this configuration file refers to 
-          <​[string8][image][your_aerial_image.bmp]> ​         // the image this configuration file refers to +      <​[string8][mask][]> ​                             // optional alpha mask / GeoConvert also 
-          <​[string8][mask][]> ​                               // optional alpha mask / GeoConvert also +                                                       ​// supports Tiff images with alpha channel 
-                                                             ​// supports Tiff images with alpha channel +      <​[string8][coordinate_system][lonlat]> ​          ​// the coordinate system of the image, currently 
-          <​[string8][coordinate_system][lonlat]> ​            ​// the coordinate system of the image, currently +                                                       ​// only lonlat is supported 
-                                                             ​// only lonlat is supported +      <​[vector2_float64][top_left][-81.8330883979797 24.5659098029137]> ​ // the coordinates of the top 
-          <​[vector2_float64][top_left][-81.8330883979797 24.5659098029137]> ​ // the coordinates of the top +                                                       ​// left corner of this image 
-                                                             ​// left corner of this image +      <​[vector2_float64][steps_per_pixel][3.57627868652344e-06 -2.68220901489258e-06]>​ // this tells 
-          <​[vector2_float64][steps_per_pixel][3.57627868652344e-06 -2.68220901489258e-06]>​ // this tells +                                                       ​// GeoConvert the pixel size in the x and y direction 
-                                                             ​// GeoConvert the pixel size in the x and y +      <​[bool][flip_vertical][false]> ​                  ​// set to true if image is saved bottom to top 
-                                                             // ​direction. +    >
-          <​[bool][flip_vertical][false]> ​                    ​// set to true if image is saved bottom to top +
-      >+
   >   >
 +>
 </​code>​ </​code>​
-  - aerofly_fs_2_geoconvert.exe is a command line tool that expects another configuration file that tells where to generate aerial images and in what resolution. Here is a sample that generates aerial images for the Key West Florida region: +  - aerofly_fs_2_geoconvert.exe is a command line tool that expects another configuration file that tells where to generate aerial images and in what resolution. Here is a sample that generates aerial images for the Key West Florida region: <​code>​ 
-<​code>​ +<​[file][][] 
-  <​[file][][] +  <​[tmcolormap_regions][][] 
-      <​[tmcolormap_regions][][] +    <​[bool] ​  ​[write_ttc_files][true]>​ 
-          <​[bool] ​  ​[write_ttc_files][true]>​ +    <​[string8][folder_destination_ttc][./​scenery/​images/​]>​ 
-          <​[string8][folder_destination_ttc][./​scenery/​images/​]>​ +    <​[bool] ​  ​[always_overwrite][true]>​ 
-          <​[bool] ​  ​[always_overwrite][true]>​ +    <​[list][region_list][] 
-          <​[list][region_list][] +      <​[tmcolormap_region][element][0] 
-              <​[tmcolormap_region][element][0] +        <​[uint32] ​             [level] ​ [9]> 
-                  <​[uint32] ​             [level] ​ [9]> +        <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ +        <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ +      
-              +      <​[tmcolormap_region][element][0] 
-              <​[tmcolormap_region][element][0] +        <​[uint32] ​             [level] ​ [11]> 
-                  <​[uint32] ​             [level] ​ [11]> +        <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ +        <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ +      
-              +      <​[tmcolormap_region][element][0] 
-              <​[tmcolormap_region][element][0] +        <​[uint32] ​             [level] ​ [12]> 
-                  <​[uint32] ​             [level] ​ [12]> +        <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ +        <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ +      
-              +      <​[tmcolormap_region][element][0] 
-              <​[tmcolormap_region][element][0] +        <​[uint32] ​             [level] ​ [13]> 
-                  <​[uint32] ​             [level] ​ [13]> +        <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ +        <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ +      
-              +      <​[tmcolormap_region][element][0] 
-              <​[tmcolormap_region][element][0] +        <​[uint32] ​             [level] ​ [14]> 
-                  <​[uint32] ​             [level] ​ [14]> +        <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_min] ​  ​[-81.84 24.52]>​ +        <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ 
-                  <​[vector2_float64] ​    ​[lonlat_max] ​  ​[-81.71 24.60]>​ +      
-              +    >
-          > +
-      >  ​+
   >   >
 +>  ​
 </​code>​ </​code>​
   - Once you have the input images along with their AIC files in the folder input_aerial_images and your TMC file you can start up GeoConvert either using the shell or a batch file as mentioned above.   - Once you have the input images along with their AIC files in the folder input_aerial_images and your TMC file you can start up GeoConvert either using the shell or a batch file as mentioned above.
  
sdk/geoconvert.txt · Last modified: 2017/11/12 17:30 by jh