[Spanish] Importar tabla .dbf a postgis

Antonio García angarben at hotmail.com
Sat Aug 4 02:02:01 PDT 2012


Buenas, tengo una tabla de titulares en .dbf y quiero hacer operaciones 
en postgis. No puedo exportar dicha tabla desde gvsig en su apartado 
tablas: es curioso que solo se pueda exportar a excel o a dbf.



No se si estará en alguna versión anterior en gvsig.1.12 no la veo.



Si no existe ... estaría bien crearla.


Me gustaria saber si existe algun software que haga esto automaticamente ya que he probado incluso a crear la tabla en postgres e importar con el comando copy pero me da el error siguiente:


CREATE TABLE titulares_bien_inmueble 
(
  id_coddel integer,
  id_codmun integer,
  id_clase text,    
  id_parcela text,    
  id_numcargo integer,
  der_codigo text,    
  der_porcentaje double precision,
  der_ordinal integer,
  id_titular integer,
  es_representante text,
 ...
sal_codent_alt integer
)
WITHOUT OIDS;
ALTER TABLE titulares_bien_inmueble OWNER TO postgres1;


COPY titulares_bien_inmueble FROM 'C:/titular_bien_inmueble_.dbf';

ERROR: invalid byte sequence for encoding "UTF8": 0x97
Estado SQL:22021
Sugerencias:This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".
Contexto:COPY titulares_bien_inmueble, line 1



Felices vacaciones a  todos. 		 	   		  
------------ pr?xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/spanish/attachments/20120804/573bfd83/attachment.html>


More information about the Spanish mailing list