GeoServer
  1. GeoServer
  2. GEOS-1794

CLONE -Remote external graphics fail for KML points

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.2, 1.6.0-beta4
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      2

      Description

      Working with external graphics, most everything is working pretty nicely, indeed I'm impressed by the capabilities. Putting in an alternate graphic makes it appear on Google Earth and 2-d.

      The one hole appears to be referencing remote external graphics on KML output. Referencing remote external graphics for 2d maps works great, and referencing local external graphics for KML works great. But remote external graphics for KML doesn't work.

      Attached is a sample SLD, that should work with most any point, it was made by modifying poi.sld. It should work fine in 2d, with a little flag icon, but in KML it gets the black dot.

      1. lighthouse.sld
        1 kB
        Andrea Aime
      1. sampleExternalGraphic.jpg
        64 kB

        Activity

        Hide
        Carey Stranhaan added a comment -

        I am still having this exact issue in 1.6.2. In 1.5.4, the same data works fine, but in 1.6.2, I get a "mismatched tag" error in Google Earth.

        Show
        Carey Stranhaan added a comment - I am still having this exact issue in 1.6.2. In 1.5.4, the same data works fine, but in 1.6.2, I get a "mismatched tag" error in Google Earth.
        Hide
        Andrea Aime added a comment -

        Moving fix for version to 1.6.3, since the 1.5.x series is closed

        Show
        Andrea Aime added a comment - Moving fix for version to 1.6.3, since the 1.5.x series is closed
        Hide
        Andrea Aime added a comment -

        Carey, the sample SLD has never been attached.
        I've tried with one I made and it works fine even for externally accessible icons. I'm attaching the sld and a screenshot.
        Maybe your images were not internet accessible? That's the only case where I can imagine it not working, since GeoServer will give GE the link to the image "as is".

        Show
        Andrea Aime added a comment - Carey, the sample SLD has never been attached. I've tried with one I made and it works fine even for externally accessible icons. I'm attaching the sld and a screenshot. Maybe your images were not internet accessible? That's the only case where I can imagine it not working, since GeoServer will give GE the link to the image "as is".
        Hide
        Carey Stranhaan added a comment -

        I think I figured out why it wasn't working. The path in my external link in 1.5.4 (which worked fine) included was "http://geoserver.cityofkokomo.org:8080/". I was using the www folder of geoserver to house my static images. I think it is the :8080 that 1.6.4 (which is what I'm up to now) didn't like. I moved my files and changed the path to "http://geoserver.cityofkokomo.org/" and it works now. Thanks for looking into this!

        Show
        Carey Stranhaan added a comment - I think I figured out why it wasn't working. The path in my external link in 1.5.4 (which worked fine) included was "http://geoserver.cityofkokomo.org:8080/". I was using the www folder of geoserver to house my static images. I think it is the :8080 that 1.6.4 (which is what I'm up to now) didn't like. I moved my files and changed the path to "http://geoserver.cityofkokomo.org/" and it works now. Thanks for looking into this!
        Hide
        Andrea Aime added a comment -

        Hum, I tried it again putting the images in www as well, worked for me... thought I cannot do a full test, I had to use http://localhost:8080/geoserver/www/lighthouse.png because my ISP won't allow me to see what's published on my internet public IP (home connection, they do it to discourage you from standing up a public web server).

        Show
        Andrea Aime added a comment - Hum, I tried it again putting the images in www as well, worked for me... thought I cannot do a full test, I had to use http://localhost:8080/geoserver/www/lighthouse.png because my ISP won't allow me to see what's published on my internet public IP (home connection, they do it to discourage you from standing up a public web server).
        Hide
        Andrea Aime added a comment -

        Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

        Show
        Andrea Aime added a comment - Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Carey Stranhaan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: