[GSAK] Smart Names


Para além do canivete suíço do geocaching, este espaço serve para discussão de outros aplicativos de gestão de bases de dados

Moderadores: hulkman, migueis

Avatar do Utilizador

Geocacher Viciado
Geocacher Viciado

Mensagens: 1779

Registado: quinta 25 mar 2010, 12:14

Localização: everywhere

Mensagem Post: #1 a terça 08 fev 2011, 22:52 

[GSAK] Smart Names

Caros

Usam Smart Names no GSAK? A coisa funciona bem?

Tenho um problema grande com isso. Embora tenha configurado as Drop Words e as Conversions, estes termos continuam a aparecer nos Smart Names que o GSAK gera, tal como podem ver no screenshot. Que raio estou a fazer errado?

untitled.PNG
untitled.PNG (174.68 KiB) Visualizado 1506 vezes
--
BR
Avatar do Utilizador

Geopt Proud Member
Geopt Proud Member

Mensagens: 14160

Registado: quinta 25 mar 2010, 05:07

Mensagem Post: #2 a terça 08 fev 2011, 23:03 

[GSAK] Smart Names

Uma pergunta estúpida.
O que é isso?


Post made by GeoPT mobile system.
Life would be so much easier if we just had the source code.
Imagem
Avatar do Utilizador

Geocacher Viciado
Geocacher Viciado

Mensagens: 1779

Registado: quinta 25 mar 2010, 12:14

Localização: everywhere

Mensagem Post: #3 a terça 08 fev 2011, 23:23 

Re: [GSAK] Smart Names

migueis Escreveu:Uma pergunta estúpida.
O que é isso?


Repara no screenshot. Repara no Waypoint name. Pensa que tens um limite de caracteres para meter o nome da cache no GPS e que o pessoal tem a mania que é esperto e escreve "Projecto Fontes e Miradouros - xpto". Pensa em algo que supostamente retira informação redundante destes nomes. "Projecto Fontes e Miradouros - xpto" em "PFM-xpto" ou "A casa na padaria em frente aos jasmins" em "CasaPadariaFrenteJasmins"..
--
BR
Avatar do Utilizador

Geopt Proud Member
Geopt Proud Member

Mensagens: 10775

Registado: domingo 25 abr 2010, 09:08

Localização: Portugal

Mensagem Post: #4 a terça 08 fev 2011, 23:45 

Re: [GSAK] Smart Names

migueis Escreveu:Uma pergunta estúpida.
O que é isso?

Smart Names
--------------------------------------------------------------------------------
GSAK calculates a unique smart name for every waypoint and stores this name in the database. This unique name is calculated using an algorithm applied to the waypoint description. If you would like to see this smart name, just add this column to your current view (Tools=>Options=>Display). The length of the smart name is set via "Tools=>Options=>General" (global setting) but this can be overridden for each database via Database=>Properties. The database restricts the length of smart names to 20 characters.

Smart names are often preferred to the geocaching.com GCXXXX code because they are more meaningful - especially when sending to your GPSr. It is recommended that you set your smart name length to the same as your maximum GPS waypoint length (Tools=>Options=General)

However, you are not limited to setting the smart name length via the options menu. There are occasions when you might want to change the length of your smart names (For example, you have two GPSr units with different maximum character lengths). For such occasion you can change the length of the smart name on the fly using the %smart=nn special tag. You can also use the Database=>Properties to set different length smart names by database.

Smart names calculate a meaningful unique name. It does this by dropping off superfluous beginning words like "the", "this", "a", and so on, and removing spaces and special characters. Any numbers in the waypoint description are preserved if possible. It then substitutes a number for the final character, if the resulting string would cause a duplicate. It also does "smart" capitalisation of the resulting waypoint name to make it more readable. For example the cache name "The east! lake" would have a "smart name" of EastLa (if using six characters for your smart names). If an existing waypoint already had this name, then the new waypoint would be changed to EastL1.

If you don't like the smart name that is calculated for a waypoint you can manually override this name (right mouse click, select edit). GSAK will then always use that name rather than the calculated smart name. Smart names that have been overridden this way will show in bold typeface in the smart name column.

Note1: Changing the length of the smart name by any means, will cause GSAK to do a re-calculation of the whole database. This can slow things down quite a bit on large databases. If you do not need unique smart names then please use the %ShortName tag. This tag is far more efficient (no database recalculation required regardless of the length) and provides the same result as the smart name with the sole exception that unique names are not guaranteed. Alternatively, go to "Database=>Properties" and check the box "disable smart names" if you don't want or need smart names in a particular database.

Note2: You can disable smart names altogother for any database via "Database=>Properties". If you take the option "Database=>Recaluculate smart names" when smart names are disabled, then all smart names will be cleared (set to blank).
It's not always the find that brings the smiley... Imagem
It's not about the number you've found.
It's about the fun you had along the way.

The only numbers that matter are the friends you make!
It's all about the journey, the challenge, and enjoying the outdoors!
Avatar do Utilizador

Geopt Proud Member
Geopt Proud Member

Mensagens: 10775

Registado: domingo 25 abr 2010, 09:08

Localização: Portugal

Mensagem Post: #5 a terça 08 fev 2011, 23:56 

Re: [GSAK] Smart Names

btrodrigues Escreveu:Caros
Usam Smart Names no GSAK? A coisa funciona bem?
Tenho um problema grande com isso. Embora tenha configurado as Drop Words e as Conversions, estes termos continuam a aparecer nos Smart Names que o GSAK gera, tal como podem ver no screenshot. Que raio estou a fazer errado?

Provavelmente também já leste isto:

Smart name drop words (Tools=>Options=>General)
Separate each word with a ; (semi colon)
The smart name algorithm drops certain words (the, this, a, etc) from the start of the cache name to make it more meaningful.
So "The Swamp" gets a more meaningful name of "Swamp".
This works fine for the English language, but not so well for other languages.
For example, the German or French articles (der/die/das, le/la/les).
You can configure the smart name drop word list via Tools=>Options=>General.
Note these words are only dropped if the cache name begins with one of these words, and it has to be a whole word.

Smart name conversions (Tools=>Options=>General)
This smart name property will allow you to convert the waypoint name text before the smart name algorithm is applied.
Conversions are in the form:
before=after;before=after;.......
So if a particular cache hider uses a similar name for all his placed caches, this will allow you to convert them to your own liking for smart name calculation:
For example, to convert all caches that have the text "Green Mile Series" in them to "GMS" the entry would be:
Green Mile Series=GMS
Note 1: Conversions also support the use of the chr() function to escape the ";" or "=" characters if they exist in the cache name.
It can also be used for characters that are not easily entered from the keyboard.
For more information see Note 2 (below) about Global Replace.

Smart name keep characters (Tools=>Options=>General)
Currently when GSAK calculates smart names from the cache name it only keeps the characters "A..Z", "a..z", and "0..9".
This option allows you to add any characters you like to this list.
Handy for countries like France and Germany where accented characters are used.

--------------------------------------------------------------------------------
Global replace (Database=>Global Replace) will allow you to replace column values for many waypoints in one single action.
The column you select in the replace drop down box will be replaced by the value you select/enter in the "with" section.
Only the waypoints in your current filter are updated.
The dialog remains on the screen (you need to click on cancel to exit ) after doing the replace - the reason being that you are likely wanting to do another replace.
Note1: global replace will protect the integrity of the database. That is, any change that would cause "illogical" values in the database will not be updated. For example if you do a global replace of all caches to "not found", any caches that have found logs will be "protected" and not have their status set to not found.
Note2: Global replace (for string fields) supports any characters via the chr() function. This may be required if you want to update your database with characters that are not easy to access from the keyboard. Also it allows you to use the ; (semi colon character) when using the swap option. The problem with the swap option is that it requires two parameters (from and to) and they must be separated by a ;. So if you wanted to use a ; as part of your actual swap data you have a problem. For example, if you now want to swap any occurrence of ";" to a "!" you would enter: chr(59);!
-----------------------------------------------------------------------------

Aconselho-te a colocares um post idêntico ao que colocaste aqui no fórum de ajuda do GSAK.
Das vezes que necessitei de ajuda foram todos impecáveis e, resolvi os meus problemas com o GSAK rapidamente.
It's not always the find that brings the smiley... Imagem
It's not about the number you've found.
It's about the fun you had along the way.

The only numbers that matter are the friends you make!
It's all about the journey, the challenge, and enjoying the outdoors!
Avatar do Utilizador

Geocacher Viciado
Geocacher Viciado

Mensagens: 1779

Registado: quinta 25 mar 2010, 12:14

Localização: everywhere

Mensagem Post: #6 a quarta 09 fev 2011, 00:32 

Re: [GSAK] Smart Names

Acho que respondeste já. Li a coisa na diagonal e não me apercebi que o "drop words" é só para o início da palavra.
--
BR
Avatar do Utilizador

Geopt Lackey
Geopt Lackey

Mensagens: 7057

Registado: terça 27 abr 2010, 13:57

Mensagem Post: #7 a quarta 09 fev 2011, 09:42 

Re: [GSAK] Smart Names

Voces são lixados... :)
Eu sou dos que tenho desses nomes nas caches...
Aquilo têm um objectivo a médio prazo. Se o vou conseguir cumprir é outra coisa...
Só agora que o Super me arranjou um mês de PM é que comecei a usar o GSAK e estou a aprender as potencialidades do mesmo.
Isso que dizes dos nomes das caches pode ser transposto para mais realidades.
Eu agora, aprendi noutro post, quando passo os pontos para o GPSr retiro as seguinte infos: Tipo de cache / terreno / dificuldade /hint + nome da cache em vez de GC*******. Isto para dizer que para a hint, sobram poucos caracteres depois do tipo/terreno/dificuldade e que a maior parte das hints não são sucintas o suficiente e até poderiam ser. Se em vez de "por debaixo daquelas pedras e etc" fosse "Pedras", já cabia; ou "o muro é teu amigo" e muitas mais...
As minhas tambem não estarão conforme o que estou aqui a dizer mas vou alterar.
Imagem Imagem Imagem Imagem
Avatar do Utilizador

Geocacher Viciado
Geocacher Viciado

Mensagens: 1779

Registado: quinta 25 mar 2010, 12:14

Localização: everywhere

Mensagem Post: #8 a quarta 09 fev 2011, 19:34 

Re: [GSAK] Smart Names

Devia fazer parte das boas práticas na escolha de um nome para uma cache (já se discute isto há muito tempo).

1. uma indicação da zona geográfica onde a cache se encontra. tomando um exemplo recorrente. uma cache chamada "café central". toda a gente sabe que há um café central em toda a terriola de portugal. e uma cache em cada um. e uma cache chamada "café central [coina]" diferencia-se muito bem de uma cache chamada "café central [matosinhos]"

2. prefixos iguais para todas as caches de uma série fazem com que as mesmas sejam praticamente impossíveis de diferenciar num GPS com limite de espaço para o nome. neste caso, sufixos funcionam melhor "powertrail das praias de portugal 1 - apúlia", "powertrail das praias de portugal 34 - areia branca", "powertrail das praias de portugal 94 - supertubos" ficam irreconhecíveis num GPS. "apúlia - powertrail das praias de portugal #1", "areia branca - powertrail das praias de portugal #34", "supertubos - powertrail das praias de portugal #94" são alternativas bem melhores.

3. O smart name do GSAK usa CamelCase para diferenciar os nomes. CamelCase consiste em juntar tudo sem espaços e capitalizar a primeira letra de cada palavra. Ou melhor: CamelCaseConsisteEmJuntarTudoSemEspaçosECapitalizarAPrimeiraLetraDeCadaPalavra. Se a cache se chamar "IGREJA DE NOSSA SENHORA DA CONCEIÇÃO NUM DIA EM QUE TINHA DORES HORRÍVEIS NAS COSTAS E QUE ARROTOU POSTAS DE PESCADA", o GSAK transforma isto em "IGREJADENOSSASENHORADACONCEIÇÃONUMDIAEMQUETINHADORESHORRÍVEISNASCOSTASEQUEARROTOUPOSTASDEPESCADA". Mas se a cache se chamasse "Igreja de Nossa Senhora da Conceição num dia em que tinha dores horríveis nas Costas e que arrotou Postas de Pescada", o smart name seria "IgrejaDeNossaSenhoraDaConceiçãoNumDiaEmQueTinhaDoresHorríveisNasCostasEQueArrotouPostasDePescada". Que é muito mais legível. Escrever tudo em maiúsculas é (online) sinal de estar a gritar e de má educação. Get over it.

A ideia dos smart names é optimizar a informação que mandamos para o GPS, só isso. Torná-la mais visível e identificável.

Calculo que seja um bocado difícil de meter algumas destas ideias na cabeça de alguns geocachers, até porque não usam a aplicação e não sentem qualquer limitação na forma como fazem geocaching quando passam por situações semelhantes, mas...
--
BR

Geopt Proud Member
Geopt Proud Member

Mensagens: 29303

Registado: segunda 15 mar 2010, 20:20

Mensagem Post: #9 a quarta 09 fev 2011, 20:26 

Re: [GSAK] Smart Names

Diria que este post do Bruno, é não só um manual de ajuda para tornar o paperless geocaching mais friendly, como também uma minuta de "boas maneiras" para melhorar a qualidade dos títulos das caches portuguesas.

Creio que todos concordarão que uma cache com o título de: "Castro de Arrebimbomalho [Cabeçadas de Baixo]" é mais facilmente memorizável e a associação ao local visitado é mais imediata que uma cache entre muitas com o título "Castro".

O mesmo se aplica para uma infindável lista de caches com títulos muito berinhas como:

- A grande vista
- A capela, o coreto e a escola
- O poço de água
- As ruínas
- Do jardim à escola
- A grande subida
- Onde eu e a Joana fomos muito felizes
- A cache do António

etc, etc, etc...
Imagem Imagem Imagem Imagem
Avatar do Utilizador

Geopt Lackey
Geopt Lackey

Mensagens: 7057

Registado: terça 27 abr 2010, 13:57

Mensagem Post: #10 a quarta 09 fev 2011, 20:27 

Re: [GSAK] Smart Names

Não podia concordar mais com as vossas considerações...
Assim que chover torrencialmente e não puder ir para o terreno cachar ou andar de Bike, vou alterar as minhas.
Imagem Imagem Imagem Imagem
Próximo

Voltar para GSAK

Quem está ligado:

Utilizadores a ver este Fórum: Nenhum utilizador registado e 2 visitantes

Powered by PHPBB - Geopt.org 2013