Hi,
I am a JAVA programmer, we are using Geoserver for our system mapping.
What I am asking about, that I need to insert resource link icons, relative folder on our servers, and when tried to update the Styles for layers it gives me an error.
The XML code is: <se:OnlineResource xlink:type=“simple” xlink:href=“icons/cluster.png”/>
And the Error is: Parsing failed for ExternalGraphic: java.lang.IllegalArgumentException: URI is not absolute
If please could help or guide me to another way as spent three days trying to figure this out.
Best regards,
Deeb N. Haddad |System Support Engineer
International Relief & Development (Regional Office)
22 Sumaya Bent Al Hasan St | PO Box 852795 | Amman 11185 Jordan
T: 962 6 5857756 | F: 962 6 5857751 | M: +962790218658
www.ird.org
I think I ran into this at some point a while ago. I solved it by puttingall the icons in a separate domain, ie: icons.domain.com that pointed to the directory that contained the icons on the same machine. and then used the full http://uri to the icon
There would obviously be a small performance hit but it was negligable for us
I ended up moving them to another server on the same network, the advantage was that the SLD worked on any Geoserver Instance and I only had to maintain one set of icon files. Again a small performance hit could be expected.
This might at least get you going …
Cheers
Mark Cupitt
···
Regards
Mark Cupitt
“If we change the world, let it bear the mark of our intelligence”
Hire Me on Freelancer
See me on Open StreetMap
See me on LinkedIn

See me on StackExchange

===============================================================================================
The contents of this email are intended only for the individual(s) to whom it is addressed and may contain
confidential or privileged information. If you are not the intended recipient, you must not disclose, copy, distribute,
or use the contents of this email. If you have received this email in error, please notify the sender immediately and
delete the email and any attachments.
===============================================================================================
On Wed, Oct 1, 2014 at 3:26 PM, Deeb Haddad <dhaddad@anonymised.com> wrote:
Hi,
I am a JAVA programmer, we are using Geoserver for our system mapping.
What I am asking about, that I need to insert resource link icons, relative folder on our servers, and when tried to update the Styles for layers it gives me an error.
The XML code is: <se:OnlineResource xlink:type=“simple” xlink:href=“icons/cluster.png”/>
And the Error is: Parsing failed for ExternalGraphic: java.lang.IllegalArgumentException: URI is not absolute
If please could help or guide me to another way as spent three days trying to figure this out.
Best regards,
Deeb N. Haddad |System Support Engineer
International Relief & Development (Regional Office)
22 Sumaya Bent Al Hasan St | PO Box 852795 | Amman 11185 Jordan
T: 962 6 5857756 | F: 962 6 5857751 | M: +962790218658
www.ird.org
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users