Skip to content

Instantly share code, notes, and snippets.

@kitplummer
Created October 2, 2012 02:46
Show Gist options
  • Save kitplummer/3815889 to your computer and use it in GitHub Desktop.
Save kitplummer/3815889 to your computer and use it in GitHub Desktop.
WFS from OMAR
<?xml version='1.0' encoding='utf-8'?>
<wfs:FeatureCollection xmlns:omar='http://omar.ossim.org' xmlns:wfs='http://www.opengis.net/wfs' xmlns='http://www.opengis.net/wfs' xmlns:gml='http://www.opengis.net/gml'>
<gml:boundedBy>
<gml:null>unknown</gml:null>
</gml:boundedBy>
<gml:featureMember>
<omar:raster_entry fid='raster_entry.1'>
<omar:id>1</omar:id>
<omar:version>1</omar:version>
<omar:access_date />
<omar:acquisition_date />
<omar:azimuth_angle>0.0</omar:azimuth_angle>
<omar:be_number />
<omar:bit_depth>8</omar:bit_depth>
<omar:class_name>ossimTiffTileSource</omar:class_name>
<omar:cloud_cover />
<omar:country_code />
<omar:data_type>uint</omar:data_type>
<omar:description />
<omar:entry_id>0</omar:entry_id>
<omar:exclude_policy />
<omar:file_type>tiff</omar:file_type>
<omar:filename>/data/omar/bmng/world.200406.A1.tif</omar:filename>
<omar:grazing_angle>90.0</omar:grazing_angle>
<omar:gsd_unit>meters</omar:gsd_unit>
<omar:gsdx>610.812663452424</omar:gsdx>
<omar:gsdy>610.812663452424</omar:gsdy>
<omar:height>16384</omar:height>
<omar:image_category />
<omar:image_id />
<omar:image_representation />
<omar:index_id>d349950d356d7f6aa2de0cf1f04c2f70376103b234bb1ecc4d8561d8a629cd7d</omar:index_id>
<omar:ingest_date>2012-09-27 14:55:45.364</omar:ingest_date>
<omar:isorce />
<omar:keep_forever />
<omar:mission_id />
<omar:niirs />
<omar:number_of_bands>3</omar:number_of_bands>
<omar:number_of_res_levels>9</omar:number_of_res_levels>
<omar:organization />
<omar:other_tags_xml>&lt;metadata&gt;&lt;angular_units&gt;degrees&lt;/angular_units&gt;&lt;angular_units_code&gt;9102&lt;/angular_units_code&gt;&lt;bits_per_sample&gt;8 8 8&lt;/bits_per_sample&gt;&lt;byte_order&gt;little_endian&lt;/byte_order&gt;&lt;compression&gt;false&lt;/compression&gt;&lt;directory_offset&gt;805699754&lt;/directory_offset&gt;&lt;gcs_code&gt;4326&lt;/gcs_code&gt;&lt;geographic_citation&gt;WGS 84|&lt;/geographic_citation&gt;&lt;image_length&gt;16384&lt;/image_length&gt;&lt;image_width&gt;16384&lt;/image_width&gt;&lt;model_pixel_scale&gt;0.0054931640625 0.0054931640625 0&lt;/model_pixel_scale&gt;&lt;model_tie_point&gt;0 0 0 -180 90 0&lt;/model_tie_point&gt;&lt;model_type&gt;geographic&lt;/model_type&gt;&lt;photo_interpretation&gt;RGB&lt;/photo_interpretation&gt;&lt;planar_configuration&gt;separate image planes&lt;/planar_configuration&gt;&lt;raster_type&gt;pixel_is_area&lt;/raster_type&gt;&lt;sample_format&gt;1 1 1&lt;/sample_format&gt;&lt;sample_format_string0&gt;unsigned integer data&lt;/sample_format_string0&gt;&lt;sample_format_string1&gt;unsigned integer data&lt;/sample_format_string1&gt;&lt;sample_format_string2&gt;unsigned integer data&lt;/sample_format_string2&gt;&lt;samples_per_pixel&gt;3&lt;/samples_per_pixel&gt;&lt;tile_length&gt;128&lt;/tile_length&gt;&lt;tile_width&gt;128&lt;/tile_width&gt;&lt;version&gt;42(classic)&lt;/version&gt;&lt;/metadata&gt;</omar:other_tags_xml>
<omar:product_id />
<omar:raster_data_set_id>1</omar:raster_data_set_id>
<omar:receive_date />
<omar:release_id />
<omar:security_classification />
<omar:security_code />
<omar:sensor_id />
<omar:style_id />
<omar:sun_azimuth />
<omar:sun_elevation />
<omar:target_id />
<omar:tie_point_set>&lt;TiePointSet&gt;&lt;Image&gt;&lt;coordinates&gt;0,0 16383,0 16383,16383 0,16383&lt;/coordinates&gt;&lt;/Image&gt;&lt;Ground&gt;&lt;coordinates&gt;-179.997253417969,89.9972534179688 -90.0027465820315,89.9972534179688 -90.0027465820315,0.00274658203130987 -179.997253417969,0.00274658203130987&lt;/coordinates&gt;&lt;/Ground&gt;&lt;/TiePointSet&gt;</omar:tie_point_set>
<omar:title />
<omar:valid_model>1</omar:valid_model>
<omar:wac_code />
<omar:width>16384</omar:width>
<omar:ground_geom>
<gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates decimal="." cs="," ts="">-179.997253417969,89.9972534179688 -90.0027465820315,89.9972534179688 -90.0027465820315,0.00274658203130987 -179.997253417969,0.00274658203130987 -179.997253417969,89.9972534179688</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</omar:ground_geom>
</omar:raster_entry>
</gml:featureMember>
</wfs:FeatureCollection>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment