[Gvsig_english] Urgent PostGIS gvsig help
Luis W. Sevilla
sevilla_lui at gva.es
Fri Mar 24 17:37:32 CET 2006
Hi Erwan,
erwan bocher wrote:
> Hola a todos,
>
> I must prepare a course this week-end for my students. I'd like to use
> gvsig and postgis with them.
> The JDBC wizard works fine but I'd like to create a plugin to import a
> specific layer from postgis to gvsig. Student must clic on a menu in
> gvsig and the menu import the layer. The name of the menu is the name
> of the layer. Connection parameters are statics (stored in the plugin
> code).
>
> My problem is that I want to transform a ResultSet to a gvsig layer.
This is not an answer, but a clue. On gvSGO 0.6 RC2, on
extCatalogYNomenclator, you have a class called
es.gva.cit.gvsig.catalogClient.loaders.PostgisLayerLoader.java you'll
find a quite good and simple example of how to add a Postis layer to
gvSIG, knowing his parameters.
Hope it helps
Luis
>
> Thanks in advance
>
> R1.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Gvsig_internacional mailing list
>Gvsig_internacional at runas.cap.gva.es
>http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>
>
--
Luis W. Sevilla
Responsable de desarrollo gvSIG en la / gvSIG development Chief at
Conselleria de Infraestructuras y Transporte
Generalitat Valenciana
Valencia - Spain
http://www.gvsig.gva.es
More information about the Gvsig_internacional
mailing list