gvSIG feature requests #738

Automatic loading and applying of vector layer styles

Added by Jose Antonio Canalejo Alonso almost 12 years ago. Updated about 10 years ago.

Status:Fixed% Done:

100%

Priority:Normal
Assignee:Francisco Puga
Category:-
Target version:-
gvSIG version:1.11.0 Add-on version:
Keywords:Legend Add-on resolve version:
Has patch:Yes Add-on resolve build:
Add-on name:Unknown

Description

If a vector layer is loaded and and a ".gvl" file with the same base name exists, then the styling information should be read from that file and applied automatically.
The attached patch developed to gvSIG CE by CSGIS Gbr and Fernando Gonzalez Cortes (Geomati.co) makes possible this behaviour:
- http://www.youtube.com/watch?v=EfxSaJQsH8Q
- http://gvsigce.sourceforge.net/mantis/view.php?id=180
Best regards
José Canalejo

180-legend.patch Magnifier (6.01 KB) Jose Antonio Canalejo Alonso, 06/01/2012 11:01 AM

partial_revert_38386.patch Magnifier (3.13 KB) Francisco Puga, 06/12/2012 05:40 PM

History

#1 Updated by Francisco Puga almost 12 years ago

  • Status changed from New to In progress
  • Assignee changed from Pablo Sanxiao to Francisco Puga
  • Target version changed from 1.12.0-final to 1.12.0-rc1

I review the patch and seems good to me.

I assign the ticket to my self to commit it.

#2 Updated by Francisco Puga almost 12 years ago

  • Status changed from In progress to Fixed
  • % Done changed from 0 to 100

Applied in changeset r38386.

#3 Updated by Francisco Puga almost 12 years ago

My previous commit introduce a small API change that is not needed to get the feature working. I attach a patch that reverts the API change, to allow you review if it should be applied.

Anyway the introduced API change makes the code a bit more robust and readdable.

#4 Updated by Francisco Puga almost 12 years ago

  • Status changed from Awaiting response to Fixed

#5 Updated by Álvaro Anguix about 10 years ago

  • Project changed from Application: gvSIG desktop to | gvSIG desktop 1
  • Category deleted (Document view)
  • Target version deleted (1.12.0-rc1)

Also available in: Atom PDF