Apparently based on the given answers and provided links, these metatags are not considered by all engines, especially by Google, according to Giancarlo Soldera Graziano's answer, and there is little material available about it.
The reason I wanted these tags is in the original question:
.... to help search engines know that the information on my site refers to a specific city.
Trying to find the answer, I came across another concept: structured data . I know I did not ask about it, but it's because I did not know it existed, and in fact that's what I was looking for, but I did not know.
Using structured data, I can tell Google (key search engine) valuable information about my site, including the latitude and longitude that was asked.
This site generates the structured data script. It will deliver you a script of type application/ld+json
that you place on head
of your page. Here is an example that I generated on this site:
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "Bakery",
"name": "Minha Padaria",
"url": "www.minhapadaria.com.br",
"description": "Essa é a descrição da minha padaria",
"address": {
"@type": "PostalAddress",
"streetAddress": "Rua da Padaria, 29",
"addressLocality": "São Paulo",
"addressRegion": "SP",
"postalCode": "00000-000",
"addressCountry": "Brazil"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "38.844573",
"longitude": "-77.286766"
},
"openingHours": "Mo, Tu, We, Th, Fr, Sa 06:30-20:00",
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+55(11)0000-0000"
}
}
</script>
There are other sites that generate this, such as:
link
link