Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a simple way to convert a avl file into a sld or qml? Deegree does not work an my laptop (java problems)

Or is there a way to open the original avl file in qgis?


share|improve this question
i don't get it working! how do i run this in qgis? – A.W. May 2 '14 at 9:44
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. – Fezter May 2 '14 at 10:31
If you have a new question, please ask it by clicking the Ask Question button. Include a link to this question if it helps provide context. – PolyGeo May 2 '14 at 10:45
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post - you can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – Alexandre Neto May 2 '14 at 11:16
This script worked perfectly for me. It converted a polygon thematic map with plain solid colours for each category. It gave a better output than going via Arc2Earth in ArcGIS which I have used previously. From the Windows command line I omitted the initial 'python' so just > pathtothe.avl pathtothenew.qml Thank you, Snorfalorpagus! – user46588 Feb 16 '15 at 13:58
up vote 2 down vote accepted

I've written a small python script to convert ArcView 3.x Legends (.AVL) to QGIS styles (.QML):

You can download the current version here:

To use: python pathtothe.avl pathtothenew.qml

It's only had limited testing, but I've had some good results with it.

share|improve this answer
Sorry, i did not check in here for a while. – user16032 Nov 1 '13 at 15:31
Hi, I tried it, but there was an error "unexpected end of file in Line 1, Columme 1". However, I never used Python before and there were several error messages: No Module named pyobd. When trying to install pyodb "Unable to find vcvarsall". Got Python only with ArcMap, never installed it alone. – user16032 Nov 1 '13 at 16:12
works like magic – kartoza-geek Nov 11 '13 at 10:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.