arc2qgis / lyrxtoqml

scripts for conversion of arcgis lyrx to qgis qml
GNU General Public License v2.0
20 stars 2 forks source link

Error has occurred while executing #18

Closed careyshan closed 4 years ago

careyshan commented 5 years ago

Hi,

When I try to convert to lyrx, I get the following error: An error has occurred while executing Python code: AttributeError: 'QgsRasterLayer' object has no attribute 'fields' Any idea what is causing this? Cheers

bogind commented 5 years ago

Hi, the plugin doesnt currently support either converting to lyrx or raster symbology. If you could send us sample data and lyrx we could try implementing raster symbology in the near future. If you could include the entire pyhon error message it would also help.

NettaBen commented 5 years ago

@careyshan hey, thanks for the input. Can you send us your lyrx? we started adding support to raster symbology, but we don't have many examples.

careyshan commented 5 years ago

@NettaBen Great - here you go. Thanks

9class.zip

NettaBen commented 5 years ago

@careyshan - This is one of the cases we've covered in the last week.
Please try downloading the latest version, looking forward for an update :) image

bogind commented 5 years ago

Just replaced the .zip file, it should now include the new raster symbology functionality

careyshan commented 5 years ago

@NettaBen - It worked perfectly. Thank so much. :)