shape_old.html
10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<h1>Subindo Shapefile para i3Geosaude</h1>
<a name="inicio"></a>
<br>
O i3Geosaude possibilita a importação de arquivos
shapes de
mapas para
serem carregados e exibidos em sua inter<span
style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline ! important; float: none;">face.
<br>
</span>Um <a href="http://pt.wikipedia.org/wiki/Shapefile">arquivo
shape</a>, ou <span style="font-weight: bold;">Esri Shapefile</span>,
ou simplesmente <span style="font-weight: bold;">shapefile</span>,
é um formato popular de arquivo contendo dados geoespaciais
em forma de <a href="http://pt.wikipedia.org/wiki/Desenho_vetorial"
title="Desenho vetorial"
style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-color: rgb(255, 255, 255); font-family: sans-serif; font-size: 12.7315px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.1967px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">vetor</a> usado
por <a
href="http://pt.wikipedia.org/wiki/Sistema_de_informa%C3%A7%C3%A3o_geogr%C3%A1fica"
title="Sistema de informação geográfica"
style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-color: rgb(255, 255, 255); font-family: sans-serif; font-size: 12.7315px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.1967px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Sistemas
de Informações Geográficas</a>,
também conhecidos como <a
href="http://pt.wikipedia.org/wiki/Sistema_de_informa%C3%A7%C3%A3o_geogr%C3%A1fica"
title="Sistema de informação geográfica"
style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-color: rgb(255, 255, 255); font-family: sans-serif; font-size: 12.7315px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.1967px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">SIG</a>.
Foi desenvolvido e regulamentado pela organização
denominada <a href="http://pt.wikipedia.org/wiki/Esri" title="Esri"
class="mw-redirect"
style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-color: rgb(255, 255, 255); font-family: sans-serif; font-size: 12.7315px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.1967px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Esri</a>,
como ums especificação aberta<span
style="text-decoration: none; color: rgb(11, 0, 128); background-image: none; background-color: rgb(255, 255, 255); font-family: sans-serif; font-size: 12.7315px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.1967px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">
</span>para interoperabilidade de
dados geográficos.<br>
<span
style="color: rgb(34, 34, 34); font-family: arial,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255); display: inline ! important; float: none;">A
seguir será demostrado como enviar arquivos shapes
para
serem exibidos no ambiente i3GeoSaúde.<br>
</span><br>
<div class="trail-box">
<div class="trail-box-header"><img src="./files/trails-box-tr.png"
class="right" alt="" height="21" width="7"><img
src="./files/trails-box-tl.png" class="left" alt="" height="21"
width="7">
<h1><span style="font-weight: bold;">Enviando um Shape </span><a
name="indice_admin"></a></h1>
</div>
<div class="trail-box-content">Para
demonstrar a funcionalidade de envio de arquivos shape ao
i3GeoSaúde, iremos
utilizar um dos shape disponivel na área de <b
style="border: medium none ; margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-family: verdana,sans-serif; font-size: 11.2px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255);">Mapeamento
Topográfico</b>, presente
no portal do IBGE, em <a
href="http://www.ibge.gov.br/home/geociencias/default_prod.shtm">http://www.ibge.gov.br/home/geociencias/default_prod.shtm</a>
.<br>
<br>
Escolha um shape e envia os arquivos ao Geosúde. Para isso,
utilize o menu suspenso
"Ferramenta"
e selecione o item "Vetor", conforme exemplificado na <span
style="font-weight: bold;">Figura 1</span>.<br>
<br>
<img style="width: 547px; height: 468px;" alt="menuuploud"
src="imagens/shape/shp02.jpg"><br>
<span style="font-weight: bold;">Figura
1: </span>Menu ferramentas.<br>
<br>
Em seguida, surgirá uma janela solicitando o tipo de arquivo
que será
enviado ao servidor. Neste caso, selecione o item "Shape File",
conforme <span style="font-weight: bold;">Figura
2</span>.<br>
<br>
<img style="width: 282px; height: 223px;" alt="selecionando o shape"
src="imagens/shape/shp03.jpg"><br>
<span style="font-weight: bold;">Figura
2: </span>Seleção
do
tipo de arquivo<span style="font-weight: bold;">.</span><br>
<br>
Após a seleção, surgirá
uma nova janela (<span style="font-weight: bold;">Figura 3</span>)
na qual iremos selecionar
os arquivos de nosso shape. Para carregar o arquivo de
extensão <span style="font-style: italic;">.shp</span>,<span
style="font-style: italic;"> </span>deve-se
clicar
no botão ''Escolher arquivo", conforme a<span
style="font-weight: bold;"> Figura 3</span>.<br>
<br>
<img style="width: 396px; height: 576px;"
alt="selecionando os arquivos do shape" src="imagens/shape/shp04.jpg"><br>
<span style="font-weight: bold;">Figura
3</span>: Carregando shape.<br>
<br>
Em seguida, selecionamos o arquivo do shape com a
extensão <span style="font-style: italic;">.shp</span>
e
clique no botão Open (também chamado "Abrir'' ou
''OK'').<br>
<br>
<img style="width: 455px; height: 338px;" alt="arquivo shp"
src="imagens/shape/shp05.jpg"><br>
<span style="font-weight: bold;">Figura
4: </span>Escolhendo arquivo <span style="font-style: italic;">shp</span>.<br
style="font-weight: bold;">
<br>
<br>
Agora faremos o mesmo para os demais arquivos (shx e dbf),
obedecendo o
formato solicitado para cada um.<br>
<br>
Para o Arquivo <span style="font-style: italic;">shx</span>
iremos novamente clicar no botão
''Escolher arquivo''(<span style="font-weight: bold;">Figura 5</span>),
localizado abaixo da opção <span
style="font-style: italic;">shp</span>
(<span style="font-weight: bold;">Figura
4</span>). Feito isso,
selecione o arquivo do shape que tenha a extensão
correspondente a solicitada, em seguida clique em "Open", confome <span
style="font-weight: bold;">Figura 6</span>.<br>
<br>
<img style="font-weight: bold; width: 310px; height: 52px;"
alt="arquivo shx" src="imagens/shape/shp07.jpg"><br
style="font-weight: bold;">
<span style="font-weight: bold;">Figura
5:</span> clicando no
botão "Escolher arquivo" no formato <span
style="font-style: italic;">shx.</span><br>
<br>
<img style="width: 455px; height: 344px;" alt="arquivo shx"
src="imagens/shape/shp09.jpg"><br>
<span style="font-weight: bold;">Figura
6:</span> Escolhendo arquivo <span style="font-style: italic;">shx</span>.<br>
<br>
Para o Arquivo <span style="font-style: italic;">dbf</span>
iremos novamente clicar no botão ''Escolher
arquivo'' (<span style="font-weight: bold;">Figura
7</span>) situado abaixo de arquivo <span style="font-style: italic;">shx</span>
(<span style="font-weight: bold;">Figura
4</span>). Em seguida,
surgirá uma nova janela flutante para
seleção do arquivo do shape que tenha a
extensão
correspondente a solicitada; clique em "Open", como indicado
na <span style="font-weight: bold;">Figura
8</span>.<br>
<br>
<img style="font-weight: bold; width: 298px; height: 52px;" alt="sbf"
src="imagens/shape/shp08.jpg"><br style="font-weight: bold;">
<span style="font-weight: bold;">Figura
7:</span> Clicando em
Botão "Escoher arquivo".<br>
<br>
<img style="width: 457px; height: 341px;" alt="dbf"
src="imagens/shape/shp10.jpg"><br>
<span style="font-weight: bold;">Figura
8:</span>
Seleção de arquivo <span style="font-style: italic;">dbf.</span><br>
<br>
Uma vez selecionados todos os arquivos de seu shape (<span
style="font-weight: bold;">Figura 9</span>,
item 1), clique no
botão "Enviar'', conforme <span style="font-weight: bold;">Figura
9</span>,<span style="font-weight: bold;"> </span>item
2. Se tudo estiver correto surgirá uma menssagem
informando que o tema foi criado (<span style="font-weight: bold;">Figura
9</span>,
item 3).<br>
<br>
<img style="width: 396px; height: 571px;" alt="shp"
src="imagens/shape/shp15.jpg"><br>
<span style="font-weight: bold;">Figura
9:</span> Clicando no
botão "Enviar" para upload do shape.<br>
<br>
Após clicar em "Enviar" (<span style="font-weight: bold;">Figura
9</span>)
será redesenhado o shape no i3GeoSaúde, como pode
ser visto
na <span style="font-weight: bold;">Figura
10</span>. <br>
<br>
<img style="width: 607px; height: 463px;" alt="shape carregado"
src="imagens/shape/shp14.jpg"><br>
<span style="font-weight: bold;">Figura
10</span>: Shape redesenhado na
interface <span style="font-style: italic;">OpenLayer</span>.<br>
<br>
</div>
<div class="trail-box-bottom">
<img src="./files/trails-box-br.png" class="right" alt="" height="6"
width="7"><img src="./files/trails-box-bl.png" class="left" alt=""
height="6" width="7"></div>
</div>
<div class="imginicio"><a href="#top"><img title="Topo"
style="border: 0px solid ; width: 41px; height: 35px;" alt="Topo"
src="files/topo.gif"></a></div>
<br>
<br>
</div>
</div>
</div>