????
Current Path : C:/ProgramData/GeoServer/workspaces/gdt/ptd/tim-kiem/ |
Current File : C:/ProgramData/GeoServer/workspaces/gdt/ptd/tim-kiem/featuretype.xml |
<featureType> <id>FeatureTypeInfoImpl-70f8bf6e:18682704e56:-7e15</id> <name>tim-kiem</name> <nativeName>tim-kiem</nativeName> <namespace> <id>NamespaceInfoImpl-5ff23a21:18672e34c10:-7fff</id> </namespace> <title>tim-kiem</title> <keywords> <string>features</string> <string>tim-kiem</string> </keywords> <nativeCRS>GEOGCS["WGS 84", 
 DATUM["World Geodetic System 1984", 
 SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], 
 AUTHORITY["EPSG","6326"]], 
 PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 
 UNIT["degree", 0.017453292519943295], 
 AXIS["Geodetic longitude", EAST], 
 AXIS["Geodetic latitude", NORTH], 
 AUTHORITY["EPSG","4326"]]</nativeCRS> <srs>EPSG:4326</srs> <nativeBoundingBox> <minx>-180.0</minx> <maxx>180.0</maxx> <miny>-90.0</miny> <maxy>90.0</maxy> <crs>EPSG:4326</crs> </nativeBoundingBox> <latLonBoundingBox> <minx>-180.0</minx> <maxx>180.0</maxx> <miny>-90.0</miny> <maxy>90.0</maxy> <crs>EPSG:4326</crs> </latLonBoundingBox> <projectionPolicy>FORCE_DECLARED</projectionPolicy> <enabled>true</enabled> <metadata> <entry key="JDBC_VIRTUAL_TABLE"> <virtualTable> <name>tim-kiem</name> <sql>SELECT 
 sdv.Id, 
 sdv.TenDonVi as Name, 
 sdv.TenDonVi as DonVi, 
 null as NhomPhuongTienDoId, 
 'don-vi' as Type, 
 ldv.SHAPE as geometry
 from Layer_DonVi ldv 
 join SYS_DonVi sdv on ldv.LoaiDonVi_Id = sdv.Id 
 WHERE sdv.TenDonVi like N'%%s%%'
 UNION ALL
 SELECT sdv2.Id, 
 dptd.Name, 
 sdv2.TenDonVi as DonVi, 
 dptd.NhomPhuongTienDoId as NhomPhuongTienDoId, 
 'phuong-tien-do' as Type,
 ldv2.SHAPE as geometry
 from SYS_DonVi sdv2 
 join DM_PhuongTienDo dptd on dptd.DonViId = sdv2.Id
 join Layer_DonVi ldv2 on ldv2.LoaiDonVi_Id = sdv2.Id
 where dptd.Name like N'%%s%%' </sql> <escapeSql>false</escapeSql> <geometry> <name>geometry</name> <type>Point</type> <srid>4326</srid> </geometry> <parameter> <name>s</name> <regexpValidator>^[\p{L}\d\s]+$</regexpValidator> </parameter> </virtualTable> </entry> <entry key="cachingEnabled">false</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>