Possible to SQL Server database drive a Google Map by UK postcode? - sql-server

We have a property/accommodation profile page that lists a property address including postcode. This information is stored in a SQL Server database table and the page has a recordset that allows us to feed profile information onto a page depending on the propertyID that is selected (either via link or using a form) by the user.
We created a field in the database table that would allow us to insert the Google Map embed code for a property and, subsequently, we'd then call that on the property profile page but this requires us to create the embed code in Google Maps first, have to paste that into our database field etc, before it would display a map on our page.
So...we would like to database drive the map based on the postcode. Is that possible?
We really don't want to have to get into longitude/latitude coordinates, we just want the map to identify the postcode and put a place marker on a map where that postcode appears.
How do we acheive this? We've tried looking through the documentation and help files, but we really don't know what we're asking for so finding answers is proving incredibly difficult or the answers that we've found seem extremely technical (Google API, Geocoding, etc) for what we're trying to acheive.
Could someone point us in the right direction?
We hoped that there would be some way of inserting the postcode, dynamically, into generic embed code from Google Maps and that Google Maps would do the rest.
Anyway, we would appreciate any help and advice that could be offered. Thank you.
Regards
NJ

Traditionally Postcode data in the UK costs lots of money.
You can now download the Ordnance Survey data and convert their data into Latitude and longitude which would let you plot coordinates on google maps. (http://www.ordnancesurvey.co.uk/oswebsite/products/code-point-open/index.html)

Related

Using Google Apps Script or a Google Sheets formula, How can I get the shared ID of an image that is stored in a Google Drive folder?

I am using Google AppsSheet as a front end to a small business Application I built for a friend using Google Sheets as the user interface, dashboard and database. The Sheet has a dashboard and mockup invoicing system that can display a signature image at the bottom of the invoice that was captured using AppSheet. The filename of the signature is stored in a column as well as all of the other invoice data. On the invoice page, I have a dropdown list of customers and after selecting the customer I click a button that runs a script to populate the invoice with all of the customer data. For the Signature, I am using the Google Sheets formula " =IMAGE("https://drive.google.com/open?id=" & CELL W/IMAGE ID) " to display the captured image on the Google drive. This part works fine BUT only if I use the ID of the image, not the Filename of the image. If have to manually add the image ID, this defeats the automation aspect and I can not expect my buddy to figure that out for every image...
Finally the Question:
Since I have the file name of the image, I would like to get the ID of the image to save in a new column for the recall of the signature Image at the bottom of the invoice page. Then he can export the invoice as a PDF and send to the customer.
Is this possible or is there another way to accomplish displaying an image in Google Sheets using the Filename of an image stored in a Google Drive folder?
I'm a noob and have accomplished a lot using stackOverflow as my main coding reference. I applaud all who contribute to helping us noobs out. Thanks in advance!
I have searched all over google and tried using .getId(), getFilesByName() then trying to get the ID.... As I mentioned before... I am a noob and still wrapping my head around how Objects and Methods work together and trying to visualize the relationships between all of the moving parts. Any good resources for explaining all of this would be helpful as well... Thanks.

Google Place API Flutter syncing with custom city database table

I am working on a taxi booking app where routes between cities are predefined in the database with pickup and drop city.
Without google place API things are working fine.
Now I want to make a dropdown in flutter where it can search any city in the country and if those pickup and drop cities are found in the database then display the route from DB otherwise it will just log an entry in the booking inquiry.
How to map a city data from google to a custom city table where I have cities' names?
This is more of a choice where developers will use their ideas and implement this in their own way. This is though not a right platform to ask this kind of question. Yet I'll try to help in my own way.
In my opinion you don't need to map anything for this case. You can simply check for user input on dropdown and check with your stored cities. If no matches found, you keep the entry for inquiry and if a match is found, you can use Google's Direction api to find route and draw on map.

Google Maps Free API for NGO project

I'm building a React app and I would like to use Maps. Google Maps and other Maps APIs have a charge and this project will be free for the community (just like an NGO) so no budget at all.
In this app there is a page to create an Event, so you can type many things and where the Event will happen, and that is where I would like to use Maps, to search and show the location.
I thought that if is there any possibility to use a search box connected to an API just to get the Longitude and Latitude based on the search would be great, but I have no idea how to make it and I was expecting that you could help me find a way. (the thing is: get the information for free)
Just as I create this event, I would like to show this information on the Event page, so where the event will happen. And that would be the second part that I would like to use Maps. Do you know if I just show the location in Maps if I would be charged? If so, then I can use redirection to Google Maps using the Latitude and Longitude that I got from the event creation.
Thanks in advance!
See https://www.google.com/nonprofits/offerings/google-earth-and-maps/ for non-profit organizations.

Azure map layers available

The Azure base base map that displays with my map looks great but I don't see any of the streams or water basins labelled on the map. Are there Azure map layers available to display this information?
Thanks,
Annette
I suspect the data you are looking for isn't in the base map data. I recommend reporting this feedback on this site: https://feedback.azuremaps.com/ Click on the map where the streams/water basis are missing and press "Add comment". This will create a ticket with our data provider and an investigation will occur on their side to get this resolved in the future. When you send feedback it also creates a URL you can use to go back and check the status of your feedback.

2sxc and Google Maps

I have a table of geocoded data in a DNN database: several columns of data plus latitude and longitude.
I want to create a Google Map and put markers on the map that correspond to the items in the data table.
I have a SQL data source set up, and can get the geocoded data into the razor script, produces tables, etc.
I can create the Google Map, and put markers on it appropriately, but only if the marker data is hard-coded into the javascript that creates the map.
Where I am having conceptual trouble is getting the geocoded data into a form where the javascript can use it. Can someone help me with that part?
Thanks.
I guess the core question is how you store your coordinates - whether you have each number in a field or joined. I would basically follow the example of the map in the default bootstrap 3 templates - here's a link, but I recommend that you install the default templates to see how it's built:
https://github.com/2sic/2sxc-content-bootstrap3/blob/master/_Location%20-%20Full%20Size%20Map.cshtml

Resources