[Community] ZCO-Styles are not applied in the Map

Uwe Seher uwe.seher at arteng.de
Thu Sep 28 13:34:47 EEST 2006


Hello Group!

Back again on working with Zope and PrimaGIS :).
I have a problem at this time in creating styles for maplayers in PromaGIS.
I create the rules and the result is shown in the preview below the
rules-list. But in the map there is either no effect or no picture is shown.
This is both on a shapefile source and on postgis. The same rules are
working on my other server.

The rules look like this:

wsd_w	str(f.wsd) == 'West'	../../symbolizers/polygon/wsd_w	-1.0	-1.0

I tried also f.WSD with the same effect. 

The plone errorprotocol shows this entry:

Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.PrimaGIS.PrimaGISMap, line 260, in view
  Module Products.ZCO.MapRenderer, line 174, in render
  Module Products.ZCO.Style, line 75, in style
AttributeError: upper

Installation is:
Zope 2.9.4, Plone 2.1.4, PCL 0.10, ZCO 0.7.3, Python 2.4.3, PG 8.1.4,
PostGIS 1.1.3 on Suse 10.1

At the moment i have no idea whats going wrong.

Greetings and thank you

Uwe Seher


 


____________
Virus checked by G DATA AntiVirusKit


____________
Virus checked by G DATA AntiVirusKit




More information about the Community mailing list