82332cac by chiangbt

update 3.27

1 parent 05db60ef
......@@ -2,9 +2,17 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="5b5a29d8-78e9-4a9f-a415-1e11442b5ca7" name="Default" comment="">
<change type="DELETED" beforePath="$PROJECT_DIR$/my.db" afterPath="" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/TiandituDownloader/Main.class" afterPath="$PROJECT_DIR$/out/production/TiandituDownloader/Main.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/TiandituDownloader/TiandituDownload.class" afterPath="$PROJECT_DIR$/out/production/TiandituDownloader/TiandituDownload.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/TiandituDownloader/utils/TDTUrl$1.class" afterPath="$PROJECT_DIR$/out/production/TiandituDownloader/utils/TDTUrl$1.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/TiandituDownloader/utils/TDTUrl.class" afterPath="$PROJECT_DIR$/out/production/TiandituDownloader/utils/TDTUrl.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/production/TiandituDownloader/utils/TianDiTuTiledMapServiceType.class" afterPath="$PROJECT_DIR$/out/production/TiandituDownloader/utils/TianDiTuTiledMapServiceType.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/Main.java" afterPath="$PROJECT_DIR$/src/Main.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/TiandituDownload.java" afterPath="$PROJECT_DIR$/src/TiandituDownload.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/utils/TDTUrl.java" afterPath="$PROJECT_DIR$/src/utils/TDTUrl.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java" afterPath="$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java" />
</list>
<ignored path="$PROJECT_DIR$/out/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
......@@ -16,33 +24,58 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="Main.java" pinned="false" current-in-tab="true">
<file leaf-file-name="Main.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="0" lean-forward="true" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
<state relative-caret-position="135">
<caret line="9" column="55" lean-forward="false" selection-start-line="9" selection-start-column="55" selection-end-line="9" selection-end-column="55" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="readme.md" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/readme.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="255">
<caret line="17" column="3" lean-forward="false" selection-start-line="17" selection-start-column="3" selection-end-line="17" selection-end-column="3" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="TiandituDownload.java" pinned="false" current-in-tab="false">
<file leaf-file-name="TiandituDownload.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/TiandituDownload.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="235">
<caret line="143" column="5" lean-forward="true" selection-start-line="143" selection-start-column="5" selection-end-line="143" selection-end-column="5" />
<state relative-caret-position="79">
<caret line="171" column="81" lean-forward="true" selection-start-line="171" selection-start-column="81" selection-end-line="171" selection-end-column="81" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3248#3249#0" expanded="true" />
<element signature="e#3284#3285#0" expanded="true" />
<marker date="1522117421550" expanded="true" signature="4629:4726" ph="select * fro... missingValue" />
<marker date="1522117421550" expanded="true" signature="6923:7000" ph="INSERT INTO missingValue... " />
<marker date="1522117421550" expanded="true" signature="8359:8546" ph="CREATE TABLE... IF" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3216#3217#0" expanded="true" />
<marker date="1522123711007" expanded="true" signature="4561:4658" ph="select * fro... missingValue" />
<marker date="1522123711007" expanded="true" signature="6855:6932" ph="INSERT INTO missingValue... " />
<marker date="1522123711007" expanded="true" signature="8292:8479" ph="CREATE TABLE... IF" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="TianDiTuTiledMapServiceType.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="345">
<caret line="23" column="10" lean-forward="false" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="10" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
......@@ -67,15 +100,16 @@
<option value="$PROJECT_DIR$/src/CalEnv.java" />
<option value="$PROJECT_DIR$/src/TianDiTuTiledMapServiceType.java" />
<option value="$PROJECT_DIR$/src/TDTUrl.java" />
<option value="$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java" />
<option value="$PROJECT_DIR$/src/utils/TDTUrl.java" />
<option value="$PROJECT_DIR$/src/MainForm.java" />
<option value="$PROJECT_DIR$/src/MainForm.form" />
<option value="$PROJECT_DIR$/readme.md" />
<option value="$PROJECT_DIR$/src/utils/Point.java" />
<option value="$PROJECT_DIR$/src/utils/CalEnv.java" />
<option value="$PROJECT_DIR$/src/TiandituDownload.java" />
<option value="$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java" />
<option value="$PROJECT_DIR$/src/utils/TiandituTiledMapServiceTypeW.java" />
<option value="$PROJECT_DIR$/src/Main.java" />
<option value="$PROJECT_DIR$/src/utils/TDTUrl.java" />
<option value="$PROJECT_DIR$/src/TiandituDownload.java" />
</list>
</option>
</component>
......@@ -107,7 +141,9 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="AndroidView" />
<pane id="Scratches" />
<pane id="PackagesPane" />
<pane id="ProjectPane">
<subPane>
<expand>
......@@ -134,9 +170,7 @@
<select />
</subPane>
</pane>
<pane id="PackagesPane" />
<pane id="Scope" />
<pane id="AndroidView" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -222,15 +256,25 @@
<workItem from="1522029083503" duration="8800000" />
<workItem from="1522044614927" duration="4004000" />
<workItem from="1522068118889" duration="2525000" />
<workItem from="1522113502843" duration="1052000" />
<workItem from="1522113502843" duration="1098000" />
<workItem from="1522120756717" duration="2924000" />
</task>
<task id="LOCAL-00001" summary="update 3.27">
<created>1522117439746</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1522117439746</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="16381000" />
<option name="totallyTimeSpent" value="19351000" />
</component>
<component name="ToolWindowManager">
<frame x="40" y="29" width="1400" height="771" extended-state="0" />
<editor active="true" />
<layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
......@@ -240,14 +284,15 @@
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32988167" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.37426037" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4733728" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.102356404" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.179676" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32988167" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16863033" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
......@@ -258,7 +303,6 @@
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32988167" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
</layout>
<layout-to-restore>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
......@@ -296,6 +340,10 @@
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="update 3.27" />
<option name="LAST_COMMIT_MESSAGE" value="update 3.27" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
<watches-manager />
......@@ -303,9 +351,47 @@
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/readme.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="255">
<caret line="17" column="3" lean-forward="false" selection-start-line="17" selection-start-column="3" selection-end-line="17" selection-end-column="3" />
<folding />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/TiandituDownload.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2145">
<caret line="143" column="5" lean-forward="true" selection-start-line="143" selection-start-column="5" selection-end-line="143" selection-end-column="5" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3216#3217#0" expanded="true" />
<marker date="1522123711007" expanded="true" signature="4561:4658" ph="select * fro... missingValue" />
<marker date="1522123711007" expanded="true" signature="6855:6932" ph="INSERT INTO missingValue... " />
<marker date="1522123711007" expanded="true" signature="8292:8479" ph="CREATE TABLE... IF" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" column="0" lean-forward="false" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
<folding />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -315,11 +401,11 @@
<caret line="149" column="45" lean-forward="true" selection-start-line="149" selection-start-column="45" selection-end-line="149" selection-end-column="45" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3248#3249#0" expanded="true" />
<element signature="e#3284#3285#0" expanded="true" />
<marker date="1522117421550" expanded="true" signature="4629:4726" ph="select * fro... missingValue" />
<marker date="1522117421550" expanded="true" signature="6923:7000" ph="INSERT INTO missingValue... " />
<marker date="1522117421550" expanded="true" signature="8359:8546" ph="CREATE TABLE... IF" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3216#3217#0" expanded="true" />
<marker date="1522123711007" expanded="true" signature="4561:4658" ph="select * fro... missingValue" />
<marker date="1522123711007" expanded="true" signature="6855:6932" ph="INSERT INTO missingValue... " />
<marker date="1522123711007" expanded="true" signature="8292:8479" ph="CREATE TABLE... IF" />
</folding>
</state>
</provider>
......@@ -328,7 +414,9 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="14" column="87" lean-forward="false" selection-start-line="14" selection-start-column="87" selection-end-line="14" selection-end-column="87" />
<folding />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -338,11 +426,11 @@
<caret line="114" column="60" lean-forward="true" selection-start-line="114" selection-start-column="60" selection-end-line="114" selection-end-column="60" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3248#3249#0" expanded="true" />
<element signature="e#3284#3285#0" expanded="true" />
<marker date="1522117421550" expanded="true" signature="4629:4726" ph="select * fro... missingValue" />
<marker date="1522117421550" expanded="true" signature="6923:7000" ph="INSERT INTO missingValue... " />
<marker date="1522117421550" expanded="true" signature="8359:8546" ph="CREATE TABLE... IF" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3216#3217#0" expanded="true" />
<marker date="1522123711007" expanded="true" signature="4561:4658" ph="select * fro... missingValue" />
<marker date="1522123711007" expanded="true" signature="6855:6932" ph="INSERT INTO missingValue... " />
<marker date="1522123711007" expanded="true" signature="8292:8479" ph="CREATE TABLE... IF" />
</folding>
</state>
</provider>
......@@ -388,7 +476,9 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="15" column="83" lean-forward="false" selection-start-line="11" selection-start-column="8" selection-end-line="15" selection-end-column="83" />
<folding />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -398,11 +488,11 @@
<caret line="11" column="29" lean-forward="false" selection-start-line="11" selection-start-column="13" selection-end-line="11" selection-end-column="29" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3248#3249#0" expanded="true" />
<element signature="e#3284#3285#0" expanded="true" />
<marker date="1522117421550" expanded="true" signature="4629:4726" ph="select * fro... missingValue" />
<marker date="1522117421550" expanded="true" signature="6923:7000" ph="INSERT INTO missingValue... " />
<marker date="1522117421550" expanded="true" signature="8359:8546" ph="CREATE TABLE... IF" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3216#3217#0" expanded="true" />
<marker date="1522123711007" expanded="true" signature="4561:4658" ph="select * fro... missingValue" />
<marker date="1522123711007" expanded="true" signature="6855:6932" ph="INSERT INTO missingValue... " />
<marker date="1522123711007" expanded="true" signature="8292:8479" ph="CREATE TABLE... IF" />
</folding>
</state>
</provider>
......@@ -453,6 +543,25 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/MainForm.form" />
<entry file="file://$PROJECT_DIR$/src/MainForm.java" />
<entry file="file://$PROJECT_DIR$/src/utils/Point.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="7" lean-forward="false" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/CalEnv.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="253">
<caret line="28" column="27" lean-forward="false" selection-start-line="28" selection-start-column="27" selection-end-line="28" selection-end-column="27" />
<folding>
<element signature="e#487#488#0" expanded="true" />
<element signature="e#527#528#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/readme.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
......@@ -464,66 +573,57 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/Point.java">
<entry file="file://$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="7" lean-forward="false" selection-start-line="3" selection-start-column="7" selection-end-line="3" selection-end-column="7" />
<state relative-caret-position="345">
<caret line="23" column="10" lean-forward="false" selection-start-line="23" selection-start-column="10" selection-end-line="23" selection-end-column="10" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/TianDiTuTiledMapServiceType.java">
<entry file="file://$PROJECT_DIR$/src/utils/TiandituTiledMapServiceTypeW.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="30">
<caret line="2" column="3" lean-forward="false" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
<state relative-caret-position="45">
<caret line="3" column="0" lean-forward="false" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/TDTUrl.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-467">
<caret line="9" column="0" lean-forward="true" selection-start-line="9" selection-start-column="0" selection-end-line="9" selection-end-column="0" />
<state relative-caret-position="720">
<caret line="48" column="5" lean-forward="false" selection-start-line="48" selection-start-column="5" selection-end-line="48" selection-end-column="5" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/utils/CalEnv.java">
<entry file="file://$PROJECT_DIR$/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="253">
<caret line="28" column="27" lean-forward="false" selection-start-line="28" selection-start-column="27" selection-end-line="28" selection-end-column="27" />
<state relative-caret-position="135">
<caret line="9" column="55" lean-forward="false" selection-start-line="9" selection-start-column="55" selection-end-line="9" selection-end-column="55" />
<folding>
<element signature="e#487#488#0" expanded="true" />
<element signature="e#527#528#0" expanded="true" />
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/TiandituDownload.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="235">
<caret line="143" column="5" lean-forward="true" selection-start-line="143" selection-start-column="5" selection-end-line="143" selection-end-column="5" />
<state relative-caret-position="79">
<caret line="171" column="81" lean-forward="true" selection-start-line="171" selection-start-column="81" selection-end-line="171" selection-end-column="81" />
<folding>
<element signature="imports" expanded="true" />
<element signature="e#3248#3249#0" expanded="true" />
<element signature="e#3284#3285#0" expanded="true" />
<marker date="1522117421550" expanded="true" signature="4629:4726" ph="select * fro... missingValue" />
<marker date="1522117421550" expanded="true" signature="6923:7000" ph="INSERT INTO missingValue... " />
<marker date="1522117421550" expanded="true" signature="8359:8546" ph="CREATE TABLE... IF" />
<element signature="e#3180#3181#0" expanded="true" />
<element signature="e#3216#3217#0" expanded="true" />
<marker date="1522123711007" expanded="true" signature="4561:4658" ph="select * fro... missingValue" />
<marker date="1522123711007" expanded="true" signature="6855:6932" ph="INSERT INTO missingValue... " />
<marker date="1522123711007" expanded="true" signature="8292:8479" ph="CREATE TABLE... IF" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/Main.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="0" lean-forward="true" selection-start-line="3" selection-start-column="0" selection-end-line="3" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
</component>
<component name="masterDetails">
<states>
......
No preview for this file type
import utils.CalEnv;
import utils.Point;
import utils.TianDiTuTiledMapServiceType;
......@@ -8,12 +7,13 @@ public class Main{
public static void main(String[] args) throws SQLException {
System.out.println("Hello World!");
System.out.println("开始下载,本程序仅支持下载CGCS2000的天地图数据!");
TiandituDownload tiandituDownload = new TiandituDownload("my.db");
Point pt = new Point(29.76,106.64);
Point pt2 = new Point(35.33, 108.12);
tiandituDownload.Download(pt, pt2, 7,9, TianDiTuTiledMapServiceType.VEC_C, true);
tiandituDownload.Download(pt, pt2, 7,9, TianDiTuTiledMapServiceType.IMG_C, true);
}
}
......
import utils.CalEnv;
import utils.*;
import utils.Point;
import utils.TDTUrl;
import utils.TianDiTuTiledMapServiceType;
import javax.imageio.ImageIO;
import java.awt.*;
......@@ -221,6 +219,7 @@ public class TiandituDownload {
}
}
/**
* @param minPoint 下载范围左下角坐标
* @param maxPoint 下载范围右上角坐标
......
......@@ -22,6 +22,7 @@ public class TDTUrl {
this._tiandituMapServiceType = tiandituMapServiceType;
}
public String generatUrl() {
StringBuilder url = new StringBuilder("http://t");
......@@ -41,18 +42,6 @@ public class TDTUrl {
case IMG_C:
url.append(".tianditu.com/DataServer?T=img_c&X=").append(this._col).append("&Y=").append(this._row).append("&L=").append(this._level);
break;
case VEC_W:
url.append(".tianditu.com/DataServer?T=vec_w&X=").append(this._col).append("&Y=").append(this._row).append("&L=").append(this._level);
break;
case CVA_W:
url.append(".tianditu.com/DataServer?T=cva_w&X=").append(this._col).append("&Y=").append(this._row).append("&L=").append(this._level);
break;
case CIA_W:
url.append(".tianditu.com/DataServer?T=cia_w&X=").append(this._col).append("&Y=").append(this._row).append("&L=").append(this._level);
break;
case IMG_W:
url.append(".tianditu.com/DataServer?T=img_w&X=").append(this._col).append("&Y=").append(this._row).append("&L=").append(this._level);
break;
default:
return null;
}
......
......@@ -21,22 +21,6 @@ public enum TianDiTuTiledMapServiceType {
/**
* 影像注记
* */
CIA_C,
/**
* 矢量数据,web墨卡托4326
*/
VEC_W,
/**
* 影像数据
* */
IMG_W,
/**
* 矢量注记
* */
CVA_W,
/**
* 影像注记
* */
CIA_W;
CIA_C;
}
......