CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Anyone here ever coded an app using world ZIP code data?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Laury022



Joined: 31 Jul 2025
Posts: 1

View user's profile Send private message

Anyone here ever coded an app using world ZIP code data?
PostPosted: Thu Jul 31, 2025 11:43 am     Reply with quote

Hi all,

I’m in the early stages of building an app that would use ZIP/postal code data across multiple countries, and I’m quickly realizing how complex it can get. Every country formats and structures postal codes differently, and making that all play nicely in one system is turning into a real challenge.

My idea is to create a location-based tool where users can input a postal code from anywhere in the world and get back structured info—like city, region, country, and maybe even geocoordinates. Ideally, I’d like the app to support things like autocomplete, distance lookup, and filtering by postal region.

Has anyone here tackled anything similar? I’d love to know:

What data sources you used (especially those that are well-structured and regularly updated)

How you dealt with inconsistencies between formats

If you integrated mapping or geocoding services, how well that worked across borders

I’m mostly focused on backend logic right now but open to advice on UI too if you’ve done something similar.

Thanks in advance for any thoughts! Smile Idea
temtronic



Joined: 01 Jul 2010
Posts: 9561
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Aug 01, 2025 5:24 am     Reply with quote

1st problem is the 'parsing' needed to determine what country you're dealing with.

Here in Canada A1A 1A1 is the official format for postal codes BUT you'll often see A1A1A1 when asked to 'enter your postal code' into a 'window'.

I can see using 'ISAPLHA' and 'ISNUMBER' will be crucial to the task.

I suggest doing your country first to work out the bugs.Then do neighbouring countries, one at a time.
Ttelmah



Joined: 11 Mar 2010
Posts: 19912

View user's profile Send private message

PostPosted: Fri Aug 01, 2025 11:14 am     Reply with quote

Seriously,
is this a CCS C project?????

I honestly cannot believe this is being done o could be done in CCS C on
a PIC.
This requires using an external database like Geopostcodes.com
To even get remotely close to handling this on an embedded system
(which is what this forum is for), is going to be pretty nigh impossible.

If this is not a PIC project, then go elsewhere please.

This is not a forum for coding 'apps'. It is for coding embedded code
in the PIC processor using XXS C.
temtronic



Joined: 01 Jul 2010
Posts: 9561
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Aug 02, 2025 6:07 am     Reply with quote

hmm, I suppose the 'cheat', would be to have the human enter the postal code through the PIC, and have the PIC connect to the internet to ask Google ??
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group