Changeset 3455 for TI05-delivery/ows_framework
- Timestamp:
- 19/02/08 11:52:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/DIF.py
r3419 r3455 173 173 174 174 # not all DIFs have KML resource available - set default value 175 # to the entryID for checking later on 176 self.kmlURL = self.entryID 175 # to the entryID to allow routing to work properly 176 self.kmlURL = [] 177 self.wmcURL = [] 177 178 for item in helper.findall(self.tree,'Related_URL'): 178 179 contentType=helper.getText(item,'URL_Content_Type') … … 189 190 if contentType.find('KML') > 0: 190 191 # NB, adding the '' to quote forces forward slashes to be replaced 191 self.kmlURL = urllib.quote(serviceURL,'') 192 192 # with unicode equivalent 193 self.kmlURL.append(urllib.quote(serviceURL,'')) 194 elif contentType.find('WEB MAP CONTEXT') > 0: 195 self.wmcURL.append(urllib.quote(serviceURL,'')) 196 193 197 if self.ndgObject is None: 194 198 self.binding=None
Note: See TracChangeset
for help on using the changeset viewer.