GeoServer

KML shapefile rendering

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.0-RC2
  • Fix Version/s: 1.7.0-RC3
  • Labels:
    None
  • Environment:
    Windows XP, Tomcat 6.0
  • Number of attachments :
    2

Description

Geoserver 1.6.1 shows the states layer correctly with the states filled in with the appropriate colour. 1.7RC2 shows the states with holes in the colouring when zoomed out, and the colours fade out the closer you zoom (until the state has no colour on it).

The URL's used:

http://localhost:8080/geoserver1.7.0-RC2/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+xml&width=1024&height=1024&srs=EPSG:4326&layers=topp:states&styles=population&KMScore=50&KMAttr=true&legend=false

http://localhost:8080/geoserver1.6.1/wms?service=WMS&request=GetMap&format=application/vnd.google-earth.kmz+xml&width=1024&height=1024&srs=EPSG:4326&layers=topp:states&styles=population&KMScore=50&KMAttr=true&legend=false

Looks like the same default sld is being used for both.

I've attached a screen shot of what it looks like...

Activity

Hide
David Winslow added a comment -

This looks like an artifact created by a bug in the KML height templates I've been working on. I prematurely committed this feature, but it's not going to be in 1.7.0 (probably 1.7.1 though.) If this is the cause of the problem, you can fix it by adding '&format_options=altitudeMode:clampToGround' in your request; please let me know if this works.

This feature has already been backed out of the 1.7.x branch.

Show
David Winslow added a comment - This looks like an artifact created by a bug in the KML height templates I've been working on. I prematurely committed this feature, but it's not going to be in 1.7.0 (probably 1.7.1 though.) If this is the cause of the problem, you can fix it by adding '&format_options=altitudeMode:clampToGround' in your request; please let me know if this works. This feature has already been backed out of the 1.7.x branch.
Hide
Amr A. Alam added a comment -

Just tried that extra parameter. That fixed it.
Guess this will be fixed in RC3 then. Great.

Show
Amr A. Alam added a comment - Just tried that extra parameter. That fixed it. Guess this will be fixed in RC3 then. Great.
Hide
David Winslow added a comment -

Double-checked, the height templates were indeed included in RC2 and have been rolled back. GEOS-2184 is a remnder to pull them back in once 1.7.0 is released.

Show
David Winslow added a comment - Double-checked, the height templates were indeed included in RC2 and have been rolled back. GEOS-2184 is a remnder to pull them back in once 1.7.0 is released.
Hide
Andrea Aime added a comment -

All these issues have been in "resolved" state for at least one month (many of them, much more than that). Since no one has reopened them, I'm mass-switching them to closed state. Reopen if you feel the issue has not been addressed properly.

Show
Andrea Aime added a comment - All these issues have been in "resolved" state for at least one month (many of them, much more than that). Since no one has reopened them, I'm mass-switching them to closed state. Reopen if you feel the issue has not been addressed properly.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: