[QGIS-pt] Cor por Atributo
Pedro Ribeiro
pedrib.stt gmail.com
Quinta-Feira, 16 de Abril de 2015 - 07:01:42 PDT
Boa-tarde.
Não, não tenho seleccionados os plugins experimentais.
O problema agora é que o ícone que passou a figurar na toolbar na realidade
não faz nada...
E não consigo fazer aparecer o QGIS_EPANET na toolbox Processing...
Como é que se configura o caminho para o ficheiro executável?...
Install the plugin
Simply put this directory in the plugin directory. On linux:
cd ~/.qgis2/python/plugin
git clone https://github.com/Oslandia/qgis-epanet.git
You then need to run QGIS, install the processing plugin and configure the
path to the epanet executable in QGIS menu Processsing->Options and
configuration.
Note: On Windows, choose epanet2d.exe.
(https://github.com/Oslandia/qgis-epanet)
2015-04-16 14:14 GMT+01:00 Alexandre Neto <senhor.neto gmail.com>:
> Pedro,
>
> Se continuares a encontrar plugins, verifica nas configurações dos plugins
> tens seleccionadas os plugins "experimentais".
>
> Alexandre Neto
>
> 2015-04-16 12:39 GMT+01:00 Pedro Ribeiro <pedrib.stt gmail.com>:
>
>> Usei novamente a pasta *qgis-epanet-master* (
>> https://github.com/Oslandia/qgis-epanet, botão *Download ZIP*) e deu!!!
>>
>> Não sei o que estava a fazer errado...
>>
>> Já aparece um ícone na toolbar embora o plugin não figure no respectivo
>> menu...
>>
>> Uma das coisas que fiz de diferente foi o *unzip* da pasta de exemplos *simple_network
>> *(localizada dentro da anterior...)
>>
>> Obrigado,
>> PR
>>
>> 2015-04-16 12:28 GMT+01:00 Giovanni Manghi <giovanni.manghi gmail.com>:
>>
>>> A pasta se deve chamar só "qgis_epanet"
>>> On Apr 16, 2015 12:27, "Pedro Ribeiro" <pedrib.stt gmail.com> wrote:
>>>
>>>> A versão anterior também devolve:
>>>>
>>>> This plugin is broken
>>>> Missing metadata file qgis_epanet-1.0.2
>>>>
>>>> Installed version: ? (in
>>>> C:\Users\PedroRibeiro\.qgis2\python\plugins\qgis_epanet-1.0.2)
>>>>
>>>> E não ficam disponíveis para utilização.
>>>>
>>>> ...
>>>>
>>>> 2015-04-16 12:12 GMT+01:00 Pedro Ribeiro <pedrib.stt gmail.com>:
>>>>
>>>>> Fui a http://plugins.qgis.org/plugins/qgis_epanet/version/1.0.3/ e
>>>>> fiz o download.
>>>>>
>>>>> Coloquei na pasta dos plugins.
>>>>>
>>>>> Apareceu mas quando instalei deu a seguinte mensagem:
>>>>>
>>>>> This plugin is broken
>>>>> Missing metadata file qgis_epanet-1.0.3
>>>>>
>>>>> Installed version: ? (in
>>>>> C:\Users\PedroRibeiro\.qgis2\python\plugins\qgis_epanet-1.0.3)
>>>>>
>>>>> ?...
>>>>>
>>>>> 2015-04-16 12:00 GMT+01:00 Giovanni Manghi <giovanni.manghi gmail.com>
>>>>> :
>>>>>
>>>>>> o primeiro, chama-se "qgis_epanet".
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2015-04-16 11:58 GMT+01:00 Pedro Ribeiro <pedrib.stt gmail.com>:
>>>>>>
>>>>>>> O módulo da Oslândia ou o GHydraulics?... Onde é que procurou? Em *Plugins
>>>>>>> > Manage and Install Plugins... > Search: *QGIS-Ep...?
>>>>>>>
>>>>>>> 2015-04-16 11:55 GMT+01:00 Giovanni Manghi <
>>>>>>> giovanni.manghi gmail.com>:
>>>>>>>
>>>>>>>> eu aqui o vejo e instala sem problemas.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2015-04-16 11:54 GMT+01:00 Pedro Ribeiro <pedrib.stt gmail.com>:
>>>>>>>>
>>>>>>>>> Bem, eu estava a tratar de colocar a pasta zipada
>>>>>>>>> *qgis-epanet-master* (https://github.com/Oslandia/qgis-epanet,
>>>>>>>>> botão *Download ZIP*) na pasta dos plug-in do QGIS...
>>>>>>>>>
>>>>>>>>> É que quando vou ao repositório oficial e introduzo QGIS-Epanet
>>>>>>>>> não aparece nada (Plugins > Manage and Install Plugins... > Search:
>>>>>>>>> QGIS-Ep... )...
>>>>>>>>>
>>>>>>>>> A mesma coisa no Processing...
>>>>>>>>>
>>>>>>>>> 2015-04-16 11:43 GMT+01:00 Pedro Ribeiro <pedrib.stt gmail.com>:
>>>>>>>>>
>>>>>>>>>> Mais uma vez, bom-dia.
>>>>>>>>>>
>>>>>>>>>> Giovanni, não estou a perceber como instalar o plug-in *epanet2*.
>>>>>>>>>>
>>>>>>>>>> Na página https://github.com/Oslandia/qgis-epanet vem:
>>>>>>>>>>
>>>>>>>>>> Install the plugin
>>>>>>>>>>
>>>>>>>>>> Simply put this directory in the plugin directory. On linux:
>>>>>>>>>>
>>>>>>>>>> cd ~/.qgis2/python/plugin
>>>>>>>>>>
>>>>>>>>>> git clone https://github.com/Oslandia/qgis-epanet.git
>>>>>>>>>>
>>>>>>>>>> You then need to run QGIS, install the processing plugin and
>>>>>>>>>> configure the path to the epanet executable in QGIS menu
>>>>>>>>>> Processsing->Options and configuration.
>>>>>>>>>>
>>>>>>>>>> Note: On Windows, choose epanet2d.exe.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> As linhas de código dizem respeito a instalações em Linux apenas,
>>>>>>>>>> certo? Mas, em Windows, escolher *epanet2.exe? O*nde?...
>>>>>>>>>>
>>>>>>>>>> 2015-04-16 10:45 GMT+01:00 Giovanni Manghi <
>>>>>>>>>> giovanni.manghi gmail.com>:
>>>>>>>>>>
>>>>>>>>>>> há outro
>>>>>>>>>>>
>>>>>>>>>>> http://www.oslandia.com/qgis-plugin-for-water-management-en.html
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2015-04-16 10:43 GMT+01:00 João Gaspar <
>>>>>>>>>>> joao.f.r.gaspar gmail.com>:
>>>>>>>>>>>
>>>>>>>>>>>> Olá Pedro, não é a minha área mas já deste uma vista de olhos
>>>>>>>>>>>> no gestor de módulos no módulo
>>>>>>>>>>>>
>>>>>>>>>>>> GHydraulics
>>>>>>>>>>>> Hydraulic analysis of water supply networks (using EPANET)
>>>>>>>>>>>>
>>>>>>>>>>>> Vê aqui o funcionamento.
>>>>>>>>>>>> http://epanet.de/ghydraulics/index.html.en
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Cumprimentos
>>>>>>>>>>>> João Gaspar
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> No dia 16 de abril de 2015 às 10:33, Pedro Ribeiro <
>>>>>>>>>>>> pedrib.stt gmail.com> escreveu:
>>>>>>>>>>>>
>>>>>>>>>>>>> Obrigado Alexandre e demais utilizadores,
>>>>>>>>>>>>>
>>>>>>>>>>>>> era o parâmetro *alpha* que de facto deve tomar valores
>>>>>>>>>>>>> inteiros do intervalo 0 - 255.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Agora uma questão diferente: existe algum *plug-in* da área
>>>>>>>>>>>>> da hidráulica que permita identificar válvulas a seccionar e respectivos
>>>>>>>>>>>>> ramais/clientes afectados?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Ou tenho de criar uma topologia à medida? (brrr....)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Estou a referir-me ao caso especial de redes de abastecimento
>>>>>>>>>>>>> de águas...
>>>>>>>>>>>>>
>>>>>>>>>>>>> Bom-dia,
>>>>>>>>>>>>> Pedro Ribeiro
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2015-04-15 18:16 GMT+01:00 Pedro Ribeiro <pedrib.stt gmail.com
>>>>>>>>>>>>> >:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Alexandre,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> na janela de selecção de cor, ao fazer variar o 'opacity'
>>>>>>>>>>>>>> (penso que será o alpha que refere), verifico que está compreendido entre 0
>>>>>>>>>>>>>> e 1...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Mas vou experimentar alterar esses valores no campo que estou
>>>>>>>>>>>>>> a utilizar para diferenciar a cor... (utilizar 255 para o 4º parâmetro)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Até já,
>>>>>>>>>>>>>> PR
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2015-04-15 18:00 GMT+01:00 Alexandre Neto <
>>>>>>>>>>>>>> senhor.neto gmail.com>:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Pedro,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Se não estou enganado, os últimos valores dizem respeito ao
>>>>>>>>>>>>>>> alpha (transparência). Não deveriam ser 255?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Abraç,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Alexandre
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2015-04-15 16:49 GMT+01:00 Pedro Ribeiro <
>>>>>>>>>>>>>>> pedrib.stt gmail.com>:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Desculpem esta história do tamanho dos ficheiros.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Envio um extracto da tabela com o campo que estou a
>>>>>>>>>>>>>>>> utilizar e as opções que escolhi para as propriedades da layer...
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Obrigado,
>>>>>>>>>>>>>>>> PR
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cor_01.png
>>>>>>>>>>>>>>>> <https://docs.google.com/file/d/0B2KAHkE453ZuRGpDTTFxR25sSVU/edit?usp=drive_web>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Cor_02.png
>>>>>>>>>>>>>>>> <https://docs.google.com/file/d/0B2KAHkE453ZubFlaTU1BQ05CVHM/edit?usp=drive_web>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2015-04-15 16:10 GMT+01:00 Giovanni Manghi <
>>>>>>>>>>>>>>>>>> giovanni.manghi gmail.com>:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> > Não funciona... Os objectos deixam de estar
>>>>>>>>>>>>>>>>>>> visíveis... Será que não é
>>>>>>>>>>>>>>>>>>> > possível definir cores diferentes no mesmo layer
>>>>>>>>>>>>>>>>>>> vectorial
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> claro que é possível, estou a usar esta funcionalidade
>>>>>>>>>>>>>>>>>>> neste momento :)
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Giovanni Manghi
>>>>>>>>>>>>>>>>>>> http://naturalgis.pt/
>>>>>>>>>>>>>>>>>>> giovanni.manghi naturalgis.pt
>>>>>>>>>>>>>>>>>>> * WebGIS development
>>>>>>>>>>>>>>>>>>> * QGIS/PostGIS Training
>>>>>>>>>>>>>>>>>>> * QGIS Support and Consulting
>>>>>>>>>>>>>>>>>>> * QGIS development
>>>>>>>>>>>>>>>>>>> Google+/Hangouts: giovanni.manghi gmail.com
>>>>>>>>>>>>>>>>>>> Giovanni is QGIS main tester and active member of its
>>>>>>>>>>>>>>>>>>> development team
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>> QGIS-pt mailing list
>>>>>>>>>>>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>>>>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> QGIS-pt mailing list
>>>>>>>>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> QGIS-pt mailing list
>>>>>>>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> QGIS-pt mailing list
>>>>>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> QGIS-pt mailing list
>>>>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Giovanni Manghi
>>>>>>>>>>> http://naturalgis.pt/
>>>>>>>>>>> giovanni.manghi naturalgis.pt
>>>>>>>>>>> * WebGIS development
>>>>>>>>>>> * QGIS/PostGIS Training
>>>>>>>>>>> * QGIS Support and Consulting
>>>>>>>>>>> * QGIS development
>>>>>>>>>>> Google+/Hangouts: giovanni.manghi gmail.com
>>>>>>>>>>> Giovanni is QGIS main tester and active member of its
>>>>>>>>>>> development team
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> QGIS-pt mailing list
>>>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> QGIS-pt mailing list
>>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Giovanni Manghi
>>>>>>>> http://naturalgis.pt/
>>>>>>>> giovanni.manghi naturalgis.pt
>>>>>>>> * WebGIS development
>>>>>>>> * QGIS/PostGIS Training
>>>>>>>> * QGIS Support and Consulting
>>>>>>>> * QGIS development
>>>>>>>> Google+/Hangouts: giovanni.manghi gmail.com
>>>>>>>> Giovanni is QGIS main tester and active member of its development
>>>>>>>> team
>>>>>>>> --
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> QGIS-pt mailing list
>>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> QGIS-pt mailing list
>>>>>>> QGIS-pt lists.osgeo.org
>>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Giovanni Manghi
>>>>>> http://naturalgis.pt/
>>>>>> giovanni.manghi naturalgis.pt
>>>>>> * WebGIS development
>>>>>> * QGIS/PostGIS Training
>>>>>> * QGIS Support and Consulting
>>>>>> * QGIS development
>>>>>> Google+/Hangouts: giovanni.manghi gmail.com
>>>>>> Giovanni is QGIS main tester and active member of its development team
>>>>>> --
>>>>>>
>>>>>> _______________________________________________
>>>>>> QGIS-pt mailing list
>>>>>> QGIS-pt lists.osgeo.org
>>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> QGIS-pt mailing list
>>>> QGIS-pt lists.osgeo.org
>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>>
>>>>
>>> _______________________________________________
>>> QGIS-pt mailing list
>>> QGIS-pt lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>>
>>>
>>
>> _______________________________________________
>> QGIS-pt mailing list
>> QGIS-pt lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>>
>>
>
> _______________________________________________
> QGIS-pt mailing list
> QGIS-pt lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
>
>
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.osgeo.org/pipermail/qgis-pt/attachments/20150416/e04046fe/attachment-0001.html>
Mais informações acerca da lista QGIS-pt