Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have tried to display the correct legend in terria But I still can't achieve it.
LINK: https://www.geoportaligm.gob.ec/terria#CA_BAHIA I have 5 groups of which there are 11 layers, 9 of them have general styles or legends and they are the ones that appear by default.
For example, in the city of Bahia, in the Soils category, the general legend is displayed.
But I need a style defined for said city to appear as follows:
Under the query: https://www.geoportaligm.gob.ec/igm_afc/igm_ca2022/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image/png&width=20&height=20&layer=v_suelo_a&style=stl_bahia_ttdp
This is my JSON file: CA_BAHIA_N.json
I tried to add the legend using a URL as follows but it reflects error: "legendUrls": { "mimeType": "image/png", "url": "https://www.geoportaligm.gob.ec/igm_afc/igm_ca2022/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image/png&width=20&height=20&layer=v_suelo_a&style=stl_bahia_ttdp" },
The text was updated successfully, but these errors were encountered:
I have tried to display the correct legend in terria
But I still can't achieve it.
LINK: https://www.geoportaligm.gob.ec/terria#CA_BAHIA
I have 5 groups of which there are 11 layers, 9 of them have general styles or legends and they are the ones that appear by default.
For example, in the city of Bahia, in the Soils category, the general legend is displayed.
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/171955861/337333084-7201f38e-4db4-444e-9cf2-19346016b867.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxODg2ODgsIm5iZiI6MTcyMDE4ODM4OCwicGF0aCI6Ii8xNzE5NTU4NjEvMzM3MzMzMDg0LTcyMDFmMzhlLTRkYjQtNDQ0ZS05Y2YyLTE5MzQ2MDE2Yjg2Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNVQxNDA2MjhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1lOGFkODQwZjYwNTAxMzg1NTUxNTI4ZmU1NzFmZDE1NGU3NjFmYzdhNDM0ODY1NzJjODdiMjkxY2Y3NGY5Y2EzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.jZeYTPdExreOHB7Rsb2_VglpCLYA7k-9CjMkVVFb2WA)
But I need a style defined for said city to appear as follows:
![image](https://cdn.statically.io/img/private-user-images.githubusercontent.com/171955861/337333413-de17e027-fcff-4426-be02-c542f0365913.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxODg2ODgsIm5iZiI6MTcyMDE4ODM4OCwicGF0aCI6Ii8xNzE5NTU4NjEvMzM3MzMzNDEzLWRlMTdlMDI3LWZjZmYtNDQyNi1iZTAyLWM1NDJmMDM2NTkxMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwNVQxNDA2MjhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03Y2RjMDFiNjg1NzljNWY4YjQwZjY2ZDY4YzBkMjZmZmJlOGUyY2E2NmJjNWZkMDAwMDI2OGY0OTJiMmFmOWRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.WT647AYjGEH0qJbu7cvho1-2WCDnVczMvyJxzsTrlwQ)
Under the query:
https://www.geoportaligm.gob.ec/igm_afc/igm_ca2022/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image/png&width=20&height=20&layer=v_suelo_a&style=stl_bahia_ttdp
This is my JSON file:
CA_BAHIA_N.json
I tried to add the legend using a URL as follows but it reflects error:
"legendUrls":
{
"mimeType": "image/png",
"url": "https://www.geoportaligm.gob.ec/igm_afc/igm_ca2022/ows?service=WMS&version=1.3.0&request=GetLegendGraphic&format=image/png&width=20&height=20&layer=v_suelo_a&style=stl_bahia_ttdp"
},
The text was updated successfully, but these errors were encountered: