Revision 35282

View differences:

tags/v2_0_0_Build_2026/extGazetteer/config/text_pl.properties
1
#Translations for language [pl]
2
#Wed Apr 18 10:44:32 CEST 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=
6
Error_accediendo_a_los_datos=
7
gazetteer_connect=
8
gazetteer_search=
9
layer=Warstwa
10
link=\u0141\u0105cze
11
linkError=
12
linkLoad=
13
loadWMS=
14
mantainold=
15
metadata_catalog=
16
metadata_tree=
17
parameters=Parametry
18
pluginNotFound=
19
pluginNotFoundTitle=
20
postgisError=
21
postgisLoad=
22
Recursos\ Disponibles=
23
search_results=
24
server=Serwer
25
wcsError=
26
wcsLoad=
27
wfsError=
28
wfsLoad=
29
wmsError=
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_it.properties
1
#Translations for language [it]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=Caricamento ArcIMS
4
arcims_server_error=Errore del server ArcIMS
5
catalog_search=Ricerca dei geodati
6
Error_accediendo_a_los_datos=Errore accedendo ai dati
7
gazetteer_connect=Cerca per toponimi
8
gazetteer_search=Cerca per toponimi
9
layer=Layer
10
link=Collegamento
11
linkError=Errore nel caricare il Link
12
linkLoad=Caricamento di una pagina web
13
loadWMS=Caricamento di WMS
14
mantainold=Elimina le ricerche precedenti
15
metadata_catalog=Ricerca di Geodati - Connessione
16
metadata_tree=Albero di Metadati
17
parameters=Parametri
18
pluginNotFound=Non trovo nessuna estensione per caricare questo tipo di risorsa
19
pluginNotFoundTitle=Caricamento di layers
20
postgisError=Errore nel caricare il database
21
postgisLoad=Caricamento Postgis
22
Recursos\ Disponibles=Risorse disponibili
23
search_results=Risultati della ricerca
24
server=Server
25
wcsError=Errore nel caricare la copertura
26
wcsLoad=Caricamento di WCS
27
wfsError=Errore nel caricare la FEATURE
28
wfsLoad=Caricamento di WFS
29
wmsError=Errore nel caricare la mappa
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text.properties
1
#Translations for language [es]
2
#Tue Mar 13 13:27:33 CET 2007
3
abstract=Resumen
4
addLayer=A\u00f1adir capa
5
allWords=Todas las palabras
6
anyResult=La b\u00fasqueda no ha producido ning\u00fan resultado
7
anyWord=Cualquier palabra
8
arcims_image_resource=Imagen ArcIMS
9
arcims_load=Carga de ArcIms
10
arcims_server_error=Error en el servidor ArcIMS
11
arcims_vect_resource=Feature ArcIMS
12
aspect=Configuraci\u00f3n de aspecto
13
attributes=Atributos
14
BRX=BRX\:
15
BRY=BRY\:
16
cancelSearchButton=Cancelar
17
catalog_search=B\u00fasqueda de geodatos
18
cathegory=categor\u00eda
19
cathegoryAny=Cualquiera
20
cathegoryBiota=Biota
21
cathegoryBoundaries=L\u00edmites
22
cathegoryClimatologyMeteorologyAtmosphere=Atmosfera climatol\u00f3gica y meteorol\u00f3gica
23
cathegoryEconomy=Econom\u00eda
24
cathegoryElevation=Elevaci\u00f3n
25
cathegoryEnvironment=Medio ambiente
26
cathegoryFarming=Agricultura
27
cathegoryGeoscientificInformation=Informaci\u00f3n geocient\u00edfica
28
cathegoryHealth=Salud
29
cathegoryImageryBaseMapsEarthCover=Cobertura de la tierra con mapas
30
cathegoryInlandWaters=Aguas interiores
31
cathegoryIntelligenceMilitary=Inteligencia militar
32
cathegoryLocation=Localizaci\u00f3n
33
cathegoryOceans=Oceanos
34
cathegoryPlanningCadastre=Planeamiento catastral
35
cathegorySociety=Sociedad
36
cathegoryStructure=Estructuras
37
cathegoryTransportation=Transporte
38
cathegoryUtilitiesCommunication=Comunicaci\u00f3n y utilidades
39
chooseAttribute=Elige un atributo para hacer la b\u00fasqueda
40
close=Cerrar
41
concordancia=Concordancia
42
connectButton=Conectar
43
coordinates=Coordenadas
44
coordinatesContains=contiene
45
coordinatesEnclose=incluye
46
coordinatesEqual=igual
47
coordinatesFullyOutsideOf=est\u00e1 totalmente fuera de
48
database=Nombre de la base de datos
49
description=Descripci\u00f3n
50
downloadColumn=Descarga
51
Error_accediendo_a_los_datos=Error accediendo a los datos
52
elementName=ElementName
53
errorFENotSupported=De momento s\u00f3lo se pueden hacer consultas usando la codificaci\u00f3n FILTER ENCODING que no est\u00e1 soportada por el servidor
54
errorGetRecords=Se ha producido un error al intentar obtener los registros (getRecords)
55
errorIsASRWServer=Es un servidor SRW\!
56
errorNotCSWSupportedProtocol=Se ha encontrado el servidor, pero no soporta el protocolo CS-W
57
errorNotParsedReply=Error al parsear la respuesta. Se ha encontrado el servidor, pero posiblemente no soporta el protocolo especificado
58
errorNotSupportedCapabilities=Error al hacer un GetCapabilities.Esto puede ser debido a dos razones\: O bien ha habido un error al intentar hacer la operaci\u00f3n, o bien el servidor no soporta el protocolo especificado
59
errorNotSupportedProtocol=El servidor no soporta el protocolo especificado
60
errorNotThesaurusSelected=El protocolo WFS no permite hacer b\u00fasquedas si no se elige un elemento del tesauro
61
errorServerException=El servidor ha devuelto una excepci\u00f3n
62
errorServerNotFound=No se encuentra el servidor
63
errorSOAPProtocol=Error en el protocolo SOAP
64
exactSentence=Frase exacta
65
from=Desde
66
gazetteer_connect=Localizar por Nomencl\u00e1tor
67
gazetteer_search=Localizar por Nomencl\u00e1tor
68
goto=Hacer un zoom a la b\u00fasqueda
69
inteligentSearch=B\u00fasqueda inteligente
70
inteligentSearchAscii=Todas las formas de la palabra
71
keyWords=Palabras clave
72
last=Anterior
73
lastUpdateDate=Fecha de \u00faltima actualizaci\u00f3n
74
layer=Capa
75
link=Enlace
76
linkColumn=P\u00e1gina Web
77
linkError=Ha ocurrido un error al cargar el enlace
78
linkLoad=Carga de un recurso web
79
loadWMS=Carga de WMS
80
localize=Localizar
81
lowerCoordinates=Inferiores
82
mantainold=Eliminar las busquedas anteriores
83
metadata_catalog=B\u00fasqueda de Geodatos - Conexi\u00f3n
84
metadata_tree=\u00c1rbol del Metadato
85
name=Nombre
86
next=Siguiente
87
of=de
88
page=P\u00e1gina
89
paint=Dibujar el resultado
90
parameters=Par\u00e1metros
91
pluginNotFound=No tienes ninguna extensi\u00f3n para cargar recursos de este tipo
92
pluginNotFoundTitle=Carga de capas
93
postgisColumn=Postgis
94
postgisError=Ha ocurrido un error al cargar la base de datos
95
postgisLoad=Carga de Postgis
96
propertiesNameWindow=Ventana de propiedades
97
protocolsGroup=Protocolos
98
provider=Proveedor
99
purpose=Prop\u00f3sito
100
Recursos\ Disponibles=Recursos Disponibles
101
reproyectar_aviso=La proyecci\u00f3n de la capa no es igual que la de la vista.\nAVISO\: Puede ser inexacto con algunas transformaciones.\nPor favor, lea la documentaci\u00f3n.
102
reproyectar_pregunta=\u00bfDesea reproyectar?
103
resourceLinkColumn=Enlace
104
resourceShowColumn=Ver
105
resourceTypeColumn=Tipo
106
restrictArea=Restringir el area de b\u00fasqueda
107
results=Resultados
108
resutsByPage=Resultados por p\u00e1gina
109
return=Volver
110
rootName=Ra\u00edz
111
scale=Escalar
112
scaleAny=cualquiera
113
scaleI=>1.000.000
114
scaleII=1.000.000 - 250.000
115
scaleIII=250.000 - 50.000
116
scaleIV=50.000 - 10.000
117
scaleV=10.000 - 5000
118
scaleVI=<5.000
119
search_results=Resultados de la b\u00fasqueda
120
searchButton=Buscar
121
server=Servidor
122
serverReply=Respuesta del servidor
123
serverURL=Introduzca la direcci\u00f3n donde se encuentra el servidor de cat\u00e1logo
124
serverURLCat=Introduzca la direcci\u00f3n donde se encuentra el servidor de nomencl\u00e1tor
125
title=T\u00edtulo
126
to=Hasta
127
type=Tipo
128
ULX=ULX\:
129
ULY=ULY\:
130
unknown=Desconocido
131
upperCoordinates=Superiores
132
value=Valor
133
version=Versi\u00f3n
134
wcsColumn=Cobertura
135
wcsError=Ha ocurrido un error al cargar la cobertura
136
wcsLoad=Carga de WCS
137
wfsColumn=Feature
138
wfsError=Ha ocurrido un error al cargar la feature
139
wfsLoad=Carga de WFS
140
wmsColumn=Mapa
141
wmsError=Ha ocurrido un error al cargar el mapa
0 142

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_ro.properties
1
#Translations for language [ro]
2
#Thu Mar 01 10:01:15 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=
6
Error_accediendo_a_los_datos=
7
gazetteer_connect=
8
gazetteer_search=
9
layer=invelis
10
link=Legatura
11
linkError=
12
linkLoad=
13
loadWMS=
14
mantainold=
15
metadata_catalog=
16
metadata_tree=
17
parameters=Parametri
18
pluginNotFound=
19
pluginNotFoundTitle=
20
postgisError=
21
postgisLoad=
22
Recursos\ Disponibles=
23
search_results=
24
server=Server
25
wcsError=
26
wcsLoad=
27
wfsError=
28
wfsLoad=
29
wmsError=
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_zh.properties
1
#Translations for language [zh]
2
#Mon Feb 26 16:06:24 CET 2007
3
abstract=\u7b80\u4ecb
4
addLayer=\u6dfb\u52a0\u56fe\u5c42
5
allWords=\u6240\u6709\u6587\u5b57
6
anyResult=\u65e0\u6cd5\u627e\u5230\u60a8\u6240\u9700\u8981\u7684\u7ed3\u679c
7
anyWord=\u4efb\u4f55\u6587\u5b57
8
arcims_image_resource=ArcIMS \u56fe\u7247
9
arcims_load=\u8f7d\u5165 ArcIMS
10
arcims_server_error=ArcIMS \u670d\u52a1\u5668\u51fa\u9519
11
arcims_vect_resource=ArcIMS \u7279\u6027
12
aspect=\u5916\u89c2\u8bbe\u7f6e
13
attributes=\u7279\u6027
14
BRX=BRX\:
15
BRY=BRY\:
16
cancelSearchButton=\u53d6\u6d88
17
catalog_search=Geodata \u641c\u7d22
18
cathegory=\u7c7b\u522b
19
cathegoryAny=\u4efb\u4f55
20
cathegoryBiota=\u751f\u7269
21
cathegoryBoundaries=\u754c\u7ebf
22
cathegoryClimatologyMeteorologyAtmosphere=\u5927\u6c14\u6c14\u5019\u4e0e\u6c14\u8c61
23
cathegoryEconomy=\u7ecf\u6d4e\u5b66
24
cathegoryElevation=\u63d0\u9ad8
25
cathegoryEnvironment=\u73af\u5883
26
cathegoryFarming=\u519c\u4e1a
27
cathegoryGeoscientificInformation=\u5730\u7406\u79d1\u5b66\u4fe1\u606f
28
cathegoryHealth=\u5065\u5eb7
29
cathegoryImageryBaseMapsEarthCover=\u57fa\u4e8e\u5730\u56fe\u7684\u5730\u7403\u5c01\u9762
30
cathegoryInlandWaters=\u6e2f\u5185\u6c34\u57df
31
cathegoryIntelligenceMilitary=\u519b\u4e8b\u60c5\u62a5
32
cathegoryLocation=\u672c\u5730\u5316
33
cathegoryOceans=\u6d77\u6d0b
34
cathegoryPlanningCadastre=\u89c4\u5212\u5730\u7c4d
35
cathegorySociety=\u793e\u4f1a
36
cathegoryStructure=\u7ed3\u6784
37
cathegoryTransportation=\u8fd0\u8f93
38
cathegoryUtilitiesCommunication=\u516c\u7528\u901a\u4fe1
39
chooseAttribute=\u5728\u641c\u7d22\u4e4b\u524d\u5148\u9009\u5b9a\u4e00\u79cd\u7279\u6027
40
close=\u5173\u95ed
41
concordancia=\u63a5\u53d7
42
connectButton=\u8fde\u63a5
43
coordinates=\u5750\u6807
44
coordinatesContains=\u5305\u542b
45
coordinatesEnclose=\u5305\u62ec
46
coordinatesEqual=\u4e00\u81f4
47
coordinatesFullyOutsideOf=\u5b8c\u5168\u5728...\u4e4b\u5916
48
database=\u6570\u636e\u5e93\u540d\u79f0
49
description=\u63cf\u8ff0
50
downloadColumn=\u4e0b\u8f7d
51
Error_accediendo_a_los_datos=\u8bfb\u53d6\u6570\u636e\u65f6\u51fa\u9519
52
errorFENotSupported=gvSIG \u53ea\u652f\u6301 FILTER ENCODING \u7f16\u7801\u67e5\u8be2
53
errorGetRecords=\u8fd0\u884c getRecords \u65f6\u51fa\u9519
54
errorIsASRWServer=\u8fd9\u662f SRW \u670d\u52a1\u5668\!
55
errorNotCSWSupportedProtocol=\u670d\u52a1\u5668\u5df2\u53d1\u73b0\uff0c\u4f46\u662f\u5b83\u4e0d\u652f\u6301 CSW \u534f\u8bae
56
errorNotParsedReply=\u89e3\u6790\u7b54\u6848\u65f6\u51fa\u9519\u3002\u670d\u52a1\u5668\u5df2\u53d1\u73b0\uff0c\u4f46\u662f\u6709\u53ef\u80fd\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
57
errorNotSupportedCapabilities=\u8fd0\u884c GetCapabilities \u65f6\u51fa\u9519\u3002\u53ef\u80fd\u662f\u56e0\u4e3a\u8fd9\u4e24\u79cd\u539f\u56e0\: \u6216\u662f\u5728\u8fd0\u884c\u65f6\u53d1\u751f\u9519\u8bef\u6216\u8005\u662f\u670d\u52a1\u5668\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
58
errorNotSupportedProtocol=\u670d\u52a1\u5668\u4e0d\u652f\u6301\u6307\u5b9a\u534f\u8bae
59
errorNotThesaurusSelected=WFS \u534f\u8bae\u65e0\u6cd5\u5de5\u4f5c\u5982\u679c\u60a8\u6ca1\u6709\u9009\u5b9a\u8bcd\u5e93\u3002
60
errorServerException=\u670d\u52a1\u5668\u5df2\u8fd4\u56de\u4f8b\u5916
61
errorServerNotFound=\u670d\u52a1\u5668\u4e0d\u5b58\u5728
62
errorSOAPProtocol=SOAP \u534f\u8bae\u51fa\u9519
63
exactSentence=\u5b8c\u6574\u5b57\u53e5
64
from=\u6765\u81ea
65
gazetteer_connect=\u6839\u636e\u5730\u540d\u5b9a\u4f4d
66
gazetteer_search=\u6839\u636e\u5730\u540d\u5b9a\u4f4d
67
goto=\u7f29\u653e\u641c\u5bfb\u533a\u57df
68
inteligentSearch=\u667a\u80fd\u641c\u7d22
69
inteligentSearchAscii=\u6240\u6709\u8bcd\u8868
70
keyWords=\u5173\u952e\u5b57
71
last=\u4e0a\u6b21
72
lastUpdateDate=\u4e0a\u6b21\u66f4\u65b0
73
layer=\u56fe\u5c42
74
link=\u94fe\u63a5
75
linkColumn=\u7f51\u7ad9
76
linkError=\u8f7d\u5165\u94fe\u63a5\u65f6\u51fa\u9519
77
linkLoad=\u8f7d\u5165\u7f51\u9875\u8d44\u6e90
78
loadWMS=\u8f7d\u5165WMS 
79
localize=\u5b9a\u4f4d
80
lowerCoordinates=\u4e0b
81
mantainold=\u5220\u9664\u65e7\u641c\u7d22
82
metadata_catalog=Geodata \u641c\u7d22 - \u8fde\u63a5
83
metadata_tree=\u5143\u6570\u636e\u56fe\u8868
84
name=\u540d\u79f0
85
next=\u7ee7\u7eed
86
of=\u7684
87
page=\u9875
88
paint=\u63cf\u5199\u7ed3\u679c
89
parameters=\u53c2\u6570
90
pluginNotFound=\u6ca1\u6709\u6269\u5c55\u53ef\u8f7d\u5165\u6b64\u7c7b\u8d44\u6e90
91
pluginNotFoundTitle=\u8f7d\u5165\u56fe\u5c42
92
postgisColumn=PostGIS
93
postgisError=\u8f7d\u5165\u6570\u636e\u5e93\u65f6\u51fa\u9519
94
postgisLoad=\u8f7d\u5165 PostGIS
95
protocolsGroup=\u534f\u8bae
96
provider=\u4f9b\u5e94\u8005
97
purpose=\u76ee\u7684
98
Recursos\ Disponibles=\u53ef\u7528\u8d44\u6e90
99
reproyectar_aviso=\u56fe\u5c42\u6295\u5f71\u8ddf\u89c6\u56fe\u6295\u5f71\u4e0d\u4e00\u81f4\u3002\n\u6ce8\u610f\: \u5c06\u4f1a\u4e0d\u7cbe\u786e\u5730\u8fd0\u884c\u4e00\u4e9b\u8f6c\u6362\u3002\n\u8bf7\u9605\u8bfb\u8bf4\u660e\u3002
100
reproyectar_pregunta=\u60a8\u8981\u91cd\u65b0\u6295\u5f71\u5417?
101
resourceLinkColumn=\u94fe\u63a5
102
resourceShowColumn=\u663e\u793a
103
resourceTypeColumn=\u7c7b\u578b
104
restrictArea=\u9650\u5236\u641c\u7d22\u8303\u56f4
105
results=\u7ed3\u679c
106
resutsByPage=\u6bcf\u9875\u7684\u7ed3\u679c\u6761\u6570
107
return=\u8fd4\u56de
108
rootName=\u6839\u76ee\u5f55
109
scale=\u6bd4\u4f8b
110
scaleAny=\u4efb\u4f55
111
scaleI=>1.000.000
112
scaleII=1.000.000 - 250.000
113
scaleIII=250.000 - 50.000
114
scaleIV=50.000 - 10.000
115
scaleV=10.000 - 5000
116
scaleVI=<5.000
117
search_results=\u641c\u7d22\u7ed3\u679c
118
searchButton=\u641c\u7d22
119
server=\u670d\u52a1\u5668
120
serverReply=\u670d\u52a1\u5668\u7684\u7b54\u6848
121
serverURL=\u8bf7\u8f93\u5165\u76ee\u5f55\u670d\u52a1\u5668\u5730\u5740
122
serverURLCat=\u8bf7\u8f93\u5165\u5730\u540d\u670d\u52a1\u5668\u5730\u5740
123
title=\u6807\u9898
124
to=\u5230
125
type=\u7c7b\u578b
126
ULX=ULX\:
127
ULY=ULY\:
128
unknown=\u672a\u77e5
129
upperCoordinates=\u4e0a
130
value=\u6570\u636e
131
version=\u7248\u672c
132
wcsColumn=\u4fdd\u9669
133
wcsError=\u8f7d\u5165\u4fdd\u9669\u65f6\u51fa\u9519
134
wcsLoad=\u8f7d\u5165WCS
135
wfsColumn=\u7279\u6027
136
wfsError=\u8f7d\u5165\u7279\u6027\u65f6\u51fa\u9519
137
wfsLoad=\u8f7d\u5165WFS
138
wmsColumn=\u5730\u56fe
139
wmsError=\u8f7d\u5165\u5730\u56fe\u65f6\u51fa\u9519
0 140

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_ca.properties
1
#Translations for language [ca]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=C\u00e0rrega d'ArcIms
4
arcims_server_error=Error en el servidor ArcIMS
5
catalog_search=Recerca de geodades
6
Error_accediendo_a_los_datos=Error accedint a les dades
7
gazetteer_connect=Localitza per nomencl\u00e0tor
8
gazetteer_search=Localitza per nomencl\u00e0tor
9
layer=Capa
10
link=Enlla\u00e7
11
linkError=S'ha produ\u00eft un error en carregar l'enlla\u00e7
12
linkLoad=C\u00e0rrega d'un recurs web
13
loadWMS=C\u00e0rrega de WMS
14
mantainold=Elimina les recerques anteriors
15
metadata_catalog=Recerca de geodades - connexi\u00f3
16
metadata_tree=Arbre de la metadada
17
parameters=Par\u00e0metres
18
pluginNotFound=No tens cap extensi\u00f3 per a carregar recursos d'este tipus
19
pluginNotFoundTitle=C\u00e0rrega de capes
20
postgisError=S'ha produ\u00eft un error en carregar la base de dades
21
postgisLoad=C\u00e0rrega de Postgis
22
Recursos\ Disponibles=Recursos disponibles
23
search_results=Resultats de la recerca
24
server=Servidor
25
wcsError=S'ha produ\u00eft un error en carregar la cobertura
26
wcsLoad=C\u00e0rrega de WCS
27
wfsError=S'ha produ\u00eft un error en carregar la caracter\u00edstica
28
wfsLoad=C\u00e0rrega de WFS
29
wmsError=S'ha produ\u00eft un error en carregar el mapa
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_pt.properties
1
#Translations for language [pt]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=Pesquisa de geodados
6
Error_accediendo_a_los_datos=Erro ao aceder aos dados
7
gazetteer_connect=Localizar por "Nomencl\u00e1tor"
8
gazetteer_search=Localizar por "Nomencl\u00e1tor"
9
layer=Capa
10
link=Hiperliga\u00e7\u00e3o
11
linkError=Erro ao carregar a hiperliga\u00e7\u00e3o
12
linkLoad=Carga de um recurso web
13
loadWMS=Carga de WMS
14
mantainold=Eliminar as pesquisas anteriores
15
metadata_catalog=Pesquisa de geodados - Conex\u00e3o
16
metadata_tree=\u00c1rvore de metadados
17
parameters=Par\u00e2metros
18
pluginNotFound=N\u00e3o tens nenhuma extens\u00e3o para carregar recursos de este tipo
19
pluginNotFoundTitle=Carga de capas
20
postgisError=Erro ao carregar a base de dados
21
postgisLoad=Carga de PostGIS
22
Recursos\ Disponibles=
23
search_results=Resultados da pesquisa
24
server=Servidor
25
wcsError=Erro ao carregar a cobertura
26
wcsLoad=Carga de WCS
27
wfsError=Erro ao carregar a capa
28
wfsLoad=Carga de WFS
29
wmsError=Erro ao carregar o mapa
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_de.properties
1
#Translations for language [de]
2
#Wed Oct 08 17:44:19 CEST 2008
3
arcims_load=L\u00e4dt ArcIMS
4
arcims_server_error=ArcIMS Server-Fehler
5
Catalog=
6
catalog_search=Suche nach Geodaten
7
Catalogo=
8
Error_accediendo_a_los_datos=Fehler beim Datenzugriff
9
gazetteer_connect=Lokalisierung \u00fcber Namensverzeichnis
10
gazetteer_search=Suche \u00fcber Namensverzeichnis
11
layer=Layer
12
link=Link
13
linkError=Fehler beim Laden der Netzwerkressource
14
linkLoad=Netzwerkressource laden
15
loadWMS=WMS laden
16
mantainold=Vorherige Suchanfragen l\u00f6schen
17
metadata_catalog=Suche nach Geodaten - Verbindung
18
metadata_tree=Metadatenbaum
19
parameters=Parameter
20
pluginNotFound=Es fehlt die n\u00f6tige Erweiterung f\u00fcr das Laden dieser Ressource.
21
pluginNotFoundTitle=Layer laden
22
postgisError=Fehler beim Laden der PostGIS-Datenbank
23
postgisLoad=PostGIS laden
24
propertiesNameWindow=Eigenschaftsfenster
25
Recursos\ Disponibles=Verf\u00fcgbare Ressourcen
26
search_results=Suchergebnisse
27
server=Server
28
wcsError=Fehler beim Laden der Coverage
29
wcsLoad=WCS laden
30
wfsError=Fehler beim Laden des Features
31
wfsLoad=WFS laden
32
wmsError=Fehler beim Laden der Karte
0 33

  
tags/v2_0_0_Build_2026/extGazetteer/config/about.htm
1
<html>
2
  <head>
3
    <title>Extesi&oacute;n de Cat&aacute;logo y Nomencl&aacute;tor.</title>
4
    <meta content="">
5
    <style></style>
6
  </head>
7
  <body>
8
<table width="60%" border="0">
9
  <tr>
10
    <td width="64%"><img src="images/logo_horiz_bicolor_gva.png" width="329" height="50"></td>
11
    <td width="36%"><div align="right"><img src="images/logoIver.png" width="87" height="50"></div></td>
12
  </tr>
13
  <tr>
14
    <td colspan="2"><font face="Arial, Helvetica, sans-serif">&copy; Copyright
15
      Generalitat Valenciana, IVER T.I. 2007.</font></td>
16
  </tr>
17
</table>
18
  <h3>Extesi&oacute;n de Cat&aacute;logo y Nomencl&aacute;tor.</h3>
19
  <p><br><br><b> Build Number: #build.number.original#.#build.number#</b></p>
20
  </body>
21
</html>
0 22

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_en.properties
1
#Translations for language [en]
2
#Mon Feb 26 16:06:24 CET 2007
3
abstract=Abstract
4
addLayer=Add Layer
5
allWords=Every word
6
anyResult=The search hasn't retrieve any result
7
anyWord=Any word
8
arcims_load=Loading ArcIms
9
arcims_server_error=ArcIMS server error
10
aspect=Aspect setup
11
attributes=Attributes
12
BRX=BRX\:
13
BRY=BRY\:
14
cancelSearchButton=Cancel
15
catalog_search=Geodata search
16
cathegory=Cathegory
17
cathegoryAny=Any
18
cathegoryBiota=Biota
19
cathegoryBoundaries=Boundaries
20
cathegoryClimatologyMeteorologyAtmosphere=Climatology meteorology and atmosphere
21
cathegoryEconomy=Economy
22
cathegoryElevation=Elevation
23
cathegoryEnvironment=Environment
24
cathegoryFarming=Farming
25
cathegoryGeoscientificInformation=Geoscientific information
26
cathegoryHealth=Health
27
cathegoryImageryBaseMapsEarthCover=Imagery base maps earth cover
28
cathegoryInlandWaters=Insland waters
29
cathegoryIntelligenceMilitary=Intelligence military
30
cathegoryLocation=Location
31
cathegoryOceans=Oceans
32
cathegoryPlanningCadastre=Planning cadastre
33
cathegorySociety=Society
34
cathegoryStructure=Structure
35
cathegoryTransportation=Transportation
36
cathegoryUtilitiesCommunication=Utilities and communication
37
chooseAttribute=Choose one attribute to do the search
38
close=Close
39
concordancia=Agreement
40
connectButton=Connect
41
coordinates=Coordinates
42
coordinatesContains=contain
43
coordinatesEnclose=enclose
44
coordinatesEqual=equal
45
coordinatesFullyOutsideOf=is fully outside of
46
database=Database name
47
description=Description
48
downloadColumn=Download
49
Error_accediendo_a_los_datos=Error getting data
50
elementName=ElementName
51
errorFENotSupported=gvSIG only supports the Filter Encoding Language to do Querys
52
errorGetRecords=Error with the getRecords operation
53
errorIsASRWServer=It is a SRW server\!
54
errorNotCSWSupportedProtocol=Server found, but it doesn't support the CSW protocol
55
errorNotParsedReply=Error parsing the reply. The server has been found, but is possible it doesn't support the specified protocol
56
errorNotSupportedCapabilities=GetCapabilities error. This error could has two reasons\: Either an error doing the operation has happened or the server doesn't support the specified protocol
57
errorNotSupportedProtocol=The server doesn't support the specified protocol
58
errorNotThesaurusSelected=The WFS protocol can't work if you dont select a thesaurus element
59
errorServerException=Server exception returned
60
errorServerNotFound=The server doesn't exist
61
errorSOAPProtocol=SOAP error
62
exactSentence=Exact sentence
63
from=From
64
gazetteer_connect=Finding by Gazetteer
65
gazetteer_search=Finding by Gazetteer
66
goto=Go to the place
67
inteligentSearch=Intelligent search
68
inteligentSearchAscii=All word forms
69
keyWords=KeyWords
70
last=Last
71
lastUpdateDate=Last update
72
layer=Layer
73
link=Link
74
linkColumn=Web Site
75
linkError=Link loading error
76
linkLoad=Web service load
77
loadWMS=WMS load
78
localize=Localize
79
lowerCoordinates=Lower
80
mantainold=Remove old searches
81
metadata_catalog=Geodata Search - Connection
82
metadata_tree=Metadata Tree
83
name=Name
84
next=Next
85
of=of
86
page=Page
87
paint=Draw result
88
parameters=Parameters
89
pluginNotFound=You don't have any extensions to load this type of resources
90
pluginNotFoundTitle=Loading Layers
91
postgisColumn=Postgis
92
postgisError=Database loading error
93
postgisLoad=Postgis load
94
propertiesNameWindow=Window properties
95
protocolsGroup=Protocols
96
provider=Provider
97
purpose=Purpose
98
Recursos\ Disponibles=Available Resources
99
reproyectar_aviso=The layer projection is not the same as the views projection.\nATENTION\: It can be unaccurate with some transformations.\nPlease read docs
100
reproyectar_pregunta=Do you want to reproject?
101
resourceLinkColumn=Link
102
resourceShowColumn=Show
103
resourceTypeColumn=Type
104
restrictArea=Restrict search area
105
results=Results
106
resutsByPage=Results per page
107
rootName=Root
108
scale=Scale
109
scaleAny=any
110
scaleI=>1.000.000
111
scaleII=1.000.000 - 250.000
112
scaleIII=250.000 - 50.000
113
scaleIV=50.000 - 10.000
114
scaleV=10.000 - 5000
115
scaleVI=<5.000
116
search_results=Search results
117
searchButton=Search
118
server=Server
119
serverReply=Server Answer
120
serverURL=Fill the catalog server address
121
serverURLCat=Fill the gazetteer server address
122
title=Title
123
to=To
124
type=Type
125
ULX=ULX\:
126
ULY=ULY\:
127
unknown=Unknown
128
upperCoordinates=Upper
129
value=Value
130
version=Version
131
wcsColumn=Coverage
132
wcsError=Cover loading error
133
wcsLoad=WCS load
134
wfsColumn=Feature
135
wfsError=feature loading error
136
wfsLoad=WFS load
137
wmsColumn=Map
138
wmsError=Map loading error
0 139

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_gl.properties
1
#Translations for language [gl]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=Carga de ArcIms
4
arcims_server_error=Erro no servidor ArcIMS
5
catalog_search=B\u00fasqueda de xeodatos
6
Error_accediendo_a_los_datos=Erro de acceso aos datos
7
gazetteer_connect=Localizar polo Nomencl\u00e1tor
8
gazetteer_search=Localizar polo Nomencl\u00e1tor
9
layer=Capa
10
link=Ligazon
11
linkError=Ocorreu un erro ao cargar a ligaz\u00f3n
12
linkLoad=Carga dun recurso web
13
loadWMS=Carga de WMS
14
mantainold=Elimina-las b\u00fasquedas anteriores
15
metadata_catalog=B\u00fasqueda de Xeodatos - Conexi\u00f3n
16
metadata_tree=\u00c1rbore de Metadato
17
parameters=Par\u00e1metros
18
pluginNotFound=Non t\u00e9s ningunha extensi\u00f3n para cargar recursos deste tipo
19
pluginNotFoundTitle=Carga de capas
20
postgisError=Ocorr\u00e9u un erro ao cargar a base de datos
21
postgisLoad=Carga de Postgis
22
Recursos\ Disponibles=Recursos Dispo\u00f1\u00edbeis
23
search_results=Resultados da b\u00fasqueda
24
server=Servidor
25
wcsError=Ocorr\u00e9u un erro ao cargar a cobertura
26
wcsLoad=Carga de WCS
27
wfsError=Ocorr\u00e9u un erro ao cargar a feature (entidade)
28
wfsLoad=Carga de WFS
29
wmsError=Ocorr\u00e9u un erro ao cargar o mapa
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.app"/>
4
	<depends plugin-name="org.gvsig.catalog.extension"/>
5
	<depends plugin-name="org.gvsig.gpe.extension"/>
6
	<libraries library-dir="lib"/>
7
	<resourceBundle name="text"/>
8
	<extensions>		
9
		<extension class-name="org.gvsig.gazetteer.GazetteerExtension"
10
			description="Gazetteer extension" 
11
			active="true" 
12
			priority="3">
13
			<tool-bar name="Catalogo">
14
				<action-tool icon="gazetteer-search" 
15
					tooltip="gazetteer_search"
16
					action-command="GAZETTEER"
17
					position="2"
18
				/>
19
			</tool-bar>
20
		</extension>
21
		<extension class-name="org.gvsig.gazetteer.DeleteSearchesExtension"
22
			description="Tool to remove the previous gazetteer searches" 
23
			active="true" 
24
			priority="2">
25
			<tool-bar name="Catalogo">
26
				<action-tool icon="catalog-clear-point" 
27
					tooltip="mantainold"
28
					action-command="DELETE"
29
					position="3"
30
					name="delete"/>
31
			</tool-bar>
32
		</extension>
33
	</extensions>
34
</plugin-config>
0 35

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_cs.properties
1
#Translations for language [cs]
2
#Thu Mar 29 16:48:47 CEST 2007
3
arcims_load=Na\u010d\u00edt\u00e1m ArcIms
4
arcims_server_error=Chyba ArcIMS serveru
5
catalog_search=Vyhledat geodata
6
Error_accediendo_a_los_datos=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat
7
gazetteer_connect=Hled\u00e1n\u00ed slovn\u00edku
8
gazetteer_search=Hled\u00e1n\u00ed ve slovn\u00edku
9
layer=Vrstva
10
link=Propojit
11
linkError=Chyba spojen\u00ed
12
linkLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed ze s\u00ed\u0165ov\u00e9ho zdroje
13
loadWMS=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WMS
14
mantainold=Ostranit star\u00e9 v\u00fdsledky hled\u00e1n\u00ed
15
metadata_catalog=Vyhled\u00e1n\u00ed geodat - P\u0159ipojen\u00ed
16
metadata_tree=Strom metadat
17
parameters=Parametry
18
pluginNotFound=Nem\u00e1te pot\u0159ebn\u00e9 extenze pro na\u010dten\u00ed tohoto typu zdroje
19
pluginNotFoundTitle=Na\u010d\u00edt\u00e1n\u00ed vrstev
20
postgisError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z PostGISu
21
postgisLoad=Chyba PostGISu
22
Recursos\ Disponibles=Dostupn\u00e9 zdroje
23
search_results=V\u00fdsledky hled\u00e1n\u00ed
24
server=Server
25
wcsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z katalogu
26
wcsLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WCS
27
wfsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed objektu
28
wfsLoad=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed dat z WFS
29
wmsError=Chyba p\u0159i na\u010d\u00edt\u00e1n\u00ed mapy
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_fr.properties
1
#Translations for language [fr]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=Rechercher des g\u00e9odonn\u00e9es
6
Error_accediendo_a_los_datos=Erreur d'acc\u00e8s aux donn\u00e9es
7
gazetteer_connect=Localisation par toponymes
8
gazetteer_search=Localisation par toponymes
9
layer=Couche
10
link=Lien
11
linkError=Erreur lors du chargement du lien
12
linkLoad=Cargement du web service
13
loadWMS=Chargement du WMS
14
mantainold=Supprimer toutes les recherches
15
metadata_catalog=Recherche de g\u00e9odonn\u00e9es - Connexion
16
metadata_tree=Arbre des metadonn\u00e9es
17
parameters=Param\u00e8tres
18
pluginNotFound=Vous ne disposez pas d'extension pour charger ce type de ressources
19
pluginNotFoundTitle=Chargement des couches
20
postgisError=Erreur lors du chargement de la base de donn\u00e9es
21
postgisLoad=Chargement de Postgis
22
Recursos\ Disponibles=
23
search_results=Resultats de la recherche
24
server=Serveur
25
wcsError=Erreur lors du chargement d'une couverture
26
wcsLoad=Chargement du WCS
27
wfsError=Erreur lors du chargement de l'entit\u00e9
28
wfsLoad=Chargement du WFS
29
wmsError=Erreur lors du chargement de la carte
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_eu.properties
1
#Translations for language [eu]
2
#Wed Mar 21 09:03:04 CET 2007
3
arcims_load=ArcIms kargatu
4
arcims_server_error=Errorea ArcIMS zerbitzarian
5
catalog_search=Geodatuak bilatzea
6
Error_accediendo_a_los_datos=Errorea datuak atzitzean
7
gazetteer_connect=Kokatu izenaren arabera
8
gazetteer_search=Kokatu izenaren arabera
9
layer=Geruza
10
link=Lotura
11
linkError=Errorea gertatu da lotura kargatzerakoan
12
linkLoad=Web baliabide bat kargatzea
13
loadWMS=WMS kargatzea
14
mantainold=Ezabatu aurreko bilaketak
15
metadata_catalog=Geodatuak bilatzea - Lotura
16
metadata_tree=Matadatuaren zuhaitza
17
parameters=Parametroak
18
pluginNotFound=Ez duzu luzapenik mota hauetako baliabideak kargatzeko
19
pluginNotFoundTitle=Geruzak kargatzea
20
postgisError=Errorea gertatu da datu-basea kargatzerakoan
21
postgisLoad=Postgis kargatzea
22
Recursos\ Disponibles=Baliabide erabilgarriak
23
search_results=Bilaketaren emaitzak
24
server=Zerbitzaria
25
wcsError=Errorea gertatu da estaldura kargatzerakoan
26
wcsLoad=WCS kargatzea
27
wfsError=Errorea gertatu da featurea kargatzerakoan
28
wfsLoad=WFS kargatzea
29
wmsError=Errorea gertatu da mapa kargatzerakoan
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/config/text_nl.properties
1
#Translations for language [nl]
2
#Mon Feb 26 16:06:24 CET 2007
3
arcims_load=
4
arcims_server_error=
5
catalog_search=
6
Error_accediendo_a_los_datos=
7
gazetteer_connect=
8
gazetteer_search=
9
layer=
10
link=Link
11
linkError=
12
linkLoad=
13
loadWMS=
14
mantainold=
15
metadata_catalog=
16
metadata_tree=
17
parameters=
18
pluginNotFound=
19
pluginNotFoundTitle=
20
postgisError=
21
postgisLoad=
22
Recursos\ Disponibles=
23
search_results=
24
server=
25
wcsError=
26
wcsLoad=
27
wfsError=
28
wfsLoad=
29
wmsError=
0 30

  
tags/v2_0_0_Build_2026/extGazetteer/src/org/gvsig/gazetteer/GazetteerExtension.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40
 */
41
package org.gvsig.gazetteer;
42

  
43
import java.util.Calendar;
44
import java.util.Date;
45
import java.util.GregorianCalendar;
46

  
47
import org.gvsig.andami.PluginServices;
48
import org.gvsig.andami.persistence.serverData.ServerDataPersistence;
49
import org.gvsig.andami.plugins.Extension;
50
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
51
import org.gvsig.app.project.documents.view.gui.DefaultViewPanel;
52
import org.gvsig.gazetteer.gui.ConnectDialog;
53
import org.gvsig.utils.swing.jcomboServer.ServerData;
54

  
55

  
56
/**
57
 * @author Jorge Piera Llodra (piera_jor@gva.es)
58
 */
59
public class GazetteerExtension extends Extension {
60
//	private GazetteerLibrary gazetteerLibrary = null;
61
//	private DefaultGazetteerLibrary defaultGazetteerLibrary = null;
62
	
63
	public static void main(String[] args) {
64
	}
65

  
66
	/*
67
	 * (non-Javadoc)
68
	 * 
69
	 * @see com.iver.andami.plugins.Extension#inicializar()
70
	 */
71
	public void initialize() {
72
//		gazetteerLibrary = new GazetteerLibrary();
73
//		gazetteerLibrary.initialize();
74
//		
75
//		defaultGazetteerLibrary = new DefaultGazetteerLibrary();
76
//		defaultGazetteerLibrary.initialize();
77
		registerIcons();
78
	}
79

  
80
	private void registerIcons() {
81
		PluginServices.getIconTheme().registerDefault(
82
				"gazetteer-search",
83
				this.getClass().getClassLoader().getResource(
84
				"images/GazzButton.png"));
85
	}
86

  
87
	/*
88
	 * (non-Javadoc)
89
	 * 
90
	 * @see com.iver.andami.plugins.Extension#postInitialize()
91
	 */
92
	public void postInitialize() {
93
//		gazetteerLibrary.postInitialize();
94
//		defaultGazetteerLibrary.postInitialize();
95
	}
96

  
97
	/*
98
	 * (non-Javadoc)
99
	 * 
100
	 * @see com.iver.andami.plugins.Extension#execute(java.lang.String)
101
	 */
102
	public void execute(String actionCommand) {
103
		// JToolBar toolBar =
104
		// (JToolBar)PluginServices.getMainFrame().getComponentByName("Catalogo");
105
		// System.out.println("gjkmgbghb");
106
		// for (int i=0 ; i<toolBar.getComponentCount() ; i++){
107
		// System.out.println(((JButton)toolBar.getComponentAtIndex(i)).getName());
108
		// }
109
		actionConnectDialogStart();
110
	}
111

  
112
	/**
113
	 * 
114
	 * 
115
	 */
116
	private void actionConnectDialogStart() {
117
		System.out.println("Bot?n de Gazeteer pulsado");
118
		restoreServerList();
119
		ConnectDialog connectDialog = new ConnectDialog();
120
		PluginServices.getMDIManager().addWindow(connectDialog);
121
	}
122

  
123
	private void restoreServerList() {
124
		ServerDataPersistence persistence = new ServerDataPersistence(this,
125
				ServerData.SERVER_TYPE_GAZETTEER);
126

  
127
		ServerData[] servers = persistence.getArrayOfServerData();
128

  
129
		boolean found = false;
130
		for (int i = 0; i < servers.length; i++) {
131
			if (servers[i].getServiceType().equals(
132
					ServerData.SERVER_TYPE_GAZETTEER)) {
133
				found = true;
134
			}
135
		}
136

  
137
		if (!found) {
138
			if (servers.length == 0) {
139
				servers = getDefaultServers();
140
			} else {
141
				ServerData[] newServers = new ServerData[servers.length
142
				                                         + getDefaultServers().length];
143
				System.arraycopy(servers, 0, newServers, 0, servers.length);
144
				System.arraycopy(getDefaultServers(), 0, newServers,
145
						servers.length, getDefaultServers().length);
146
				servers = newServers;
147
			}
148
			persistence.setArrayOfServerData(servers);
149
		}
150

  
151
		for (int i = 0; i < servers.length; i++) {
152
			if (servers[i].getServiceType().equals(
153
					ServerData.SERVER_TYPE_GAZETTEER)) {
154
				ConnectDialog.addServer(servers[i]);
155
			}
156
		}
157
	}
158

  
159
	/**
160
	 * It creates a server list by default
161
	 * 
162
	 * @return
163
	 */
164
	private ServerData[] getDefaultServers() {
165
		ServerData[] servers = new ServerData[3];
166
		Calendar cal = new GregorianCalendar();
167
		Date date = cal.getTime();
168

  
169
		servers[0] = new ServerData(
170
				"http://middleware.alexandria.ucsb.edu/gaz/adlgaz/dispatch",
171
				date, date, ServerData.SERVER_TYPE_GAZETTEER,
172
				ServerData.SERVER_SUBTYPE_GAZETTEER_ADL);
173
		servers[1] = new ServerData(
174
				"http://demo.deegree.org:8080/gazetteer/wfs-g", date, date,
175
				ServerData.SERVER_TYPE_GAZETTEER,
176
				ServerData.SERVER_SUBTYPE_GAZETTEER_WFSG);
177
		servers[2] = new ServerData(
178
				"http://193.144.250.29/webservices/services/IDEC_GeoServeisPort",
179
				date, date, ServerData.SERVER_TYPE_GAZETTEER,
180
				ServerData.SERVER_SUBTYPE_GAZETTEER_IDEC);
181

  
182
		return servers;
183
	}
184

  
185
	/*
186
	 * (non-Javadoc)
187
	 * 
188
	 * @see com.iver.andami.plugins.Extension#isEnabled()
189
	 */
190
	public boolean isEnabled() {
191
		return true;
192
	}
193

  
194
	/*
195
	 * (non-Javadoc)
196
	 * 
197
	 * @see com.iver.andami.plugins.Extension#isVisible()
198
	 */
199
	public boolean isVisible() {
200
		org.gvsig.andami.ui.mdiManager.IWindow f = PluginServices
201
		.getMDIManager().getActiveWindow();
202

  
203
		if (f == null) {
204
			return false;
205
		}
206

  
207
		if (f instanceof DefaultViewPanel) {
208
			if (((DefaultViewPanel) f).getMapControl().getViewPort().getAdjustedExtent() != null) {
209
				return true;
210
			}
211
		} else if (f instanceof AbstractViewPanel)
212
			return true;
213

  
214
		return false;
215
	}
216
}
0 217

  
tags/v2_0_0_Build_2026/extGazetteer/src/org/gvsig/gazetteer/loaders/FeatureLoader.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *  Generalitat Valenciana
22
 *   Conselleria d'Infraestructures i Transport
23
 *   Av. Blasco Ib??ez, 50
24
 *   46010 VALENCIA
25
 *   SPAIN
26
 *
27
 *      +34 963862235
28
 *   gvsig@gva.es
29
 *      www.gvsig.gva.es
30
 *
31
 *    or
32
 *
33
 *   IVER T.I. S.A
34
 *   Salamanca 50
35
 *   46005 Valencia
36
 *   Spain
37
 *
38
 *   +34 963163400
39
 *   dac@iver.es
40
 */
41
package org.gvsig.gazetteer.loaders;
42

  
43

  
44
import java.awt.Color;
45
import java.awt.Toolkit;
46
import java.awt.geom.Point2D;
47
import java.awt.geom.Rectangle2D;
48

  
49
import org.cresques.cts.ICoordTrans;
50
import org.cresques.cts.IProjection;
51
import org.gvsig.andami.PluginServices;
52
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
53
import org.gvsig.fmap.crs.CRSFactory;
54
import org.gvsig.fmap.geom.GeometryLocator;
55
import org.gvsig.fmap.geom.GeometryManager;
56
import org.gvsig.fmap.geom.Geometry.SUBTYPES;
57
import org.gvsig.fmap.geom.exception.CreateEnvelopeException;
58
import org.gvsig.fmap.geom.exception.CreateGeometryException;
59
import org.gvsig.fmap.geom.primitive.Envelope;
60
import org.gvsig.fmap.geom.primitive.Point;
61
import org.gvsig.fmap.mapcontext.MapContext;
62
import org.gvsig.fmap.mapcontext.MapContextLocator;
63
import org.gvsig.fmap.mapcontext.MapContextManager;
64
import org.gvsig.fmap.mapcontext.ViewPort;
65
import org.gvsig.fmap.mapcontext.layers.vectorial.GraphicLayer;
66
import org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol;
67
import org.gvsig.fmap.mapcontext.rendering.symbols.ITextSymbol;
68
import org.gvsig.gazetteer.DeleteSearchesExtension;
69
import org.gvsig.gazetteer.querys.Feature;
70
import org.gvsig.gazetteer.querys.GazetteerQuery;
71

  
72

  
73

  
74

  
75
/**
76
 * This class is used to load a new feature like a layer in gvSIG
77
 * 
78
 * @author Jorge Piera Llodra (piera_jor@gva.es)
79
 */
80
public class FeatureLoader {     
81
	private static GeometryManager geometryManager = GeometryLocator.getGeometryManager();
82
	private static MapContextManager mapContextManager = MapContextLocator.getMapContextManager();
83
	
84
	/**
85
	 * Coordinates Transformer
86
	 */
87
	private ICoordTrans coordTrans;	
88
	
89
	/**
90
	 * @param projection
91
	 * Server projection
92
	 */
93
	public FeatureLoader(String sProjection){
94
		AbstractViewPanel activeView = 
95
			(AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
96
		
97
		
98
		IProjection projection = CRSFactory.getCRS(sProjection);
99
		if (projection == null){
100
			projection = activeView.getMapControl().getViewPort().getProjection();
101
		}
102
		
103
		coordTrans=  projection.getCT(activeView.getMapControl().getViewPort().getProjection());
104
	}
105
	/**
106
	 * It makes a zoom in gvSIG
107
	 * @param
108
	 * feature
109
	 * @param
110
	 * query
111
	 * Query that contains advanced options to search and
112
	 * to show the results
113
	 * @return
114
	 * true or false if fail
115
	 */
116
	public boolean load(Feature feature,GazetteerQuery query) {
117
		addAndDrawLabel(feature,
118
				query.getOptions().getAspect().isKeepOld(),
119
				query.getOptions().getAspect().isPaintCurrent());
120

  
121
		if (query.getOptions().getAspect().isGoTo()){
122
			focusCenter(feature);
123
		}        
124

  
125
		return true;
126
	}    
127

  
128
	/**
129
	 * This method focus the toponim in the center of the view 
130
	 * @param feature
131
	 * Feature that contains the coordinates
132
	 */
133
	private void focusCenter(Feature feature){
134
		AbstractViewPanel activeView = 
135
			(AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
136

  
137
		IProjection projection = activeView.getProjection();
138
		ViewPort viewPort = activeView.getMapControl().getViewPort();
139
		Point2D point = getReprojectedPoint(feature.getCoordinates());
140
		
141
		Rectangle2D zoomExtent = null;
142
		if (viewPort.getAdjustedExtent() == null){
143
			
144
		}else{
145
			Toolkit kit = Toolkit.getDefaultToolkit();
146
			double dpi = kit.getScreenResolution();
147
			Envelope envelope = viewPort.getAdjustedExtent();
148
			Rectangle2D rectangle = new Rectangle2D.Double(envelope.getLowerCorner().getX(),
149
					envelope.getLowerCorner().getY(),
150
					envelope.getUpperCorner().getX() - envelope.getLowerCorner().getX(),
151
					envelope.getUpperCorner().getY() - envelope.getLowerCorner().getY());
152
			Rectangle2D extent = projection.getExtent(rectangle,
153
					new Double(25000).doubleValue(),
154
					new Double(viewPort.getImageWidth()).doubleValue(),
155
					new Double(viewPort.getImageHeight()).doubleValue(),
156
					MapContext.CHANGE[viewPort.getMapUnits()],
157
					MapContext.CHANGE[viewPort.getDistanceUnits()],
158
					dpi);				
159
			if (extent != null){
160
				try {
161
					envelope = geometryManager.createEnvelope(SUBTYPES.GEOM2D);
162
					Point loweCorner = geometryManager.createPoint(point.getX() - extent.getWidth()/2,
163
							point.getY() - extent.getHeight()/2,
164
							SUBTYPES.GEOM2D);
165
					Point upperCorner = geometryManager.createPoint(point.getX() + extent.getWidth()/2,
166
							point.getY() + extent.getHeight()/2,
167
							SUBTYPES.GEOM2D);
168
					envelope.setLowerCorner(loweCorner);
169
					envelope.setUpperCorner(upperCorner);				
170
					activeView.getMapControl().getMapContext().zoomToEnvelope(envelope);
171
				} catch (CreateEnvelopeException e) {
172
					// TODO Auto-generated catch block
173
					e.printStackTrace();
174
				} catch (CreateGeometryException e) {
175
					// TODO Auto-generated catch block
176
					e.printStackTrace();
177
				}			
178
			}
179
		}		
180
	} 
181
	
182
	private Envelope getEnvelope(Rectangle2D rectangle) throws CreateGeometryException, CreateEnvelopeException{	
183
		Envelope envelope = geometryManager.createEnvelope(SUBTYPES.GEOM2D);
184
		Point loweCorner = geometryManager.createPoint(rectangle.getMinX(),
185
				rectangle.getMinY(),
186
				SUBTYPES.GEOM2D);
187
		Point upperCorner = geometryManager.createPoint(rectangle.getMaxX(),
188
				rectangle.getMaxY(),
189
				SUBTYPES.GEOM2D);
190
		envelope.setLowerCorner(loweCorner);
191
		envelope.setUpperCorner(upperCorner);	
192
		return envelope;
193
	}
194

  
195
	/**
196
	 * It adds a new Label to the current view
197
	 * @param feature
198
	 * To obtain the coordinates and the toponim name
199
	 * @param isRemoveOldClicked
200
	 * To remove or keep the old searches
201
	 */
202
	private void addAndDrawLabel(Feature feature,boolean isRemoveOldClicked,boolean isMarkedPlaceClicked){
203
		AbstractViewPanel activeView = 
204
			(AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
205

  
206
		GraphicLayer lyr = activeView.getMapControl().getMapContext().getGraphicsLayer();
207
		
208
		if (isRemoveOldClicked){
209
			lyr.clearAllGraphics();
210
		}	
211
		
212
		if (isMarkedPlaceClicked){
213
			int idSymbol = lyr.addSymbol(getSymbol(feature.getName()));			
214
				
215
			Point2D point2d = getReprojectedPoint(feature.getCoordinates());
216
			Point point;
217
			try {
218
				point = geometryManager.createPoint(point2d.getX(), point2d.getY(), SUBTYPES.GEOM2D);
219
				lyr.addGraphic(point, idSymbol,feature.getName());
220

  
221
				DeleteSearchesExtension.setVisible();
222
				PluginServices.getMainFrame().enableControls();
223
			} catch (CreateGeometryException e) {
224
				// TODO Auto-generated catch block
225
				e.printStackTrace();
226
			}			
227
		}			
228
		
229
		activeView.getMapControl().drawGraphics();
230

  
231
		//This line could look stupid, but is necessary because grawGraphics does't
232
		//remove the old Graphics searched
233
		try {
234
			activeView.getMapControl().getViewPort().setEnvelope(getEnvelope(activeView.getMapControl().getViewPort().getExtent()));
235
		} catch (CreateGeometryException e) {
236
			// TODO Auto-generated catch block
237
			e.printStackTrace();
238
		} catch (CreateEnvelopeException e) {
239
			// TODO Auto-generated catch block
240
			e.printStackTrace();
241
		}
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff