Changeset 6648
- Timestamp:
- Dec 1, 2016 11:40:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/map.tcl
r6551 r6648 220 220 setProjection $projection 221 221 if {$extents != ""} { 222 foreach {xmin ymin xmax ymax srs} $extents {}223 if {$srs == ""} {224 setExtents $xmin $ymin $xmax $ymax222 if {[string range $projection 0 6] == "global-"} { 223 puts stderr "ERROR: cannot specify extents for global profile" 224 clearExtents 225 225 } else { 226 setExtents $xmin $ymin $xmax $ymax $srs 226 foreach {xmin ymin xmax ymax srs} $extents {} 227 if {$srs == ""} { 228 setExtents $xmin $ymin $xmax $ymax 229 } else { 230 setExtents $xmin $ymin $xmax $ymax $srs 231 } 227 232 } 228 233 } else {
Note: See TracChangeset
for help on using the changeset viewer.