Doing an npm search whatever
, npm tries to make indexing works.
It returns the "syndrom" message and as I'm using NVM a path like below referencing how npm has been called.
...
# coding: utf-8 | |
import subprocess | |
import sys | |
import getopt | |
import math | |
# Formulas from http://wiki.openstreetmap.org/wiki/Mercator#Python_Implementation | |
def merc_x(lon): | |
r_major = 6378137.000 |
# coding: utf-8 | |
"""Call to adresse.data.gouv.fr API.""" | |
import codecs | |
import io | |
from collections import OrderedDict | |
import requests | |
requests_session = requests.Session() |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Simple Map</title> | |
<link rel="stylesheet" href="http://openlayers.org/en/master/css/ol.css" type="text/css"> | |
<style> | |
#map { | |
background-color: #445c66; | |
height:600px; | |
} |
# coding: utf-8 | |
from PyQt4.QtGui import QMessageBox | |
from qgis.core import QgsRectangle | |
from qgis.gui import QgsMapToolEmitPoint | |
from qgis.utils import iface | |
canvas = iface.mapCanvas() | |
main_window = iface.mainWindow() | |
clickTool = QgsMapToolEmitPoint(canvas) |
MIT License | |
Copyright (c) 2016 Thomas Gratier | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
Often time series charts can be enhanced by shaded blocks to highlight events or periods as shown by this example which uses the R package xtsExtra. Vega specs already allow this functionality, and it is fairly easy to implement.
I added an events object to the JSON data array.
{
"name": "events",
"values": [
{"name":"Test1", "start":"Apr 2000", "end":"Mar 2003"},
Due to request on Twitter https://twitter.com/Stephanux40/status/833289922777903104
There were two issues:
ol.source.GeoJSON
removal in 3.5.0 https://github.com/openlayers/openlayers/releases/tag/v3.5.0 See section "New Vector API" for the exact documentation for upgrading.cluster.geojson
is using projection 3857 instead of the default EPSG 4326, we needed to add in the new ol.format.GeoJSON
the following: ..
format: new ol.format.GeoJSON({