|
From: <mah...@us...> - 2008-12-15 20:35:38
|
Revision: 356
http://dccss.svn.sourceforge.net/dccss/?rev=356&view=rev
Author: maher_karim
Date: 2008-12-15 20:35:26 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
2008-12-15 Maher Abdel karim <mah...@do...>
* conf/dccss_pewssa_en:
* conf/dccss_pewssa_ar:adjust the data definition to work with ms4w
* dataobject/public_subscriber.php: add print action
* ar/LC_MESSAGES/dccss.po:update translations.
* images/gtz.png:
* images/pewssa_logo.gif: added
* logbook_report.php:adjust query.
* print_ac: add new page to print inspection sheet.
* query.php: add possibility to query delivery point
Modified Paths:
--------------
branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2007-03-20 12:00:03 UTC (rev 355)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_ar.map 2008-12-15 20:35:26 UTC (rev 356)
@@ -20,7 +20,7 @@
WEB
MAXSCALE 500000000
- IMAGEPATH "/tmp/ms_tmp/"
+ IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END #WEB
@@ -126,8 +126,9 @@
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
- DATA "the_geom from landmarkview using unique id using SRID=-1"
- labelitem "str_reverse(shape_arabic(dcmmstranslation('en',name)))"
+ DATA "the_geom from (select the_geom as the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,
+ gid from landmarkview) as landmarkview using unique gid using SRID=-1"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -159,7 +160,7 @@
STATUS default
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\water\pressurizedmain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\water\pressurizedmain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -186,7 +187,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\sewer\gravitymain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\sewer\gravitymain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -339,8 +340,8 @@
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
- DATA "the_geom from collect using unique id using SRID=-1"
- labelitem "str_reverse(shape_arabic(dcmmstranslation('ar',name)))"
+ DATA "the_geom from (select the_geom,str_reverse(shape_arabic(dcmmstranslation('ar',name))) as name,id from collect) as collection using unique id using SRID=-1)"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
Modified: branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map
===================================================================
--- branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2007-03-20 12:00:03 UTC (rev 355)
+++ branches/ms4w/apps/dccss/conf/dccss_pewssa_en.map 2008-12-15 20:35:26 UTC (rev 356)
@@ -5,7 +5,7 @@
MAP
NAME 'DCCSS PEWSSA Map'
SIZE 550 400
- EXTENT -183076.82522917 225997.13100660 -178289.90618735 228999.64686146
+ EXTENT 163999.044455 111964.777588 260032.211613 189437.688401
UNITS meters
RESOLUTION 72
@@ -18,15 +18,15 @@
STATUS on
WEB
- MAXSCALE 500000000
- IMAGEPATH "/tmp/ms_tmp/"
+ #MAXSCALE 500000000
+ IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
END #WEB
REFERENCE
IMAGE '../images/dccss.jpg'
- EXTENT -183076.82522917 225997.13100660 -178289.90618735 228999.64686146
+ EXTENT 163999.044455 111964.777588 260032.211613 189437.688401
STATUS on
COLOR -1 -1 -1
OUTLINECOLOR 255 255 0
@@ -82,32 +82,37 @@
END #QUERYMAP
LAYER #building
-
- NAME 'building'
-
- TOLERANCE 3
- TOLERANCEUNITS pixels
- connectiontype PostGIS
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- data "the_geom from building using SRID=-1"
-
- LABELCACHE on
- STATUS on
- TYPE polygon
- CLASS
+ TRANSPARENCY 100
NAME 'building'
- template "ttt_query.html"
-
- STYLE
- COLOR 255 251 195
- #BACKGROUNDCOLOR 255 255 255
- END
- END #CLASS
- METADATA
- "DESCRIPTION" "building"
- "RESULT_FIELDS" "gid"
- END
-
+
+ TOLERANCE 3
+ TOLERANCEUNITS pixels
+ connectiontype PostGIS
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ data "the_geom from building using SRID=-1"
+ HEADER 'header.html'
+ FOOTER 'footer.html'
+ LABELCACHE on
+ # TILEINDEX ''
+ # TILEITEM ''
+ STATUS on
+ DEBUG false
+ TRANSFORM true
+ TYPE polygon
+ CLASS
+ NAME 'building'
+ TEMPLATE 'template.html'
+ #RASTERFILL_STYLE_SOLID
+ STYLE
+ COLOR 255 251 195
+ BACKGROUNDCOLOR 255 255 255
+ END #STYLE
+ #OUTLINE SYMBOL
+ STYLE
+ OUTLINECOLOR 0 0 0
+ SIZE 1
+ END
+ END #CLASS
END #LAYER
LAYER #landmark
@@ -117,9 +122,9 @@
TOLERANCE 3
TOLERANCEUNITS pixels
CONNECTIONTYPE postgis
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- DATA "the_geom from landmark using unique gid using SRID=-1"
-
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ DATA "the_geom from landmarkview using unique id using SRID=-1"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -132,7 +137,7 @@
NAME 'LandMark'
template "ttt_query.html"
SYMBOL "square"
- SIZE 6
+ SIZE 10
color 10 15 10
label
color 10 15 10
@@ -142,16 +147,16 @@
size 15
end
END #CLASS
- LABELITEM 'enname'
+
END #LAYER
LAYER #pressurizedmain
TRANSPARENCY 100
NAME 'pressurizedmain'
- STATUS default
+ STATUS off
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\water\pressurizedmain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\water\pressurizedmain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -178,7 +183,7 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- DATA 'C:\Program Files\dccss\data\sewer\gravitymain.shp'
+ DATA 'C:\Program Files\dccss\dccss\data\sewer\gravitymain.shp'
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -206,14 +211,14 @@
TOLERANCE 3
TOLERANCEUNITS pixels
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- data "the_geom from grid using unique gid using srid=-1"
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
+ data "the_geom from grid using srid=-1"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
# TILEINDEX ''
# TILEITEM ''
- STATUS on
+ STATUS off
DEBUG false
TRANSFORM true
TYPE polygon
@@ -232,21 +237,21 @@
SIZE 2
END
END #CLASS
- METADATA
+ METADATA
"DESCRIPTION" "grid"
"RESULT_FIELDS" "id"
END
END #LAYER
+
# DeliveryPoint Layer
LAYER
CONNECTIONTYPE postgis
NAME DeliveryPoint
- maxscale 15000
+ # maxscale 15000
TYPE POINT
- STATUS DEFAULT
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
- #DATA "E:/data/jv/customer/deliverypoint"
+ STATUS off
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
DATA "the_geom from DeliveryPoint using SRID=-1"
labelitem "sequence"
CLASS
@@ -265,18 +270,18 @@
END
METADATA
"DESCRIPTION" "DeliveryPoint"
- "RESULT_FIELDS" "sequence geocode owner shopcount"
+ "RESULT_FIELDS" "sequence geocode owner"
END
TOLERANCE 50
END # Layer
-# Empty layer, used for AreaOfInterest center points
+# Empty layer,
layer
connectiontype PostGIS
- CONNECTION "dbname=dccss user=dccss password=dccss host=localhost"
+ CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
name "center"
type POINT
- status default
- DATA "the_geom from center using unique gid using srid=-1"
+ status OFF
+ DATA "the_geom from center"
CLASS
NAME "Center Point"
#template "ttt_query.html"
@@ -290,7 +295,7 @@
"RESULT_FIELDS" ""
END
TOLERANCE 15
-END
+END
layer
connectiontype PostGIS
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
@@ -314,7 +319,7 @@
type truetype
backgroundcolor 250 230 120
size 14
- end
+ end
END
METADATA
"DESCRIPTION" "route line"
@@ -324,7 +329,7 @@
END
- LAYER #collection
+ LAYER #collection
TRANSPARENCY 100
NAME 'collection'
@@ -333,7 +338,7 @@
CONNECTIONTYPE postgis
CONNECTION "dbname=dccss user=dummy password=dummy host=localhost"
DATA "the_geom from collect using unique id using SRID=-1"
- labelitem "dcmmstranslation('en',name)"
+ labelitem "name"
HEADER 'header.html'
FOOTER 'footer.html'
LABELCACHE on
@@ -356,6 +361,5 @@
END #CLASS
END #LAYER
-
END #MAP
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|