Changeset 741 for PrimaGIS/trunk/skins/primagis/createPrimaGISDemo.py
- Timestamp:
- 07/01/06 09:04:04 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
PrimaGIS/trunk/skins/primagis/createPrimaGISDemo.py
r723 r741 9 9 ## 10 10 """ 11 This script creates a full ZCO/PrimaGIS installation. Everything is installed11 This script creates a fully working PrimaGIS map. Everything is installed 12 12 under a 'demo' folder which will be created in the context where the script is 13 13 called. 14 14 15 The ZCO objects are not visible in Plone and need to be modified using16 ZMI. In addition to ZCO/PrimaGIS objects,the script creates some15 The ZCO DataStore objects are stored within the portal_gis tool, which is accessible 16 through ZMI at the portal root. In addition to PrimaGIS objects the script creates some 17 17 content objects to which the GeoArchetypesProxy object refer to. 18 19 The content types that this script will create need to be Archetypes based. For20 Plone 2.1 users this is not a problem as Plone 2.1 comes with ATContentTypes21 installed. If you are using Plone 2.1, you should leave PROXY_SUBJECT_TYPE set22 to the default value of 'Document' unless you wish to use another type.23 24 Plone 2.0 users will need to have an Archetypes based content type available on25 their system. It does not matter what the type is as long as it is AT based. If26 you do not have such a content type available, you can use DummyContent which is27 a trivial AT based content type created for testing purposes. Download28 DummyContent from http://www.primagis.fi/download/DummyContent-0.1.tar.gz and29 install it on your Zope system. Set PROXY_SUBJECT_TYPE to 'DummyContent'.30 18 31 19 The demo instance assumes that you have installed the world_borders shapefile … … 154 142 #symbolizer.setDisplacement() 155 143 symbolizer.setFontFamily('vera') 156 symbolizer.setFontSize(1 2.0)157 symbolizer.setFontColor('# 000000')158 symbolizer.setHaloColor('# ffffff')144 symbolizer.setFontSize(13.0) 145 symbolizer.setFontColor('#ffffff') 146 symbolizer.setHaloColor('#000000') 159 147 symbolizer.setHaloRadius(1.0) 160 148 symbolizer.setPartialRendering(False)
