2

I want to add more custom dimensions. My indexer.properties file is:

Caching=false
TimeAttribute=ingestion
ElevationAttribute=elevation
AdditionalDomainAttributes=indeksi(indeksi)
AdditionalDomainAttributes=parcela(parcela)
Schema=*the_geom:Polygon,location:String,ingestion:java.util.Date,elevation:Integer,parcela:Integer,indeksi:String
PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](ingestion),IntegerFileNameExtractorSPI[elevationregex](elevation),IntegerFileNameExtractorSPI[parcelaregex](parcela),StringFileNameExtractorSPI[indeksiregex](indeksi)

Only one custom dimension (PARCELA) appears in the GUI Geoserver and should be two (PARCELA and INDEKSI)

enter image description here

The database (Postgresql) correctly creates all attributes and values

enter image description here

Any ideas what the problem is? Why is the GUI GeoServer not appear both custom dimensions?

3

Each variable in the indexer.properties file can only be set once. The second "AdditionalDomainAttributes" overwrites the first one.

You need to put the attributes comma-separated like this:

AdditionalDomainAttributes=indeksi(indeksi),parcela(parcela)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.