Commit adc1e8e86a5b1de0aa11b52f3709c8644431aed5
1 parent
c2cac57b
Exists in
master
and in
7 other branches
Inclusão de novo preview de mapas no editor de mapfiles
Showing
14 changed files
with
93 additions
and
216 deletions
Show diff stats
.project
... | ... | @@ -27,7 +27,7 @@ |
27 | 27 | </natures> |
28 | 28 | <filteredResources> |
29 | 29 | <filter> |
30 | - <id>1418296414935</id> | |
30 | + <id>1428952996735</id> | |
31 | 31 | <name></name> |
32 | 32 | <type>30</type> |
33 | 33 | <matcher> |
... | ... | @@ -36,7 +36,7 @@ |
36 | 36 | </matcher> |
37 | 37 | </filter> |
38 | 38 | <filter> |
39 | - <id>1418296414941</id> | |
39 | + <id>1428952996736</id> | |
40 | 40 | <name></name> |
41 | 41 | <type>26</type> |
42 | 42 | <matcher> |
... | ... | @@ -45,7 +45,7 @@ |
45 | 45 | </matcher> |
46 | 46 | </filter> |
47 | 47 | <filter> |
48 | - <id>1418296414947</id> | |
48 | + <id>1428952996777</id> | |
49 | 49 | <name></name> |
50 | 50 | <type>10</type> |
51 | 51 | <matcher> |
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | </matcher> |
55 | 55 | </filter> |
56 | 56 | <filter> |
57 | - <id>1418296414954</id> | |
57 | + <id>1428952996779</id> | |
58 | 58 | <name></name> |
59 | 59 | <type>14</type> |
60 | 60 | <matcher> | ... | ... |
admin/admin.db
No preview for this file type
3.83 KB
init/dicionario.js
init/index.php
... | ... | @@ -263,6 +263,10 @@ botoesIni.push({ |
263 | 263 | "href":"../exemplos", |
264 | 264 | "titulo":$trad(14,g_traducao_init) |
265 | 265 | },{ |
266 | + "img":"applications-development.png", | |
267 | + "href":"../pacotes/utils/index.php", | |
268 | + "titulo":$trad(33,g_traducao_init) | |
269 | + },{ | |
266 | 270 | "img":"accessories-dictionary.png", |
267 | 271 | "href":"../guia_de_migracao.txt", |
268 | 272 | "titulo":$trad(17,g_traducao_init) | ... | ... |
... | ... | @@ -0,0 +1,28 @@ |
1 | +<?xml version="1.0" encoding="UTF-8"?> | |
2 | +<projectDescription> | |
3 | + <name>utils 6.0</name> | |
4 | + <comment></comment> | |
5 | + <projects> | |
6 | + </projects> | |
7 | + <buildSpec> | |
8 | + <buildCommand> | |
9 | + <name>org.eclipse.wst.validation.validationbuilder</name> | |
10 | + <arguments> | |
11 | + </arguments> | |
12 | + </buildCommand> | |
13 | + <buildCommand> | |
14 | + <name>org.eclipse.dltk.core.scriptbuilder</name> | |
15 | + <arguments> | |
16 | + </arguments> | |
17 | + </buildCommand> | |
18 | + <buildCommand> | |
19 | + <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> | |
20 | + <arguments> | |
21 | + </arguments> | |
22 | + </buildCommand> | |
23 | + </buildSpec> | |
24 | + <natures> | |
25 | + <nature>org.eclipse.wst.jsdt.core.jsNature</nature> | |
26 | + <nature>org.eclipse.php.core.PHPNature</nature> | |
27 | + </natures> | |
28 | +</projectDescription> | ... | ... |
pacotes/utils/.settings/org.eclipse.wst.jsdt.ui.superType.container
0 → 100644
pacotes/utils/.settings/org.eclipse.wst.jsdt.ui.superType.name
0 → 100644
14.2 KB
pacotes/utils/index.php
1 | -<?php | |
2 | -/** | |
3 | - * Pagina inicial do i3Geo | |
4 | - * Voce pode utilizar o parametro customDir para indicar a pasta onde | |
5 | - * as interfaces de mapa estao. Nesse caso, os links utilizarao esse parametro | |
6 | - * Exemplo: localhost/i3geo/init/index.php?customDir=minhaPasta | |
7 | - * | |
8 | - * minhaPasta deve estar dentor da pasta i3geo. | |
9 | - * | |
10 | - * Se dentro da pasta $customDir existir um arquivo chamado index.php sera feito o include | |
11 | - * na pagina. | |
12 | - */ | |
13 | -/** | |
14 | - * Cria as pastas temporarias que o i3Geo precisa, caso nao existam | |
15 | - */ | |
16 | -include(dirname(__FILE__)."/../ms_configura.php"); | |
17 | -if(!empty($_GET["customDir"])){ | |
18 | - $customDir = strip_tags($_GET["customDir"]); | |
19 | -} | |
20 | -else if(empty($customDir)){ | |
21 | - $customDir = "interface"; | |
22 | -} | |
23 | -if(!file_exists($dir_tmp)){ | |
24 | - @mkdir ($dir_tmp,0777); | |
25 | -} | |
26 | -if(file_exists($dir_tmp)){ | |
27 | - @mkdir($dir_tmp."/comum",0777); | |
28 | - @mkdir($dir_tmp."/saiku-datasources",0777); | |
29 | - chmod($dir_tmp."/saiku-datasources",0777); | |
30 | - @mkdir($dir_tmp."/cache",0777); | |
31 | - chmod($dir_tmp."/cache",0777); | |
32 | - @mkdir($dir_tmp."/cache/googlemaps",0777); | |
33 | - chmod($dir_tmp."/cache/googlemaps",0777); | |
34 | -} | |
35 | -if(file_exists($locaplic."/".$customDir."/index.php")){ | |
36 | - include($locaplic."/".$customDir."/index.php"); | |
37 | -} | |
38 | -?> | |
39 | -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
1 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
40 | 2 | <html> |
41 | 3 | <head> |
42 | -<meta name="url" content="http://www.softwarepublico.gov.br" /> | |
43 | -<meta name="description" content="i3Geo" /> | |
44 | -<meta name="keywords" content="i3geo mapa geoprocessamento" /> | |
45 | 4 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
46 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
47 | -<?php | |
48 | -$cache_expire = 1; | |
49 | -header("Pragma: public"); | |
50 | -header("Cache-Control: max-age=".$cache_expire); | |
51 | -header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$cache_expire) . ' GMT'); | |
52 | -?> | |
53 | -<script type="text/javascript" src="../classesjs/i3geo.js"></script> | |
54 | -<script type="text/javascript" src="dicionario.js"></script> | |
55 | -<link rel="stylesheet" type="text/css" href="../admin/html/admin.css"> | |
6 | +<link rel="stylesheet" type="text/css" href="../../admin/html/admin.css"> | |
56 | 7 | |
57 | 8 | <style> |
58 | 9 | body { |
... | ... | @@ -125,191 +76,67 @@ a { |
125 | 76 | <div class="borda"> |
126 | 77 | <div id="bandeiras"></div> |
127 | 78 | <div> |
128 | - <a href="http://www.softwarepublico.gov.br" target="_blank" style="color: white;"><b>i3Geo 6.0</b> </a> | |
79 | + <a href="http://www.softwarepublico.gov.br" target="_blank" style="color: white;"> | |
80 | + <b>i3Geo 6.0</b> | |
81 | + </a> | |
129 | 82 | </div> |
130 | 83 | </div> |
131 | 84 | |
132 | 85 | <div id="conteudo" style="position: relative; top: -10px; margin: auto; max-width: 1000px; left: 10px;"> |
133 | 86 | <div style="margin-top: 5px;"> |
134 | - <?php | |
135 | - if($i3geomaster[0]["usuario"] == "admin" && $i3geomaster[0]["senha"] == "admin" ){ | |
136 | - echo "<p style='font-size:14px;color:red;margin-top:20px;'><script>document.write($"."trad(19,g_traducao_init));</script>"; | |
137 | - } | |
138 | - ?> | |
139 | 87 | <br> |
140 | 88 | <div id="botoes" style=""></div> |
141 | 89 | |
142 | - <div class="r"> | |
143 | - <table> | |
144 | - <tbody> | |
145 | - <tr> | |
146 | - <td> | |
147 | - <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_users.js?style=gray"></script> | |
148 | - </td> | |
149 | - </tr> | |
150 | - </tbody> | |
151 | - </table> | |
152 | - </div> | |
153 | - </div> | |
154 | - <div style="float: left"> | |
155 | - <a href="#" class="r" style="width: 230px; height: 380px;"> | |
156 | - <table> | |
157 | - <tr> | |
158 | - <td> | |
159 | - <a class="twitter-timeline" href="https://twitter.com/i3geo" data-widget-id="288061915689787392" width="220" height="350">Tweets @i3Geo</a> | |
160 | - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
161 | - </td> | |
162 | - </tr> | |
163 | - </table> | |
164 | - </a> <a href="#" class="r" style="width: 230px; height: 380px;"> | |
165 | - <table> | |
166 | - <tr> | |
167 | - <td> | |
168 | - <a class="twitter-timeline" href="https://twitter.com/search?q=@i3geo" data-widget-id="288053202174222336" width="220" height="350">Tweets #i3Geo</a> | |
169 | - <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> | |
170 | - </td> | |
171 | - </tr> | |
172 | - </table> | |
173 | - </a> <a href="#" class="r" style="width: 345px; height: 220px;"> | |
174 | - <table> | |
175 | - <tr> | |
176 | - <td> | |
177 | - <script type="text/javascript" src="http://www.openhub.net/p/150688/widgets/project_basic_stats.js"></script> | |
178 | - </td> | |
179 | - </tr> | |
180 | - </table> | |
181 | - </a> | |
182 | 90 | </div> |
183 | 91 | </div> |
184 | 92 | |
185 | 93 | </body> |
186 | 94 | <script> |
187 | 95 | botoesIni = []; |
188 | -botoesIni.push({ | |
189 | - "img":"start-here.png", | |
190 | - "href":"../testainstal.php", | |
191 | - "titulo":$trad(2,g_traducao_init) | |
192 | - },{ | |
193 | - "img":"applications-development-web.png", | |
194 | - "href":"../admin", | |
195 | - "titulo":$trad(3,g_traducao_init) | |
196 | - },{ | |
197 | - "img":"openlayers.png", | |
198 | - "href":"../<?php echo $customDir; ?>/black_ol.htm", | |
199 | - "titulo":$trad(4,g_traducao_init) | |
200 | - },{ | |
201 | - "img":"openlayersdebug.png", | |
202 | - "href":"../<?php echo $customDir; ?>/openlayersdebug.htm", | |
203 | - "titulo":$trad(5,g_traducao_init) | |
204 | - },{ | |
205 | - "img":"osm.png", | |
206 | - "href":"../<?php echo $customDir; ?>/black_osm.htm", | |
207 | - "titulo":$trad(23,g_traducao_init) | |
208 | - },{ | |
209 | - "img":"mashup.png", | |
210 | - "href":"../mashups", | |
211 | - "titulo":$trad(18,g_traducao_init) + "<br><a href='../mashups/osm.php?temas=&largura=800&altura=500' target=_blank >OSM</a>" + " - <a href='../mashups/openlayers.php?temas=&largura=800&altura=500' target=_blank >OpenLayers</a>" | |
212 | - },{ | |
213 | - "img":"googlemaps.png", | |
214 | - "href":"../<?php echo $customDir; ?>/black_gm.phtml", | |
215 | - "titulo":$trad(6,g_traducao_init) | |
216 | - },{ | |
217 | - "img":"googlemaps_noite.png", | |
218 | - "href":"../<?php echo $customDir; ?>/googlemaps_noite.phtml", | |
219 | - "titulo":$trad(22,g_traducao_init) | |
220 | - },{ | |
221 | - "img":"googleearth.png", | |
222 | - "href":"../<?php echo $customDir; ?>/googleearth.phtml", | |
223 | - "titulo":$trad(7,g_traducao_init) | |
224 | - },{ | |
225 | - "img":"cartogramas.png", | |
226 | - "href":"../<?php echo $customDir; ?>/black_carto_ol.htm", | |
227 | - "titulo":$trad(8,g_traducao_init) | |
228 | - },{ | |
229 | - "img":"editor.png", | |
230 | - "href":"../ferramentas/metaestat/editorlimites.php", | |
231 | - "titulo":$trad(9,g_traducao_init) | |
232 | - },{ | |
233 | - "img":"svn-update.png", | |
234 | - "href":"../datadownload.htm", | |
235 | - "titulo":$trad(10,g_traducao_init) | |
236 | - },{ | |
237 | - "img":"ogc_logo.jpg", | |
238 | - "href":"../ogc.htm", | |
239 | - "titulo":$trad(11,g_traducao_init) | |
240 | - },{ | |
241 | - "img":"application-vnd-google-earth-kml.png", | |
242 | - "href":"../kml.php", | |
243 | - "titulo":$trad(12,g_traducao_init) | |
244 | - },{ | |
245 | - "img":"../imagens/saiku_free_small.png", | |
246 | - "href":"../ferramentas/saiku/esquemaxml.php?locaplic="+window.location.href.replace("/init/index.php",""), | |
247 | - "titulo":$trad(25,g_traducao_init), | |
248 | - "subtitulo": " <a style='cursor:pointer;' target=_blank src='https://medium.com/innovative-business-intelligence/so-people-who-land-on-our-community-download-page-will-notice-a-subtle-difference-when-they-click-1b61aca316c5' >"+$trad(29,g_traducao_init)+"</a>", | |
249 | - },{ | |
250 | - "img":"../imagens/gvsig.jpg", | |
251 | - "href":"../pacotes/gvsig/gvsig2mapfile/upload.htm", | |
252 | - "titulo":$trad(26,g_traducao_init) | |
253 | - },{ | |
254 | - "img":"insert-link.png", | |
255 | - "href":"../geradordelinks.htm", | |
256 | - "titulo":$trad(13,g_traducao_init) | |
257 | - },{ | |
258 | - "img":"atlas.png", | |
259 | - "href":"../atlas", | |
260 | - "titulo":$trad(27,g_traducao_init) | |
261 | - },{ | |
262 | - "img":"folder-image.png", | |
263 | - "href":"../exemplos", | |
264 | - "titulo":$trad(14,g_traducao_init) | |
265 | - },{ | |
266 | - "img":"accessories-dictionary.png", | |
267 | - "href":"../guia_de_migracao.txt", | |
268 | - "titulo":$trad(17,g_traducao_init) | |
269 | - },{ | |
270 | - "img":"accessories-dictionary.png", | |
271 | - "href":"../documentacao", | |
272 | - "titulo":$trad(24,g_traducao_init) | |
273 | - },{ | |
274 | - "img":"accessories-dictionary.png", | |
275 | - "href":"http://moodle.gvsig-training.com/course/view.php?id=11", | |
276 | - "titulo":$trad(28,g_traducao_init) | |
277 | - },{ | |
278 | - "img":"tools-report-bug.png", | |
279 | - "href":"http://svn.softwarepublico.gov.br/trac/i3geo/newticket", | |
280 | - "titulo":$trad(16,g_traducao_init) | |
281 | - },{ | |
282 | - "img":"trac_logo_mini.png", | |
283 | - "href":"http://svn.softwarepublico.gov.br/trac/i3geo/wiki", | |
284 | - "titulo":$trad(30,g_traducao_init) | |
285 | - },{ | |
286 | - "img":"logo_psp.png", | |
287 | - "href":"http://www.softwarepublico.gov.br/ver-comunidade?community_id=1444332", | |
288 | - "titulo":$trad(31,g_traducao_init) | |
289 | - },{ | |
290 | - "img":"mailman.jpg", | |
291 | - "href":"http://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo", | |
292 | - "titulo":$trad(32,g_traducao_init) | |
96 | +botoesIni.push( | |
97 | + { | |
98 | + "img":"", | |
99 | + "href":"rgbcolors.html", | |
100 | + "titulo": "Lista de cores e conversor RGB/HEX/nome" | |
101 | + }, | |
102 | + { | |
103 | + "img":"colorbrewer.png", | |
104 | + "href":"http://colorbrewer2.com/", | |
105 | + "titulo": "Escolha de conjunto de cores - Colorbrewer" | |
106 | + }, | |
107 | + { | |
108 | + "img":"http://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Wikimedia_labs_logo_with_text.svg/103px-Wikimedia_labs_logo_with_text.svg.png", | |
109 | + "href":"http://tools.wmflabs.org/geohack/", | |
110 | + "titulo": "GeoHack" | |
111 | + }, | |
112 | + { | |
113 | + "img":"", | |
114 | + "href":"http://stevemorse.org/jcal/latlon.php", | |
115 | + "titulo": "Conversor de endereços to/from Latitude/Longitude/Altitude" | |
116 | + }, | |
117 | + { | |
118 | + "img":"", | |
119 | + "href":"https://maptools.info/tools/converter/", | |
120 | + "titulo": "Conversor de coordenadas" | |
293 | 121 | } |
294 | 122 | ); |
295 | 123 | mostraBotoes(); |
296 | 124 | |
297 | -i3GEO.configura.locaplic = ".."; | |
298 | -i3GEO.idioma.IDSELETOR = "bandeiras"; | |
299 | -i3GEO.idioma.mostraSeletor(); | |
300 | -i3GEO.barraDeBotoes.ATIVA = false; | |
301 | 125 | function mostraBotoes(){ |
302 | - var ins = [],i,n = botoesIni.length,texto; | |
126 | + var ins = [],i,n = botoesIni.length,texto, img; | |
303 | 127 | for(i=0;i<n;i++){ |
304 | - texto = '<div class="r" ><table ><tr><td><a target=_blank href="'+botoesIni[i].href+'" ><img src="'+botoesIni[i].img+'" /><br><br>'+botoesIni[i].titulo+'</a>'; | |
128 | + img = ""; | |
129 | + if(botoesIni[i].img != ""){ | |
130 | + img = '<img src="'+botoesIni[i].img+'" /><br>'; | |
131 | + } | |
132 | + texto = '<div class="r" ><table ><tr><td><a target=_blank href="'+botoesIni[i].href+'" >'+ img + botoesIni[i].titulo+'</a>'; | |
305 | 133 | if(botoesIni[i].subtitulo){ |
306 | 134 | texto += botoesIni[i].subtitulo; |
307 | 135 | } |
308 | 136 | texto += '</td></tr></table></div>'; |
309 | 137 | ins.push(texto); |
310 | 138 | } |
311 | - $i("botoes").innerHTML = ins.join(""); | |
312 | - $i("conteudo").style.height = i3GEO.util.getScrollHeight() + "px"; | |
139 | + document.getElementById("botoes").innerHTML = ins.join(""); | |
313 | 140 | } |
314 | 141 | |
315 | 142 | </script> | ... | ... |
pacotes/utils/rgbcolors.html
... | ... | @@ -71,7 +71,7 @@ body { |
71 | 71 | </div> |
72 | 72 | <div id="result-text"></div> |
73 | 73 | <p /> |
74 | - <span onclick="showHelp()" style="cursor: pointer; text-decoration: underline">help?</span> | |
74 | + <span onclick="showHelp()" style="cursor: pointer; text-decoration: underline">List</span> | |
75 | 75 | <div id="help"></div> |
76 | 76 | |
77 | 77 | </body> | ... | ... |
temas/_lbiomashp.map