Archives de catégorie : Outils

playing with maps, earth, objects, 3D terrain and so on …

raccourcis sketchup

Move : M
Rotate : Q
Select : SPACE
Line : L
Rectangle : R
Circle : C
Orbit : O
Pan : H
Zoom : Z
Scale : S
Push/pull : P
Offset : F
triangulated irregular network or TIN voir : http://help.sketchup.com/en/article/115432
voir aussi
déplacement à la souris : 
clic sur molette + deplacement = rotation
shift clic sur molette : panoramique
contraindre déplacement : 
souris  + fleche
utiliser les points d’inférence pour conserver les // et les distances. Montrer les points d’arrivée
double clic : répète la dernière commande
étirer  + CTRL : création nouvel objet 
guides avec le metre
composant : pour réutilisation objet. 
Si on modifie un composant : toutes les instances se modifient !
A la difference d’un groupe
sélection : activer transparence pour vérifier
dupliquer : deplacer + CTRL jusqu’à la position du dernier objet
puis indiquer le nombre dans la case dimension avec /. Ex : /10
 
outil « suivez-moi » : extrusion sur chemin 
faire objet
faire chemin
selectionner chemin
outil suivez moi et clic sur l’objet à extruder
https://www.youtube.com/watch?v=ngVIBlWiTvM
l’objet extrudé est modifiable/étirable 
 

bouger objet
https://www.youtube.com/watch?v=M2xlYnXzOt8

extension sketchup : http://extensions.sketchup.com/

scripts : http://www.smustard.com/scripts/

Module HTML 3Dhttp://www.cl3ver.com/users/create_account

 

ultimate and best solutions are

tutorials : how to make a road

tutorial : maps as a texture

tools for creating maps with POI

 javascript

python

see also

3D modeler

tutorials

exemples

data

outils

extrait :

Terrain and Elevation Analysis

Mapping Toolbox supports the visualization and analysis of 3D data, such as digital terrain, bathymetry, and other gridded-data products. It provides functions to visualize terrain data and add annotations such as contour lines. You can control lighting, shading, colormaps, and other aspects of the display. The MATLAB graphics environment enables you to reposition the figure camera interactively and programmatically to view your data from different perspectives.

The toolbox also provides functions to calculate gradient, slope, aspect, line-of-sight visibility, and viewsheds. You can use these functions in applications such as the placement of communication towers, where you need to calculate the direct line-of-sight from many vantage points to determine the optimal location.

You can also use Mapping Toolbox with Simulink 3D Animation™ to create a virtual reality world from elevation data; you can then couple the terrain data with analysis provided by other products. For example, you can use Aerospace Blockset™ with your virtual world to perform tasks such as visualizing flight paths over geographic data sets.

A composite 3D map of San Francisco created with functions in Mapping Toolbox.
A composite 3D map of San Francisco created with functions in Mapping Toolbox. DEM data and orthoimage courtesy of U.S. Geological Survey.

 

Utiliser motion, capture d’images (linux)

A voir :

consultation résultats

  • La mise en service de base est faite, le flux de la webcam se fait en pointant sur http://ip_du_RPi:8091

paramétrage de motion :

  • via web : (uniquement en local), cf réglage ds motion.conf
    • http://ip_du_RPi:8080
  • fichier :
    sudo nano /etc/motion/motion.conf

 Vérifier la webcam

Lancement de motion

  • sudo chmod 777 /home/pi/motion/motion.pid
  • LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l2convert.so /usr/bin/motion
  • sinon KO. A corriger pour lancement automatique correct.

NB ; ne pas utiliser le daemon pour voir ce qui se passe, lancer sudo motion (si pas sudo, le fichier de conf ds /etc n’est pas pris en compte)

mise en place/suppression du script de demarrage :

sudo update-rc.d motion defaults
sudo update-rc.d motion remove

Le daemon (service) motion est désactivé par défaut, pour l’autoriser :

# sudo nano /etc/default/motion     // modifier start_motion_daemon=yes
  • Puis démarrer motion :

    # motion

Image fixe avec motion

besoin : capturer une image fixe et la mettre à disposition dans un email

Note: A symbolic link called lastsnap.jpg created in the target_dir will always point to the latest snapshot

target_dir /home/pi/motion

 Problème : motion n’a pas de fonction pour produire à la demande une image fixe. Motion ne convient pas pour alimenter un email avec une image produite à la demande.

FSWEBCAM

http://www.firestorm.cx/fswebcam/

http://www.netinstructions.com/tag/fswebcam/

parametres : http://manpages.ubuntu.com/manpages/lucid/man1/fswebcam.1.html

Pour démarrer fswebcam utilisant le fichier de configuration :

# fswebcam -c .fswebcam.conf

ok avec Logitech : 
# fswebcam -v -D 5 -d v4l2:/dev/video0 --list-framerates --list-controls --list-inputs -p JPEG --save capture.jpg -r 640x480 

ok... avec Microdia VideoCAM ExpressII
# fswebcam -v -D 5 -d v4l2:/dev/video0 --list-framerates --list-controls --list-inputs -p BAYER --save ./www/webcam.jpg --frames 20
(ok en augmentant le nb de frames, mais tjs pb avec la resolution trop faible 176x144 automatique)
ok avec Microdia VideoCAM ExpressII
# fswebcam -c .fswebcam.conf.bayer

Pour stopper fswebcam : sudo pkill fswebcam

mise en place mécanique pour lancement au démarrage :

  1. tga.fswebcam dans le dosier /etc/init.d
  2. sudo chmod 755 /etc/init.d/tga.fswebcam pour rendre exécutable
  3. sudo update-rc.d tga.fswebcam  defaults

VLC

http://www.mybigideas.co.uk/RPi/RPiCamera/

# fonctionne avec Microdia VideoCAM ExpressII !!!
vlc -I dummy v4l2:///dev/video0

Trucs

  • voir les dernières lignes du syslog : tail -20 /var/log/syslog
  • pour rafraichir le systeme régulierement :
    •  avec cron, un reboot automatique tous les deux jours.

Générateurs de book

générateur de books

LaTeX

jsPDF

jsPDF is an open-source library for generating PDF documents using nothing but Javascript. You can use it in a Firefox extension, in Server Side Javascript and with Data URIs in some browsers. https://code.google.com/p/jspdf/ demo : http://parall.ax/products/jspdf

pdfKit

http://pdfkit.org/ PDFKit is a PDF document generation library for Node that makes creating complex, multi-page, printable documents easy. It is written in pure CoffeeScript, but you can choose to use the API in plain ‘ol JavaScript if you like. The API embraces chainability, and includes both low level functions as well as abstractions for higher level functionality. The PDFKit API is designed to be simple, so generating complex documents is often as simple as a few function calls. Check out some of the documentation and examples to see for yourself! démo : http://pdfkit.org/example.pdf

Bytescout PDF Generator SDK for Javascript

BytescoutPDF.js provides 100% client side PDF generation with text, images, graphics, links, html formatting. No Acrobat or server side components required to work! With this script PDF is generated on the client-side in the browser http://bytescout.com/products/developer/pdfgeneratorsdkjs/index.html FREE for non-commercial use 100% client side javascript works in all modern browsers including Internet Explorer, Firefox, Chrome, Safari, iOS Safari designed to create rich PDF reports with images, tables and text; allows to add bookmarks (outlines) tree; supports links (internal and external); supports text style, font size, color, style changes using  HTML formatting;  5 different fonts supported with bold, italic, underline styles and auto wrapping;  supports images (from URL) and drawings from canvas;  can set document information for PDF  can stream generated PDF right to browser or as attachment to download  18 source code samples to copy and paste from!

Les outils de Matt Landau

http://www.vacationrentalmarketingblog.com/resources/

(à reprendre)

tt’s Top 21 Vacation Rental Resources  If you are like all the owners and managers on my newsletter, you’re always on the look out for new tools and services to help solve a problem or make more efficient some aspect of your vacation rental business.  And since so many of my subscribers are constantly asking me “Matt, what software did you use to do this?” or “Matt, what tool did you use to record that?” I’ve decided to share all my resources below.  While I always have plenty to recommend, these are only resources that I use myself. Most of them are free! So just share this page using the lock-box below and get access to them all right now_…  Email Management  iContact: There are some bigger and more reputable email services out there, but I’ve also often used iContact and am perfectly happy with it. In fact, this is the provider I use for my newsletter to you all. It’s a bit more expensive but does the trick just fine.  Rapportive: The coolest way to spy on exactly who your prospective guests are, where they live, and what they do for a living. Simply install it and watch on the sidebar of your email (Gmail and Outlook only I believe) the magic happen.  Boomerang: If you ever struggle with following up no-reply guests, this tool will save your life. I have been using it now for about 2 years and although it is free, I would totally pay any price they asked: that’s how awesome Boomerang is.  Hosting  BlueHost: If you’re going to host your website somewhere, do it with BlueHost. They’re pretty much the best in the game at hosting and their customer service is top-notch. [Full disclosure: when you click this link, it gets attributed to my referral account]  GoDaddy: I’ve used GoDaddy too for some of my websites and they do a very efficient and easy job of the URL>website process. Plus there are TONS of tutorials on YouTube that walk beginners through pretty much every single step.  Content Creation  Wordle: If you’ve ever seen one of the word clouds I’ve created, I probably used this tool to create it. It’s free, easy, and pretty darn flexible.  Pressbooks: This is my newest weapon in creating eBooks for you all. It’s new, incredibly simple (literally, publishing your content into the form of an E-Book is no harder than copy/pasting an email) and best of all, it’s free! The creator Hugh is also very customer-oriented.  Flickr: If you’re looking to use stock photos of your region that won’t get you in trouble for copyright infringement, this is the site for you. Just be sure to do your searches using the Creative Commons License (those are photos that the authors don’t mind being distributed).  Video  Camtasia: This is the software that I use to record all my screencast videos. It’s incredibly simple, has versions for both Windows and Mac, and utilizes this simple upload feature so you can put the video on YouTube with one click. Having researched them all, Camtasia is pretty much the gold standard.  Websites  WordPress: It’s no secret that WordPress is the easiest, most straightforward platform on which to build your website. Most DIY vacation rental owners use it (and so do I).  WooThemes: If you have a WordPress website, here is the theme company I use most often. The template for my blog is the Gazette template and I’ve had tons of success with other templates of theirs as well. For like $70 you can get three themes (and they’re all really nicely formatted and easy to use).  WPSharely: I’m pretty sure that this tool was single-handedly responsible for my giant boost in subscribers. It’s the cool little locked-module that requires users to share a page (whatever page you want) via Facebook, Twitter, or Google+ in order to unlock the contents.  ThriveThemes: This is the theme I use for my blog and it is by far the best theme I’ve ever purchased with WordPress. Plain and simple.  HelloBar: I love this tool and while I’m not using it at the moment, it is IDEAL for promoting special deals or offers at your rental. In fact, a number of my subscribers are putting it to great use. It shows up in the form of a sexy and sleek orange bar at the top of your site (and there’s a free version).  Online Bookings  ReservationKey: I get asked a lot about which booking system I use and while it’s not the sexiest or most comprehensive, I have been nothing but content with ReservationKey and it’s proprietor, John, who is available around the clock for questions. Cheap, fast, everything you need (nothing you don’t).  InfusionSoft: Folks often ask what CRM platform I use for this blog and the answer is the almighty InfusionSoft. It’s what basically runs “my marketing life” and has quite a steep learning curve (so definitely consult the reps before purchasing).  Press Releases  PRWeb: I’ve used plenty of press release services before but I still seem to get the best results with PRWeb. I’ve even gone as far to visit their offices in Maryland and meet with their president and CFO!  PR.com: Not quite as powerful but still certainly worth a try, especially if you’re new to press releases.  Analytics  Google Analytics: You simply aren’t doing your job if you don’t have Google Analytics installed on your personal website. It’s free, it gives you scientific-like insight into where your guests are coming from, and most importantly, it can be installed with literally the click of a button.  Google Keyword Selector Tool: If you were ever wondering about the demand for vacation rentals in any given market, Google’s keyword selector tool is the best in the bunch. Simply type in your search term and see volume/competition throughout the world.  Zipinion: You’ve probably read my articles about these guys, but if not, Zipinion is a great tool to get feedback about your property from anonymous and unbiased individuals. Great tool, great customer service.  Open Site Explorer: Ever wondered how your competitors are getting all their leads? This tool provides every nitty gritty detail about your competitors’ website free of charge (I think it’s like 5 free searches per day)  Oh and if you have any tools or resources you think I should be using (that’s not listed above) please send them on over! (Please, no self-promoting plugs here.)

Mindmapping

MindMapping

cet outil ! MindMeister (link)

gratuit et payant

version iPad

intégré à Google Drive

Mindmup (link)

pour un usage BASIQUE

gratuit

online

intégré à Google Drive

tres pauvre en mise en page

pas de lien entre carte

pas de version iPad

copier/coller de texte pour créer des noeuds ne fonctionne pas

pas de NOTES

XMIND (link)

gratuit et payant

mise en forme plus évoluée

pas intégré à Google Drive

pas de version iPad

freeplane (link)

gratuit

opensource

pauvre en mise en page

pas de version iPad

VuE (link)

opensource

AUTRES

http://www.mindmeister.com/139214831/mind-mapping-programs

cartes publiques (link)

Construire une carte heuristique (link)

http://www.mindmeister.com/users/channel/mm_tthornton

http://www.mindmeister.com/56757692/a-world-without-email-email-is-where-knowledge-goes-to-die

http://www.mindmeister.com/users/channel/RobinGood

http://www.mindmeister.com/users/channel/krasnic

Calculateur d’itinéraire

Calculateur d’itinéraire passant par  PLACE

GOOGLE MAP

web services (link)
https://developers.google.com/maps/documentation/directions/ (link)

The Google Directions API is a service that calculates directions between locations using an HTTP request

2,500 directions requests per day.

When the mode of transportation is driving, walking, or cycling, each directions search counts as a single request.

Searching for transit directions counts as  4 requests.

Individual requests for driving, walking, or cycling directions may contain up to 8 intermediate waypoints in the request. Waypoints can not be specified for transit requests.

https://developers.google.com/maps/documentation/imageapis/ (link)
https://developers.google.com/places/ (link)

https://developers.google.com/places/documentation/ (link)

The Google Places API is a service that returns information about Places — defined within this API as establishments, geographic locations, or prominent points of interest — using HTTP requests. Place requests specify locations as latitude/longitude coordinates.

staticMap
http://maps.googleapis.com/maps/api/staticmap?center=28302,Gallardon,France&zoom=14&size=512×512&maptype=roadmap&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=color:red|color:red|label:C|40.718217,-73.998284&sensor=false&key=AIzaSyBrdi03QidyDemfWkewyzQkjRzhmMDjiXE (link)
maps.googleapis.com/maps/api/staticmap?center=28302,Gallardon,France&zoom=14&size=512×512&maptype=roadmap&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=color:red|color:red|label:C|gallardon|label:C|Ymeray&sensor=false&key=AIzaSyBrdi03QidyDemfWkewyzQkjRzhmMDjiXE
zoom 10, taille 1024

http://maps.googleapis.com/maps/api/staticmap?center=28302,Gallardon,France&zoom=10&size=1024×1024&maptype=roadmap&markers=color:green|label:G|Gallardon&markers=color:red|color:red|label:C|Bailleau|label:C|Ymeray&sensor=false&key=AIzaSyBrdi03QidyDemfWkewyzQkjRzhmMDjiXE (link)

zoom 10, taille max = 640, 3 marqueurs

http://maps.googleapis.com/maps/api/staticmap?center=28302,Gallardon,France&zoom=10&size=640×640&maptype=roadmap&markers=color:green|label:G|Gallardon&markers=color:red|color:red|label:C|Bailleau|label:C|Ymeray&sensor=false&key=AIzaSyBrdi03QidyDemfWkewyzQkjRzhmMDjiXE (link)

viewport, centré sur chartres, avec Dreux et Rambouillet de Visible

http://maps.googleapis.com/maps/api/staticmap?center=Chartres,%20France&visible=Dreux,France|Rambouillet,France&size=512×512&sensor=false&visual_refresh=true (link)

viewport, centré sur chartres, avec Dreux et Rambouillet de Visible, zoom:10 + marqueur Gallardon

http://maps.googleapis.com/maps/api/staticmap?center=Chartres,%20France&visible=Dreux,France|Rambouillet,France&size=512×512&sensor=false&visual_refresh=true&zoom=10&markers=color:green|label:G|Gallardon (link)

url limité à 2048 caracteres
sinon (link)
google engine lite
https://support.google.com/mapsenginelite/?hl=fr (link)
ATTENTION AUX TERMES DE LA LICENCE
support

Parametres

key — Your application’s API key. This key identifies your application for purposes of quota management and so that Places added from your application are made immediately available to your app. Visit the APIs Console to create an API Project and obtain your key.
location — The latitude/longitude around which to retrieve Place information. This must be specified as latitude,longitude.
radius — Defines the distance (in meters) within which to return Place results. The maximum allowed radius is 50 000 meters. Note that radius must not be included if rankby=distance (described under Optional parameters below) is specified.
sensor — Indicates whether or not the Place request came from a device using a location sensor (e.g. a GPS) to determine the location sent in this request. This value must be either true or false.

Optional parameters

keyword — A term to be matched against all content that Google has indexed for this Place, including but not limited to name, type, and address, as well as customer reviews and other third-party content.
language — The language code, indicating in which language the results should be returned, if possible. See the list of supported languages and their codes. Note that we often update supported languages so this list may not be exhaustive.
minprice and maxprice (optional) — Restricts results to only those places within the specified range. Valid values range between 0 (most affordable) to 4 (most expensive), inclusive. The exact amount indicated by a specific value will vary from region to region.
name — One or more terms to be matched against the names of Places, separated with a space character. Results will be restricted to those containing the passed name values. Note that a Place may have additional names associated with it, beyond its listed name. The API will try to match the passed name value against all of these names; as a result, Places may be returned in the results whose listed names do not match the search term, but whose associated names do.
opennow — Returns only those Places that are open for business at the time the query is sent. Places that do not specify opening hours in the Google Places database will not be returned if you include this parameter in your query.
rankby — Specifies the order in which results are listed. Possible values are:
prominence (default). This option sorts results based on their importance. Ranking will favor prominent places within the specified area. Prominence can be affected by a Place’s ranking in Google’s index, the number of check-ins from your application, global popularity, and other factors.
distance. This option sorts results in ascending order by their distance from the specified location. Ranking results by distance will set a fixed search radius of 50km. One or more of keyword, name, or types is required.
types — Restricts the results to Places matching at least one of the specified types. Types should be separated with a pipe symbol (type1|type2|etc). See the list of supported types.
pagetoken — Returns the next 20 results from a previously run search. Setting a pagetoken parameter will execute a search with the same parameters used previously — all parameters other than pagetoken will be ignored.
zagatselected — Restrict your search to only those locations that are Zagat selected businesses. This parameter does not require a true or false value, simply including the parameter in the request is sufficient to restrict your search. The zagatselected parameter is experimental, and only available to Places API enterprise customers.

API KEY

AIzaSyBrdi03QidyDemfWkewyzQkjRzhmMDjiXE

PLACE TYPES

accounting
airport
amusement_park
aquarium
art_gallery
atm
bakery
bank
bar
beauty_salon
bicycle_store
book_store
bowling_alley
bus_station
cafe
campground
car_dealer
car_rental
car_repair
car_wash
casino
cemetery
church
city_hall
clothing_store
convenience_store
courthouse
dentist
department_store
doctor
electrician
electronics_store
embassy
establishment
finance
fire_station
florist
food
funeral_home
furniture_store
gas_station
general_contractor
grocery_or_supermarket
gym
hair_care
hardware_store
health
hindu_temple
home_goods_store
hospital
insurance_agency
jewelry_store
laundry
lawyer
library
liquor_store
local_government_office
locksmith
lodging
meal_delivery
meal_takeaway
mosque
movie_rental
movie_theater
moving_company
museum
night_club
painter
park
parking
pet_store
pharmacy
physiotherapist
place_of_worship
plumber
police
post_office
real_estate_agency
restaurant
roofing_contractor
rv_park
school
shoe_store
shopping_mall
spa
stadium
storage
store
subway_station
synagogue
taxi_stand
train_station
travel_agency
university
veterinary_care
zoo

Exemple (link)

<!DOCTYPE html PUBLIC « -//W3C//DTD XHTML 1.0 Transitional//EN » « http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd »>                                                                                                             //<![CDATA[                   var map = new GMap2(document.getElementById(« gmapper_map »));                   var geocoder = new GClientGeocoder();                 map.enableScrollWheelZoom();                       var mapdiv = document.getElementById(« gmapper_map »);                      GEvent.addDomListener(mapdiv, « DOMMouseScroll », wheelevent);                       mapdiv.onmousewheel = wheelevent;                                   //map.addControl(new GSmallMapControl());                   map.addControl(new GMapTypeControl());                   //var mycontrol = new GHierarchicalMapTypeControl();                  //var mycontrol = new GMapTypeControl();                  //map.addControl(mycontrol);                 map.setCenter(new GLatLng( 46.2276380,2.2137490),6);                                       //alert(response.Status.code);                  new GKeyboardHandler(map);                   map.enableDoubleClickZoom();                   map.enableContinuousZoom();                   map.setMapType(G_NORMAL_MAP);                                   var interval = setInterval(« tilechk() »,500);                  //]]>                                                                  //<![CDATA[                 //map.addControl(new GScaleControl());                 var bounds = new GLatLngBounds();                     latlngtmp = new Array();                    var marker = new Array();                     GEvent.addListener(map, »click », function(overlay, latlng) {                        if (latlng) {                      latlngtmp[count] = latlng;                      var image = (!count) ? new Array(« http://www.distance.to/img/mrk.strt.png »,28,16) : image = new Array(« http://www.distance.to/img/mrk.png »,28,16);                       //map.openInfoWindow(latlng, myHtml);                      marker[count] = createMapMarker(latlng,image);                      map.addOverlay(marker[count]);                      //map.setCenter(latlng);                  if(count >= 1) {                  var _color = Math.floor(Math.random() * 16777215) + 1;                  var polyline2 = new GPolyline([                  latlngtmp[count-1],                      latlngtmp[count]], »# »+_color.toString(16),3,0.9);                  map.addOverlay(polyline2);                  showVarDistance(new Array(latlngtmp[count-1].y, latlngtmp[count-1].x), new Array(latlngtmp[count].y, latlngtmp[count].x),count, »# »+_color.toString(16));                  }                  count++;                    }                  });map.addControl(new GMapTypeControl());//]]>                                                                                      <!–              [if lte IE 6]><![endif]              –>                                                                  

Exemple code Googl Store locator Php/mySQL (link)

Exemple Javascript pour trouver PLACES (link)

CONSOLE API (link)

GOOGLE MAP ENGINE

https://mapsengine.google.com/admin/?newuser=true&authuser=0&pli=1#MapCreationPlace:cid=05658090892726499480&v=MAP_CREATION&aid=05658090892726499480-16071188762309719429 (link)