Map of municipalities (France)

Various EBT statistics can be posted here

Moderators: Fons, Phaseolus

User avatar
Burdie
Euro-Master
Euro-Master
Posts: 1972
Joined: Sat Nov 27, 2004 6:59 pm
Location: Ireland
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by Burdie »

I am trying to login to update my stats (I am now in France) but there is no response. Maybe it had to do that the EBT server is changed.

Update.

Sorry, all sorted. Used wrong password
.
Personal statistics from: NIGMM / EBTST / EBTcheck 259 Hits with 2 triple :flag-ie: 3 :flag-eu: 407
list of (known by me) latest "codes_country.txt" files Blog
User avatar
groentje
Euro-Master
Euro-Master
Posts: 2974
Joined: Wed Sep 17, 2003 6:47 pm
Location: Brussels Capital Region, Belgium

Re: Map of municipalities (France and Luxembourg)

Post by groentje »

This is great!
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

New update soon online:
- fix a bug dropping homonym municipalities if they we both visited
- take into account municipalities with postcode out of their administrative district
- redesigned database to spead up some requests
- refactor map generation so it doesn't get over the server memory limit
- oh and I changed colours ;-)
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
mico
Euro-Master
Euro-Master
Posts: 5791
Joined: Wed Jan 14, 2009 10:40 pm
Location: Fano (Pesaro e Urbino)

Re: Map of municipalities (France and Luxembourg)

Post by mico »

A mon avis, dans mes statistiques il y a une inversion ou une erreur dans la mesure des kilomètres carrés
Attachments
largestsmallest.JPG
largestsmallest.JPG (8.19 KiB) Viewed 4404 times
Bonifacio.JPG
Bonifacio.JPG (12.36 KiB) Viewed 4404 times
Beausoleil.JPG
Beausoleil.JPG (12.69 KiB) Viewed 4404 times
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

wow that was a nice one, in fact I was displaying the surface of the most populated and the less populated cities instead of largest and smallest. In your case you have the surface of Paris and Bonifacio.

This is wrong for all players but you are the first one where the results are not in the right order. Now this is fixed. (and the & in your name too…)
Last edited by aloxe on Mon Nov 27, 2023 8:16 am, edited 1 time in total.
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
mico
Euro-Master
Euro-Master
Posts: 5791
Joined: Wed Jan 14, 2009 10:40 pm
Location: Fano (Pesaro e Urbino)

Re: Map of municipalities (France and Luxembourg)

Post by mico »

aloxe wrote: Sat Nov 25, 2023 12:12 am Now this is fixed. (and the & in your name too…)
merci aloxe
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

I made a few other fixes over the week=end:
- translation are now manageable in blocks
- manual adding of municipalities to unknown location were not reccording any more, I fixed it.
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

oups… placeholder
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
Burdie
Euro-Master
Euro-Master
Posts: 1972
Joined: Sat Nov 27, 2004 6:59 pm
Location: Ireland
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by Burdie »

I can`t find my extra district. I think maybee a bug.

My stats say that I have 17 France Districts.
In Tour de France and on the map shows me 16 districts.

EBT gives me also only 16 departments.
I don't see any strange postcode

I see the Tour de France list gives me one region with no district

Île-de-France (0/8) :
75 77 78 91 92 93 94 95

maybee it had something to do with that
Personal statistics from: NIGMM / EBTST / EBTcheck 259 Hits with 2 triple :flag-ie: 3 :flag-eu: 407
list of (known by me) latest "codes_country.txt" files Blog
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

well Burdie this is a problem
let's find this district in the system
so I can view
null his value
I need to know where it comes from
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

That was an interesting one…

You had an extra département (district) "null" because the system didn't find it for one of your locations. This is one of the two unknown locations that didn't match a known commune.

To fix it I decided to only count départements from the known municipalities because I am sure knwn municipalities have a département identified by the public databases. This fixes the problem, you now count 16 districts as it should.

Nevertheless I wanted to understand why your location of 50110 Cherbourg was not identified as the municipality of Cherbourg-en-Cotentin. When the postcode is good and there is a partial name match, the system should spot it. It should have been spotted. You recorded Cherbourg with two different postcodes and in that case I call the eurobilltracker API to know about the other postcodes (important if this place has an homonym that you also visited). For some reason, the API didn't return the postcodes:
Screenshot 2023-11-30 at 20.57.25.png
Screenshot 2023-11-30 at 20.57.25.png (144.43 KiB) Viewed 4245 times

For the place of Cherbourg-en-Cotentin where you also used the two postcodes of the city, you get them as expected.
Screenshot 2023-11-30 at 20.57.36.png
Screenshot 2023-11-30 at 20.57.36.png (180.58 KiB) Viewed 4245 times

So now I handle cases where the API doesn't return the right answer and I also made a better way to match location partial names. Long story short, your incident made me handle cases that I didn't think could happen so you contributed to a more solid software. Thanks.

Oh and yes, I saw CO.LIMERICK as one of the postcode you registered, that may explain my previous answer ;-)
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

And I forgot to mention, in https://framadate.org/bxwUdktjGEW5wTG6 you chose to add to possibility to share your result in the forum. This is now the case on https://ebt.fr.eu.org/en/. You may get back to https://framadate.org/bxwUdktjGEW5wTG6 to chose the next feature you want added.
a̳l̳o̳x̳e̳ • my other statsmy map of France
User avatar
Burdie
Euro-Master
Euro-Master
Posts: 1972
Joined: Sat Nov 27, 2004 6:59 pm
Location: Ireland
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by Burdie »

I hope it is easier to solve than my previous bug. :wink:

If you look at Kleman's tour the france, you see that he has 'Corse' but on the map it is not coulored blue
Personal statistics from: NIGMM / EBTST / EBTcheck 259 Hits with 2 triple :flag-ie: 3 :flag-eu: 407
list of (known by me) latest "codes_country.txt" files Blog
User avatar
avij
Forum Moderator
Forum Moderator
Posts: 6144
Joined: Mon May 27, 2002 10:45 pm
Location: Helsinki Finland
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by avij »

I believe the API is working properly. Burdie has notes entered from Cherbourg-en-Cotentin (50100) and Cherbourg-en-Cotentin (50110), but none from Cherbourg (any postal code). Therefore queries for Burdie's postal codes for Cherbourg will return empty, and queries for Burdie's postal codes for Cherbourg-en-Cotentin will return 50100 and 50110.
Money makes the world go round. We track how the money goes round the world.
User avatar
aloxe
Euro-Master
Euro-Master
Posts: 1707
Joined: Sun Aug 03, 2008 8:22 pm
Location: Libeň
Contact:

Re: Map of municipalities (France and Luxembourg)

Post by aloxe »

avij wrote: Mon Dec 04, 2023 8:55 pm I believe the API is working properly. Burdie has notes entered from Cherbourg-en-Cotentin (50100) and Cherbourg-en-Cotentin (50110), but none from Cherbourg (any postal code). Therefore queries for Burdie's postal codes for Cherbourg will return empty, and queries for Burdie's postal codes for Cherbourg-en-Cotentin will return 50100 and 50110.
I assume Burdie has also notes recorded in Cherbourg (both 50100 and 50110) because the request of his cities returns Cherbourg with the following object:

Code: Select all

{"city":"Cherbourg","country":"France","top_zipcode":"50110","nrlocations":2}
This is why I expect the empty array to contain 2 postcodes. And yes there is also a

Code: Select all

{"city":"Cherbourg-en-Cotentin","country":"France","top_zipcode":"50100","nrlocations":2}
a̳l̳o̳x̳e̳ • my other statsmy map of France
Post Reply

Return to “EuroBillTracker Statistics”