Revision 37979

View differences:

tags/v2_0_0_Build_2045/extensions/extCatalog/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Tue Feb 14 18:09:19 CET 2012
3
buildNumber=2045
tags/v2_0_0_Build_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.app"/>
4
	<libraries library-dir="lib"/>
5
	<resourceBundle name="text"/>
6
	<extensions>
7
		<extension class-name="org.gvsig.catalog.CatalogClientExtension"
8
			description="Catalog extension"
9
			active="true" 
10
			priority="3">
11
			<tool-bar name="Catalogo">
12
				<action-tool icon="catalog-search" 
13
					tooltip="catalog_search"
14
					position="1"
15
				/>
16
			</tool-bar>		
17
		</extension>
18
	</extensions>
19
</plugin-config>
0 20

  
tags/v2_0_0_Build_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/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_2045/extensions/extCatalog/src/org/gvsig/catalog/loaders/PostgisLayerLoader.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.catalog.loaders;
42

  
43
import java.util.StringTokenizer;
44
import java.util.TreeMap;
45

  
46
import org.gvsig.catalog.schemas.Resource;
47
import org.gvsig.catalog.utils.Strings;
48
import org.gvsig.fmap.dal.DataStoreParameters;
49
import org.gvsig.fmap.dal.exception.InitializeException;
50
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
51
import org.gvsig.i18n.Messages;
52

  
53

  
54

  
55
/**
56
 * This class is used to load a POSTGIS resource in gvSIG
57
 * 
58
 * @author Jorge Piera Llodra (piera_jor@gva.es)
59
 */
60

  
61
public class PostgisLayerLoader extends GvSigLayerLoader{
62
        
63
    public PostgisLayerLoader(Resource resource) {
64
        super(resource);
65
    }
66

  
67
    protected boolean hasSpecificLayer() {
68
        return false;
69
    }
70

  
71
    protected String getLayerName() {        
72
        return getResource().getName();
73
    }   
74
    
75
    protected DataStoreParameters createDataStoreParameters()
76
    throws InitializeException, ProviderNotRegisteredException {
77
        String jdbcUrl = getResource().getLinkage();
78
        String table = getResource().getName();
79
        
80
        DataStoreParameters dataStoreParameters = DATA_MANAGER.createStoreParameters("PostgreSQL");
81
        parseParams(dataStoreParameters, jdbcUrl, table);
82
        
83
        return dataStoreParameters;
84
    }
85

  
86
    private void parseParams(DataStoreParameters dataStoreParameters, String jdbcUrl, String table){
87
        StringTokenizer sti = new StringTokenizer(jdbcUrl,"?");
88
        String dbURL = sti.nextToken();
89
        String p = sti.nextToken();
90
        TreeMap map = separateParams(p);
91
        String user = (String) map.get((String) "USER");
92
        String pwd = (String) map.get((String) "PASSWORD");
93
        map = Strings.separateParams(table);
94
        dataStoreParameters.setDynValue("USER", user);
95
        dataStoreParameters.setDynValue("PASSWORD",pwd);        
96
        dataStoreParameters.setDynValue("WHERECLAUSE","");
97
        dataStoreParameters.setDynValue("DBURL",dbURL);        
98
    }
99

  
100
    private TreeMap separateParams(String pairValues){
101
        TreeMap map = new TreeMap(); 
102
        String[] params = pairValues.split("&");
103
        for (int i = 0; i < params.length; i++) {
104
            String[] nameValue = params[i].split("=");
105
            map.put(nameValue[0].toUpperCase(), nameValue[1]);
106
        }
107
        return map;
108
    }
109

  
110
    /*
111
     *  (non-Javadoc)
112
     * @see es.gva.cit.gvsig.catalogClient.loaders.LayerLoader#getErrorMessage()
113
     */
114
    protected String getErrorMessage() {
115
        return Messages.getText("postgisError") + ".\n" +
116
        Messages.getText("server") + ": " + 
117
        getResource().getLinkage() + "\n" +
118
        Messages.getText("parameters") + ": " +
119
        getResource().getName();
120
    }
121

  
122
    /*
123
     *  (non-Javadoc)
124
     * @see es.gva.cit.gvsig.catalogClient.loaders.LayerLoader#getWindowMessage()
125
     */
126
    protected String getWindowMessage() {
127
        return Messages.getText("postgisLoad");
128
    }
129

  
130

  
131
}
0 132

  
tags/v2_0_0_Build_2045/extensions/extCatalog/src/org/gvsig/catalog/loaders/WCSLayerLoader.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.catalog.loaders;
42

  
43
import java.util.HashMap;
44
import java.util.Map;
45
import java.util.TreeMap;
46

  
47
import org.gvsig.andami.PluginServices;
48
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
49
import org.gvsig.catalog.schemas.Resource;
50
import org.gvsig.fmap.dal.DataStoreParameters;
51
import org.gvsig.fmap.dal.exception.InitializeException;
52
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
53
import org.gvsig.i18n.Messages;
54

  
55

  
56
/**
57
 * This class is used to load a WCS  layer in gvSIG
58
 * 
59
 * @author Jorge Piera Llodra (piera_jor@gva.es)
60
 */
61
public class WCSLayerLoader extends GvSigLayerLoader{
62
    private static final String FIELD_FORMAT = "format";
63
    private static final String FIELD_NAME = "name";
64
    private static final String FIELD_SRSSTR = "srsstr";
65
    private static final String FIELD_URI = "uri";
66
    private static final String FIELD_ONLINERESOURC = "onlineresources";
67
    private static final String FIELD_WIDTH = "width";
68
    private static final String FIELD_HEIGHT = "height";
69
    private static final String FIELD_PARAM = "parameter";
70
    
71
    public WCSLayerLoader(Resource resource) {
72
        super(resource);
73
    }	
74

  
75
    protected boolean hasSpecificLayer() {        
76
        return true;
77
    }
78

  
79
    protected String getLayerName() {      
80
        return getResource().getName();
81
    } 
82

  
83
    protected DataStoreParameters createDataStoreParameters()
84
    throws InitializeException, ProviderNotRegisteredException {
85
        DataStoreParameters dataStoreParameters = DATA_MANAGER.createStoreParameters("Wcs Store");
86
        
87
        parseQuery(dataStoreParameters, getResource().getLinkage());        
88
        dataStoreParameters.setDynValue(FIELD_NAME, getLayerName());
89
        dataStoreParameters.setDynValue(FIELD_ONLINERESOURC, createOnlineResources());
90
        return dataStoreParameters;
91
    }
92
    
93
    protected Map createOnlineResources() {
94
        Map args = new HashMap();
95
        args.put("GepCoverage", getResource().getLinkage());      
96
        return args;
97
    }
98

  
99
    protected String extensionPointName() {
100
        return "OGC:WCS";
101
    }
102

  
103
    /**
104
     * Builds a coverage starting from a full GetCoverage URL.
105
     * (Using this is not a regular function)
106
     */
107
    private void parseQuery(DataStoreParameters dataStoreParameters, String link){
108
                
109
        String host = null;
110
        String queryString = null;
111
        int index = link.indexOf("?");
112
        if (index > 0){        
113
            host = link.substring(0, index);
114
            queryString = link.substring(index+1);
115
        }else{
116
            host = link;
117
            queryString = "";
118
        }
119
        
120
        queryString = link.substring(link.indexOf('?')+1);
121
        dataStoreParameters.setDynValue(FIELD_URI, link.substring(0,link.indexOf('?')));
122
               
123
        String[] params = queryString.split("&");
124
        for (int i = 0; i < params.length; i++) {
125
            if (params[i]!= null){
126
                String[] nameValue = params[i].split("=");
127
                if(nameValue.length == 2){
128
                    String param = nameValue[0].toUpperCase();
129
                    if (param.equals("CRS")){
130
                        dataStoreParameters.setDynValue(FIELD_SRSSTR, nameValue[1]);
131
                    }else if (param.equals("FORMAT")){
132
                        dataStoreParameters.setDynValue(FIELD_FORMAT, nameValue[1]);
133
                    }else if (param.equals("WIDTH")){
134
                        dataStoreParameters.setDynValue(FIELD_WIDTH, nameValue[1]);
135
                    }else if (param.equals("HEIGHT")){
136
                        dataStoreParameters.setDynValue(FIELD_HEIGHT, nameValue[1]);
137
                    }else if (param.equals("BANDS")){
138
                        dataStoreParameters.setDynValue(FIELD_PARAM, nameValue[1]);
139
                    }                   
140
                }
141
            }
142
        }  
143
    }	
144

  
145
    protected String getErrorMessage() {
146
        return Messages.getText("wcsError") + ".\n" +
147
        Messages.getText("link") + ": " + 
148
        getResource().getLinkage();		
149
    }
150

  
151
    protected String getWindowMessage() {
152
        return Messages.getText("wcsLoad");
153
    }	
154
}
0 155

  
tags/v2_0_0_Build_2045/extensions/extCatalog/src/org/gvsig/catalog/loaders/ARCIMSLayerLoader.java
1
package org.gvsig.catalog.loaders;
2

  
3
import java.util.HashMap;
4
import java.util.Map;
5

  
6
import org.gvsig.andami.PluginServices;
7
import org.gvsig.app.project.documents.view.gui.AbstractViewPanel;
8
import org.gvsig.catalog.schemas.Resource;
9
import org.gvsig.fmap.dal.DataStoreParameters;
10
import org.gvsig.fmap.dal.exception.InitializeException;
11
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
12
import org.gvsig.i18n.Messages;
13

  
14

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

  
56
/**
57
 * @author Jorge Piera Llodr? (piera_jor@gva.es)
58
 */
59
public class ARCIMSLayerLoader extends GvSigLayerLoader {
60

  
61
    public ARCIMSLayerLoader(Resource resource) {
62
        super(resource);		
63
    }
64

  
65
    protected boolean hasSpecificLayer() {        
66
        return false;
67
    }
68

  
69
    protected String getLayerName() {      
70
        return getResource().getName();
71
    }      
72

  
73
    protected DataStoreParameters createDataStoreParameters()
74
    throws InitializeException, ProviderNotRegisteredException {
75
        //TODO provider for ArcIMS
76
        return null;
77
    }
78
    
79
    protected Map createArgs() {
80
        String host = getResource().getLinkage();
81
        String sLayer = getResource().getName();
82
        String protocol = getResource().getProtocol();
83
        AbstractViewPanel activeView = 
84
            (AbstractViewPanel) PluginServices.getMDIManager().getActiveWindow();
85
        String srs = activeView.getProjection().getAbrev();
86
        
87
        Map args = new HashMap();
88
        args.put("host", host);
89
        args.put("service_name", sLayer);
90
        args.put("layer_name", sLayer);
91
        args.put("srs", srs);
92
        return args;
93
    }
94

  
95
    protected String extensionPointName() {
96
        String protocol = getResource().getProtocol();
97
        if (protocol.toUpperCase().indexOf(Resource.ARCIMS_IMAGE) >= 0){
98
           return "arcims_raster";
99
        }else if (protocol.toUpperCase().indexOf(Resource.ARCIMS_VECTORIAL) >= 0){
100
            return "arcims_vectorial";
101
        }
102
        return null;
103
    }
104
    
105
    protected String getErrorMessage() {
106
        return Messages.getText("arcims_server_error") + ".\n" +
107
        Messages.getText("server") + ": " + 
108
        getResource().getLinkage() + "\n" +
109
        Messages.getText("layer") + ": " +
110
        getResource().getName();		
111
    }
112

  
113
    protected String getWindowMessage() {
114
        return Messages.getText("arcims_load");
115
    }	
116
}
117

  
0 118

  
tags/v2_0_0_Build_2045/extensions/extCatalog/src/org/gvsig/catalog/loaders/GvSigLayerLoader.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
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff