[Geoserver-devel] [jira] (GEOS-6763) polygon.xml generated with reference to default_line.sld

Jody Garnett created an issue

GeoServer / BugGEOS-6763

polygon.xml generated with reference to default_line.sld

Issue Type:

BugBug

Affects Versions:

2.6.0

Assignee:

Andrea Aime

Components:

Main

Created:

13/Nov/14 4:21 PM

Fix Versions:

2.6.1

Priority:

MajorMajor

Reporter:

Jody Garnett

This is actually a thing - see GeoServerLoader:

    protected void initializeStyles( Catalog catalog, XStreamPersister xp) throws IOException {
        if ( catalog.getStyleByName( StyleInfo.DEFAULT_POINT ) == null ) {
            initializeStyle( catalog, StyleInfo.DEFAULT_POINT, "default_point.sld" );
        }
        if ( catalog.getStyleByName( StyleInfo.DEFAULT_LINE ) == null ) {
            initializeStyle( catalog, StyleInfo.DEFAULT_LINE, "default_line.sld" );
        }
        if ( catalog.getStyleByName( StyleInfo.DEFAULT_POLYGON ) == null ) {
            initializeStyle( catalog, StyleInfo.DEFAULT_POLYGON, "default_line.sld" );
        }
        if ( catalog.getStyleByName( StyleInfo.DEFAULT_RASTER ) == null ) {
            initializeStyle( catalog, StyleInfo.DEFAULT_RASTER, "default_raster.sld" );
        }
    }

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

Atlassian logo