????

Your IP : 3.148.192.32


Current Path : C:/ProgramData/GeoServer/workspaces/gdt/ptd/GeoViewDv/
Upload File :
Current File : C:/ProgramData/GeoServer/workspaces/gdt/ptd/GeoViewDv/featuretype.xml

<featureType>
  <id>FeatureTypeInfoImpl-70f8bf6e:18682704e56:-7e1a</id>
  <name>GeoViewDv</name>
  <nativeName>GeoViewDv</nativeName>
  <namespace>
    <id>NamespaceInfoImpl-5ff23a21:18672e34c10:-7fff</id>
  </namespace>
  <title>GeoViewDv</title>
  <keywords>
    <string>features</string>
    <string>GeoViewDv</string>
  </keywords>
  <nativeCRS>GEOGCS[&quot;WGS 84&quot;, &#xd;
  DATUM[&quot;World Geodetic System 1984&quot;, &#xd;
    SPHEROID[&quot;WGS 84&quot;, 6378137.0, 298.257223563, AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]], &#xd;
    AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]], &#xd;
  PRIMEM[&quot;Greenwich&quot;, 0.0, AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]], &#xd;
  UNIT[&quot;degree&quot;, 0.017453292519943295], &#xd;
  AXIS[&quot;Geodetic longitude&quot;, EAST], &#xd;
  AXIS[&quot;Geodetic latitude&quot;, NORTH], &#xd;
  AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]</nativeCRS>
  <srs>EPSG:4326</srs>
  <nativeBoundingBox>
    <minx>108.7862578242748</minx>
    <maxx>109.2896421857928</maxx>
    <miny>13.616699727666</miny>
    <maxy>14.588070291761401</maxy>
    <crs>EPSG:4326</crs>
  </nativeBoundingBox>
  <latLonBoundingBox>
    <minx>108.7862578242748</minx>
    <maxx>109.2896421857928</maxx>
    <miny>13.616699727666</miny>
    <maxy>14.588070291761401</maxy>
    <crs>EPSG:4326</crs>
  </latLonBoundingBox>
  <projectionPolicy>FORCE_DECLARED</projectionPolicy>
  <enabled>true</enabled>
  <metadata>
    <entry key="JDBC_VIRTUAL_TABLE">
      <virtualTable>
        <name>GeoViewDv</name>
        <sql>SELECT ldv.fid, sdv.TenDonVi, &#xd;
sdv.Id as DonViId, dvtt.Email, dvtt.Fax,&#xd;
dvtt.DienThoai, dvtt.Website, &#xd;
dvtt.DiaChi +&apos;, &apos;+ px.TenPhuongXa+&apos;, &apos;+qh.TenQuanHuyen  as DiaChi, &#xd;
ldv.SHAPE,&#xd;
(SELECT count(*) from DM_PhuongTienDo ptd where ptd.DonViId = sdv.Id and ptd.HieuLuc is not null and DATEDIFF(day, GETDATE(), ptd.HieuLuc) &lt; 0) HetHan,&#xd;
(SELECT count(*) from DM_PhuongTienDo ptd where ptd.DonViId = sdv.Id and ptd.HieuLuc is not null and DATEDIFF(day, GETDATE(), ptd.HieuLuc) &gt;= 0 and DATEDIFF(day, GETDATE(), ptd.HieuLuc) &lt;= 30) SapHetHan&#xd;
FROM Layer_DonVi ldv &#xd;
join SYS_DonVi sdv on ldv.LoaiDonVi_Id = sdv.Id&#xd;
join DonViThongTin dvtt on dvtt.Id = sdv.DonViThongTin_Id &#xd;
JOIN PhuongXa px on dvtt.MaPhuongXa = px.Id &#xd;
JOIN QuanHuyen qh on dvtt.MaQuanHuyen = qh.Id
</sql>
        <escapeSql>false</escapeSql>
        <geometry>
          <name>SHAPE</name>
          <type>Point</type>
          <srid>4326</srid>
        </geometry>
      </virtualTable>
    </entry>
  </metadata>
  <store class="dataStore">
    <id>DataStoreInfoImpl-caf9a26:18672eec35f:-8000</id>
  </store>
  <serviceConfiguration>false</serviceConfiguration>
  <simpleConversionEnabled>false</simpleConversionEnabled>
  <internationalTitle/>
  <internationalAbstract/>
  <maxFeatures>0</maxFeatures>
  <numDecimals>0</numDecimals>
  <padWithZeros>false</padWithZeros>
  <forcedDecimal>false</forcedDecimal>
  <overridingServiceSRS>false</overridingServiceSRS>
  <skipNumberMatched>false</skipNumberMatched>
  <circularArcPresent>false</circularArcPresent>
</featureType>