Geometry coordinates of USA state via CloudMade - geocoding

I need to get geometry coordinates of the USA states.
I use CloudMade API and it works well for the most states, but for several others I can't find coordinates - CouldMade API returns multiple results for other places, not states.
I use the requests like this one:
http://geocoding.cloudmade.com/e485574f2cf2424aac17f42908aa2ce3/geocoding/v2/find.js?query=HAWAII&return_geometry=true
Here is the list of states which couldn't be processed well.
CONNECTICUT
GEORGIA
HAWAII
FLORIDA
LOUISIANA
MARYLAND
MISSISSIPPI
NEW JERSEY
NORTH CAROLINA
NORTH DAKOTA
SOUTH CAROLINA
SOUTH DAKOTA
Does anybody know, is it possible to get the geo coordinates of these states using CouldMade service or any other geocoding services?

Question is solved. Here is the correct request format (query parameter should contains 'county' prefix):
http://geocoding.cloudmade.com/BC9A493B41014CAABB98F0471D759707/geocoding/v2/find.js?return_location=true&results=10&skip=0&query=county:CONNECTICUT&return_geometry=true

Related

Is IP address retrieval authorized in terms of users' privacy?

I'm currently new developping large scale webservices and I'd like to retrieve IP addresses from visitors to make some stats about the country/state of origin.
Is it allowed to take IP addresses from clients for internal use?
As this is a kind of personal information, I wonder if it is legal or not retrieving it.
It's not possible for you not to know the client IP (because your site couldn't work without it), but you don't have to keep it. From a GDPR perspective, data is only "personal data" if it can be linked to an individual (even indirectly), so for example you could take the client IP, do some kind of GeoIP lookup on it (preferably local), and then increment a country counter. Then you can simply discard the IP, and the aggregate data you retain has no way of being connected back to an individual, so it's not personal data.
A very simple approach would be a table like this:
Country
Count
France
2
Germany
4
USA
10
So you would just bump the count for the country each time. This gives you the data you're after, but without any privacy impact for your users, and no GDPR exposure.

Maps for other countries in Amazon Quicksight

I am using Amazon Quicksight as our enterprise BI application within the organization. And now I want to use the spatial data to visualize some maps over Europe and Asia. I see an option to include the US in the maps but I don't see an option to do the same for anything other than the US.
Is this a limitation from the Quicksight team that we can only use maps for the US and no other countries at the moment?
Yes you are right. Currently only the US is supported for the Filled map visualization option. You can find this documented here:
https://docs.aws.amazon.com/quicksight/latest/user/geospatial-charts.html
You can work around that using the latitude and longitude coordinates is the visualization called Points on map. You will need to provide the name of the place as an attribute, latitude and longitude.
You can find the list of countries coordinates here
FYI, filled maps are supported at a country level worldwide now. Point maps support down to City level worldwide too (need to add it to a Hierarchy along with the Country field in the data prep screen). Both of these were added in ~July 2021.
country level filled map
city level point map]

PCI DSS Compliance and Data locality

What is the best practice in terms of data locality in PCI DSS compliance world?
Can I store data PCI/PII data (nope, we are not storing any of the CC#, CVV, or any magnetic stripe data) from one country in another country?
Say for example, the merchant is doing his business in Europe (say France or Germany) and the merchant server and DB is in US, will that be considered against PCI compliance?
PCI doesn't mandate to keep the data locally. They just want you to ensure that the data, wherever stored, is according to PCI DSS regulations. Moving or storing the data outside of the country is generally regulated by the Govt. of that particular country. Like in the case of India, entities were storing the data outside of India but after the RBI(Reserve Bank of India, India's central banking institution, which controls the monetary policy of the Indian currency) regulation was passed to migrate the data (transaction data and its metadata) back to India, all the companies had to do so and provide a declaration.
Best practice is to use a hsm locally. This tokenize all sensitive datafields into hashes. Then the data can be distributed. All reverse lookups have to be authenticated and logged locally with the hsm.

Map Visualization with former countries

I'm doing some Power BI with record releases. I would like to display release country on a map, but for Germany I have a problem: I would like to display West and East Germany and the re-united Germany. And how do I deal with Yugoslavia?

Australia Programmatically access weather info

I am looking for web weather service in Australia to get weather data for a location in Australia. Now we are using MSN Webs Service (weather.service.msn.com) but users are complaining about the data accuracy.
I have compared Australian weather data between MSN and NineMSN and it doesn't match exactly.
Is there any simmilar web service provided by ninemsn or Weatherzone?
All Australian weather data derives from the Australian Bureau of Meteorology.
bom.gov.au