{"id":50,"date":"2007-06-25T14:10:21","date_gmt":"2007-06-25T17:10:21","guid":{"rendered":"http:\/\/www.fernandoquadro.com.br\/html\/2007\/06\/25\/gerando-sld-com-udig\/"},"modified":"2016-05-25T16:38:06","modified_gmt":"2016-05-25T19:38:06","slug":"gerando-sld-com-udig","status":"publish","type":"post","link":"https:\/\/www.fernandoquadro.com.br\/html\/2007\/06\/25\/gerando-sld-com-udig\/","title":{"rendered":"Gerando SLD com uDig"},"content":{"rendered":"<p>O GeoServer utiliza para a cria\u00e7\u00e3o de estilos o padr\u00e3o SLD (Styled Language Descriptor). O SLD \u00e9 um XML baseado na <a href=\"http:\/\/www.opengeospatial.org\/docs\/02-070.pdf\">especifica\u00e7\u00f5es da OGC<\/a>. Isto significa que arquivos SLD criados para o GeoServer pode ser reutilizados para qualquer outro WMS\/WFS que suporte o padr\u00e3o SLD.<\/p>\n<p>Criar esses estilos na m\u00e3o \u00e9 algo n\u00e3o muito agrad\u00e1vel, e em muitos casos bem trabalhoso.<\/p>\n<p>Para facilitar o trabalho, a seguir estarei mostrando como criar estilos utilizando o <a href=\"http:\/\/udig.refractions.net\/confluence\/display\/UDIG\/Home\">uDig (User-friendly Desktop Internet GIS)<\/a> de um jeito r\u00e1pido e f\u00e1cil.<\/p>\n<p>1. Fa\u00e7a o <a href=\"http:\/\/udig.refractions.net\/confluence\/display\/UDIG\/Downloads\">download do uDig1.1RC10<\/a> ;<\/p>\n<p>2. Ap\u00f3s ter instalado, execute o uDig;<\/p>\n<p>3. O sistema apresentar\u00e1 a seguinte tela;<\/p>\n<p><center><a href='http:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2007\/06\/image_udig01.PNG' title='uDig'><img src='http:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2007\/06\/image_udig01.PNG' width=\"427\" heigth=\"331\"  alt='uDig' \/><\/a><\/center><\/p>\n<p>4. Conforme mostra a figura acima selecione a op\u00e7\u00e3o Layer -> Add;<\/p>\n<p>5. O sistema apresentar\u00e1 uma tela onde voc\u00ea dever\u00e1 selecionar a op\u00e7\u00e3o &#8220;Web Feature Type&#8221; e depois &#8220;Avan\u00e7ar&#8221;;<\/p>\n<p>6. Digite o endere\u00e7o do seu servidor WFS;<\/p>\n<p>7. Escolha os layers que deseja visualizar e clique em &#8220;Concluir&#8221;;<\/p>\n<p>8. Selecione a layer desejada, e clicando com o bot\u00e3o direito sobre ela selecione a op\u00e7\u00e3o &#8220;Change Style&#8221;, conforme ilustra a figura abaixo.<\/p>\n<p><center><a href='http:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2007\/06\/image_udig02.PNG' title='uDig'><img src='http:\/\/www.fernandoquadro.com.br\/html\/wp-content\/uploads\/2007\/06\/image_udig02.PNG' width=\"427\" heigth=\"331\"  alt='uDig' \/><\/a><\/center><\/p>\n<p>9. O sistema apresentar\u00e1 uma tela para que possam ser feitas as altera\u00e7\u00f5es no layer;<\/p>\n<p>10. No Style Editor aparecer\u00e3o 3 op\u00e7\u00f5es: Simple, Theme e XML. Na op\u00e7\u00e3o Simples voc\u00ea poder\u00e1 basicamente modificar a cor do layer, trocar a cor da bordar, escala m\u00ednima e m\u00e1xima. J\u00e1 na op\u00e7\u00e3o Theme, voc\u00ea poder\u00e1 escolher atributos do shape, e aplicar temas sobre ele separando por classes (de 2 a 12). A op\u00e7\u00e3o XML, apresentar\u00e1 o c\u00f3digo XML gerado para voc\u00ea copiar e colocar em sua aplica\u00e7\u00e3o.<\/p>\n<p>11. Ap\u00f3s configurar o seu tema, salve o XML em um arquivo com extens\u00e3o SLD, e agora \u00e9 s\u00f3 fazer o upload no GeoServer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>O GeoServer utiliza para a cria\u00e7\u00e3o de estilos o padr\u00e3o SLD (Styled Language Descriptor). O SLD \u00e9 um XML baseado na especifica\u00e7\u00f5es da OGC. Isto significa que arquivos SLD criados para o GeoServer pode ser reutilizados para qualquer outro WMS\/WFS&#8230; <a class=\"more-link\" href=\"https:\/\/www.fernandoquadro.com.br\/html\/2007\/06\/25\/gerando-sld-com-udig\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":275,"featured_media":5202,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,13],"tags":[208,223],"class_list":["post-50","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-geoserver","category-sld","tag-geoserver","tag-gis"],"_links":{"self":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/users\/275"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":1,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":3510,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/posts\/50\/revisions\/3510"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/media\/5202"}],"wp:attachment":[{"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fernandoquadro.com.br\/html\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}