vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   BETA VERSION: Map Locator Hack (https://vborg.vbsupport.ru/showthread.php?t=65674)

Pseudomizer 06-01-2004 08:11 AM

Quote:

Originally Posted by gmarik
Great one - flash involved? If you need IP codes, I've got a large MySQL table of them...

No Flash at all. It is pure Javascript for the mouse over.

What do you mean with IP codes ? And for which country ?

Cheers,

Phalynx 06-01-2004 01:33 PM

Great Hack, thanks!

DaveLogic 06-01-2004 02:04 PM

Quote:

Originally Posted by Pseudomizer
Then please provide me the map details i need for this hack for UK.

Cheers,

The nearest I can find for the UK is this...Very similar format except the name of town is replaced with UK Post code...
Example:

areacode,x,y,latitude,longitude
AB10,392900,804900,57.135,-2.117
AB11,394500,805300,57.138,-2.092
AB12,393300,801100,57.101,-2.111
AB13,385600,801900,57.108,-2.237
AB14,383600,801100,57.101,-2.27
AB15,390000,805300,57.138,-2.164
AB16,390600,807800,57.161,-2.156
- etc -


The link is here http://www.jibble.org/ukpostcodes/

I've also attached the full list as a zip..Hope this helps...

Pseudomizer 06-01-2004 03:36 PM

Quote:

Originally Posted by DaveLogic
The nearest I can find for the UK is this...Very similar format except the name of town is replaced with UK Post code...
Example:

areacode,x,y,latitude,longitude
AB10,392900,804900,57.135,-2.117
AB11,394500,805300,57.138,-2.092
AB12,393300,801100,57.101,-2.111
AB13,385600,801900,57.108,-2.237
AB14,383600,801100,57.101,-2.27
AB15,390000,805300,57.138,-2.164
AB16,390600,807800,57.161,-2.156
- etc -


The link is here http://www.jibble.org/ukpostcodes/

I've also attached the full list as a zip..Hope this helps...

Hi DaveLogic,

sorry for not knowing the UK very well, but are Post codes = ZIP codes ? But i am missing the city names like London, Altrinham, etc.

Cheers,

DaveLogic 06-01-2004 03:51 PM

Quote:

Originally Posted by Pseudomizer
Hi DaveLogic,

sorry for not knowing the UK very well, but are Post codes = ZIP codes ? But i am missing the city names like London, Altrinham, etc.

Cheers,

Yeah, the UK's Post codes are equivelant to ZIP codes..........I've searched high and low for the city names as well but with no luck except for the Airport codes..Entering just the postcode however would still work as well IMO...

Pseudomizer 06-01-2004 03:57 PM

Quote:

Originally Posted by DaveLogic
Yeah, the UK's Post codes are equivelant to ZIP codes..........I've searched high and low for the city names as well but with no luck except for the Airport codes..Entering just the postcode however would still work as well IMO...

Hi DaveLogic,

the current Hack provides userinformation with mouseover effect where the city name is highlighted. You information is great. It is 75% of the data i need.

I have already downloaded the GEO data for the UK and i will be able to draw a map of the UK in the near term.

But i need the city names. Without the city names i will not be able to use the current hack and i do not want to start a new version only for the UK or for any other country. I want to keep it simple which will make my life easier supporting this hack. I hope you understand this.

Regardless of this you are the second guy with really usefull information about a country.

Could you please check if you can get a list of city names and post codes ? I can write a script to combine the 2 sources to one big sql file. This would solve all our problems.

Cheers,

DaveLogic 06-01-2004 04:03 PM

Quote:

Originally Posted by Pseudomizer
Hi DaveLogic,

the current Hack provides userinformation with mouseover effect where the city name is highlighted. You information is great. It is 75% of the data i need.

I have already downloaded the GEO data for the UK and i will be able to draw a map of the UK in the near term.

But i need the city names. Without the city names i will not be able to use the current hack and i do not want to start a new version only for the UK or for any other country. I want to keep it simple which will make my life easier supporting this hack. I hope you understand this.

Regardless of this you are the second guy with really usefull information about a country.

Could you please check if you can get a list of city names and post codes ? I can write a script to combine the 2 sources to one big sql file. This would solve all our problems.

Cheers,

Here's the full list of UK postcodes with city names
http://www.brainstorm.co.uk/post-codes2.txt

Because both files are in CSV format it should be possible to merge the data with the location data???

Pseudomizer 06-01-2004 04:07 PM

Quote:

Originally Posted by DaveLogic
Here's the full list of UK postcodes with city names
http://www.brainstorm.co.uk/post-codes2.txt

Because both files are in CSV format it should be possible to merge the data with the location data???

Hey DaveLogic ? You are really quick. That's all i need. I will now try to merge these files to get one DB for the UK. Now please lay back and relax and be patient. The rest is now my work.

Cheers,

Intex 06-01-2004 04:10 PM

I'd be very interested when you get this operational for the UK :cool:.

DaveLogic 06-01-2004 04:11 PM

Quote:

Originally Posted by Pseudomizer
Hey DaveLogic ? You are really quick. That's all i need. I will now try to merge these files to get one DB for the UK. Now please lay back and relax and be patient. The rest is now my work.

Cheers,

All the thanks is to you............


All times are GMT. The time now is 08:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01759 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete