All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.geoserver.wfs.GMLInfo Maven / Gradle / Ivy

The newest version!
package org.geoserver.wfs;

/**
 * Configuration for gml encoding.
 * 
 * @author Justin Deoliveira, The Open Planning Project
 *
 */
public interface GMLInfo {

    /**
     * Enumeration for srsName style.
     * 

*

    *
  • {@link #NORMAL} : EPSG:XXXX *
  • {@link #XML} : http://www.opengis.net/gml/srs/epsg.xml#XXXX *
  • {@link #URN} : urn:x-ogc:def:crs:EPSG:XXXX *
*

* */ static enum SrsNameStyle { NORMAL { public String getPrefix() { return "EPSG:"; } }, XML { public String getPrefix() { return "http://www.opengis.net/gml/srs/epsg.xml#"; } }, URN { public String getPrefix() { return "urn:x-ogc:def:crs:EPSG:"; } }; abstract public String getPrefix(); } /** * The srs name style to be used when encoding the gml 'srsName' attribute. */ SrsNameStyle getSrsNameStyle(); /** * Sets the srs name style to be used when encoding the gml 'srsName' attribute. */ void setSrsNameStyle( SrsNameStyle srsNameStyle ); /** * The flag which determines if gml:bounds elements should be encoded * at the feature level in gml output. */ boolean isFeatureBounding(); /** * Sets the flag which determines if gml:bounds elements should be encoded * at the feature level in gml output. * */ void setFeatureBounding( boolean featureBounding); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy