How to load and show images from google.images using AS3? - actionscript-3

I'm investigating a if it's possible to do this, what I'd like to do is to retrieve the search from google images and show the result in AS3, first, is this even possible?, if so, do you have an idea how to achieve it?.
Thanks.

You can use the google custom search api.
You will get the result as a json stream or an atom feet. But you will be restricted to 100 search calls a day, unless you pay good money to the folks at google.

Related

Create Google document with pictures and descriptions

I am fairly new to Google Apps Script for something complex like this. I am attempting this small project to investigate and improve my understand of Google Apps Script. I have spent a lot of time off and on on this task. I feel like I'm approaching this task all wrong and I need a some guidance. BTW, the end user is my brother.
Overview:
The end user performs inspections and he takes pictures of issues that he discovered. I would like to create a Google Apps solution that will allow the end user to upload the pictures, make notations, then generate a PDF report to print/email. The solution would allow him to upload his pictures and make notations or provide descriptions.
Problems:
The pictures are high resolution pictures that can be about 5-6 Megabtyes each, but the final report usually does not need this high resolution of pictures. I think I would need to reduce the picture resolution to an appropriate level for the reports.
I would like the end user to be able to perform all the tasks within the custom Google Apps Script workflow solution without having to jump to this, that, or the other application (like using Picasa).
Would I create a UiApp to create a form to use for uploading the pictures and making notations?
Thanks for all the help. Just let me know if I need to provide any more clarification on my request.
Sincerely,
Have you seen this post where I suggest a complete workflow to handle image upload with automatic resize. You should only add a textArea widget to type the comments wich would be a good GAS practice exercise :-)
The post has a couple of links to online demo form , doc and spreadsheet, feel free to have a look, many people have already posted a lot of images of all kind !!
Following your comments - this script does not modify the original file, it would be possible to upload multiple files in one submission, Picasa is probably a good idea, have a look at this tuto to see how to integrate it in gas, have a look also to Romain Vialard and James Ferreira website (easy to find in a google search)

how to find local restaurants by postcodes in asp.net mvc?

I want to create a website like http://just-eat.co.uk/ or http://hungryhouse.co.uk/ .
by this websites you can find local restaurants by your postcode.
question is how can i find restaurants by postcodes ? I should use Google map API ? it seems this websites do not use Google map API.
someone Help me !
try using factual. They have a really easy restful api that I find really easy to use. But the only fallback is that you only have a limited number of calls to their database unless you pay. But the starting call limit is pretty good if you're not trying to do anything large scale.
http://www.factual.com/

I need to make a clean, nice-looking map for a presentation based on a Google map. Any easy way to do this?

I want to make a very clean map that only shows relevant information - e.g., only the streets that matter. I was going to just draw a map while looking at Google's, but that turned out to be very slow. Is there any way to make this easier, perhaps with some combination of mapping software and Google's API?
(If I should of put this on another SE site, please tell me)
Building upon Suvi's nice answer.
There is a very useful open-source project that collects street data for the entire globe. It's called OpenStreetMap. On their website you can extract the specific street data you need. It only takes a few clicks and bam! you got the map you need. Their data can also be accessed (perphaps easier for some) from here and here. Those links can provide you with the shapefile(map) that you need. Your newly aquired map can then be loaded in the free QGIS software that was mentioned. There you can easily select the streets you are interested in.
When you mean you want to only show "streets that matter", you are out of luck with using Google Maps. Because you have no control over the ROADMAP data that google provides. Now what you can do, is use another mapping software such as ArcGIS or Quantum GIS (which is free). Both these softwares allow you to load road data shapefiles, and you can query (select) which roads you want to display and customize the look of it to your liking.
If you want a quick approach (without having to download softwares), I believe ArcGIS has an online portal which allows you to display information you want on top of their base maps. You will still need the shapefile for your streets though. Check this link out, make yourself an account and experiment around with it http://www.arcgis.com/home/. If you click on the Map tab, it takes you to a screen which should allow you to upload shapefiles.
You said you were ' going to just draw a map'. If all you need is a very clean map, you can consider using iMap Builder which is a mapping software supports both map shape files, and custom Google maps. I have used to create some simple map projects before and worked great for me. You can use their pre-made map templates which shows just the map outlines without any details, you can then add routes / points / mouse-over speech bubbles etc as you need.

google maps integration details

Does anyone know if it is possible to integrate Google maps and use also their data on topics.
Im using cakephp Framework.
I want to integrate a map of munich with fashion stores shown into my website.
But i want to show the results that come on google maps for fashion shops munich.
In the tutorials i see only ways to create your own markers.....
and second question is , i also would like to display the details , like opening hours and stuff.... is this data also available for automatic usage?
Yes, you can. You can style the POI on the map.
Also, you can only show the data google has available. They may not have every place, and a LOT of their places do not have hours. If you want a lot of data, I would suggest using your own markers.

Plot hundreds if not thousands of addresses and do a radius search

In my web application I have a list of businesses/clients and their information, including their address. I'd like to mark one of them, then get the other businesses/clients that are in a X km radius.
I'd prefer to control the X with a slider, and I'd prefer to display the results on a map as well, but neither point is crucial. How should I go about this? Would Google Maps be a good tool? Where can I find more information, or an example of this?
Google Maps API should work well for this.
In fact combine it with Fusion tables, is even better. FT will host your database, and make making 'spatial' queries against your data easy (ie results within X of Y). FT is even intergrated with the Maps API to display the results of your query direct on the map.
If you want to use an Open Source Javascript library with possibly a bit more flexibility than google maps' API, use OpenLayers - and if you dont want to have to pay the new Google Maps API fees, you can use OpenStreetMap for your background layers. Make your slider with something like jQuery UI or Dojo and link them with some event handling. Job done.
What's your back end application written in? There's assorted geospatial libraries that make spatial queries nice n easy in most languages. A bit of googling should bring them up. I doubt you'll need to go for a full spatial database, but if you do then check out PostGIS - that can do stuff like find all the businesses within Xkm of a major road (once you've got all the data into it of course!).
www.osgeo.org is the best start for open source geospatial software. Lots of web, database, and desktop tools there.
Google Maps doesn't support a local search. It provide only an API to find and set marker and get a direction. It has some beautiful maps, too. What you want is the harvesine formula to look for close targets. Alernatively you can use a spatial extension and search for tiles or cluster of targets. It's just an approximation. I don't thin that FT support the former or the latter. It's just a Sqlite-alike database to store your markers.
Try mysql spatial extensions.If you cannot implement Radius Query which i think you cannot consider strongly to switch to postgresql+postgis.Once you migrate this problem will be solved in 5 minutes.
Also for a custom solution take a look at this answer
Cheers