1

SQLビューレイヤーからスタイル(sldまたはcssは関係ありませんが、cssを好む)を取得したいのですが、これを達成できませんでした。これがレイヤーのSQLビューです

select 
    value,
    location,
    'mark: symbol(square);mark-size: 6px;:mark {fill: #0099cc;}' STYLE
from TABLE t

そして、ここに私のスタイルがあります:

/* @title point */
* {
    [STYLE]
}

レイヤーをプレビューすると、次のエラーが表示されます。

org.parboiled.errors.ParserRuntimeException: Error at line 3. Encountered "<EOF>" at line 1, column 5. Was expecting one of: "(" ... ":" ... <IDENTIFIER> ... "." ... "not" ... "in" ... "tequals" ... "before" ... "after" ... "during" ... "*" ... "/" ... "+" ... "-" ... "like" ... "ilike" ... "exists" ... "does-not-exist" ... "is" ... "between" ... "=" ... ">" ... "<" ... ">=" ... "<=" ... "<>" ... Parsing : STYLE.

データベースからスタイル情報を取得する方法はありますか?

4

1 に答える 1