<commit_before>/*
 *
 * GetUrlParams.js -- part of Quantum GIS Web Client
 *
 * Copyright (2010-2012), The QGIS Project All rights reserved.
 * Quantum GIS Web Client is released under a BSD license. Please see
 * https://github.com/qgis/qgis-web-client/blob/master/README
 * for the full text of the license and the list of contributors.
 *
*/ 

//we need to call this part of the script before initializing the GUI
//because some settings, like the language choice, influence the GUI
var urlParams = {};
var urlParamsOK = true;
var wmsURI; //URI with map parameter or appended map name (with URL rewriting)
var wmsMapName; // map parameter or appended map name (with URL rewriting)
var maxExtent; //later holds the bounding box
var olBoundsRegexp = /^-*\d+,-*\d+,-*\d+,-*\d+$/; //regExp to check whether bounding box matches OpenLayers bounding box format
var urlString = "";
var format = "image/png"; //the default image format
var origFormat = format; //the original default image format, format is temporarily changed
var searchtables = null;
var visibleLayers = null; //layers that are initially visible
var fullColorLayers = new Array(); //layers that should be displayed in 24bit (JPEG) instead of 8bit PNG, only relevant if the project format is 8bit<commit_msg>allow dots for decimal number in startExtent parameter currently is not possible to pass decimal number in bounding box values. This patch changes the RegExp in order to allow to insert dots in values of Extent parameters.<commit_after>/*
 *
 * GetUrlParams.js -- part of Quantum GIS Web Client
 *
 * Copyright (2010-2012), The QGIS Project All rights reserved.
 * Quantum GIS Web Client is released under a BSD license. Please see
 * https://github.com/qgis/qgis-web-client/blob/master/README
 * for the full text of the license and the list of contributors.
 *
*/ 

//we need to call this part of the script before initializing the GUI
//because some settings, like the language choice, influence the GUI
var urlParams = {};
var urlParamsOK = true;
var wmsURI; //URI with map parameter or appended map name (with URL rewriting)
var wmsMapName; // map parameter or appended map name (with URL rewriting)
var maxExtent; //later holds the bounding box
var olBoundsRegexp = /^-*[\d\.]+,-*[\d\.]+,-*[\d\.]+,-*[\d\.]+$/; //regExp to check whether bounding box matches OpenLayers bounding box format
var urlString = "";
var format = "image/png"; //the default image format
var origFormat = format; //the original default image format, format is temporarily changed
var searchtables = null;
var visibleLayers = null; //layers that are initially visible
var fullColorLayers = new Array(); //layers that should be displayed in 24bit (JPEG) instead of 8bit PNG, only relevant if the project format is 8bit
{'fraction_non_alphanumeric': 0.09251897361763643, 'fraction_numerical': 0.008673653776653415, 'mean_word_length': 4.041894353369763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5251314', 'n_tokens_mistral': 793, 'n_tokens_neox': 735, 'n_words': 375}