| | |
| | | <Content Include="export.html" /> |
| | | <Content Include="Sources\xyz.py" /> |
| | | <Content Include="Sources\说明.txt" /> |
| | | <Content Include="TerraBuilder\tb.js" /> |
| | | <Content Include="UE.html" /> |
| | | <Content Include="up.html" /> |
| | | <Content Include="Web.config"> |
| | |
| | | <SubType>Designer</SubType> |
| | | </Content> |
| | | <Content Include="Sources\xyz.qgz" /> |
| | | <Content Include="TerraBuilder\tb.tbp" /> |
| | | </ItemGroup> |
| | | <PropertyGroup> |
| | | <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> |
| | |
| | | { |
| | | public class PubDBHelper |
| | | { |
| | | private static List<string> lasList = new List<string>() { "cpt", "las", "laz" }; |
| | | |
| | | private static List<string> imgList = new List<string>() { "jpg", "png", "img", "tif", "tiff" }; |
| | | |
| | | private static string insertPublishSql = "insert into lf.sys_publish(name, url, path, type, status, dirid, depid, min, max, json, create_user, geom, bak) values (@name, @url, @path, @type, @status, @dirid, @depid, @min, @max, @json, @create_user, {0}, @bak) returning id"; |
| | |
| | | |
| | | if (meta.dirname.IndexOf("\\测绘") > -1) |
| | | { |
| | | if ("cpt".Equals(meta.type)) |
| | | if (lasList.Contains(meta.type)) |
| | | return "select id from lf.sys_layer where cn_name = '点云数据' and pid = (select id from lf.sys_layer where cn_name = '测绘' order by pid limit 1)"; |
| | | if ("osgb".Equals(meta.type)) |
| | | return "select id from lf.sys_layer where cn_name = '倾斜摄影数据' and pid = (select id from lf.sys_layer where cn_name = '测绘' order by pid limit 1)"; |
| | | if ("mpt".Equals(meta.type)) |
| | | return "select id from lf.sys_layer where cn_name = '三维地形模型' and pid = (select id from lf.sys_layer where cn_name = '测绘' order by pid limit 1)"; |
| | | if ("DEM".Equals(meta.type)) |