Questions tagged [street-address]

1

votes
2

answer
427

Views

Django: How to nicely format an address in a template without knowing how much information is available?

I have a table with address information. It has these fields. address_1 address_2 city state zip No field is required. I want to display this in a template and format it nicely. I want line breaks between address_1, address_2, and the city/state/zip line for any of those that exists. I also want a c...
raddevon
0

votes
0

answer
5

Views

Where do I get “Find Methods” for Loqate's Address Verification?

I'm testing our Loqate's Adress Verification https://www.loqate.com/resources/support/apis/Capture/Interactive/Retrieve/1/ The API is asking for a Key and Id as part of the required parameters, I have the Key, but for the Id it says in the description that it's a "Find Method" but I don't know where...
Raul Marquez
1

votes
3

answer
1.7k

Views

Predictive Street Address for iOS App?

I'm developing an iOS app and I want to be able to have a textfield for users to enter in an address and when you enter in a character for the street name, a pop up below the textfield will appear suggesting the street name. Does anyone know whether something like this already exists? Alternatively,...
user1522318
1

votes
1

answer
88

Views

Insert a non-character if a criteria is TRUE

Is it possible to insert a non-character, in this case -, if a particular criteria is met? For example: If there are five numeric characters (12345), then insert a - after the 2nd numeric character (12-345). I am trying to fix street addresses. Thanks!
yokota
1

votes
2

answer
3.7k

Views

How to get address from Google maps(V2) by touching the map in android

i am developing an application, in that i need to display googlemap(V2) and i need to get the address of the particular location when i touch on the map. I did this in previous version of google maps. In the new version i used the following code for dispalying the map, but i dont know how to get the...
koti
1

votes
2

answer
1.1k

Views

Validate address of india using regex - php

I have some address as below text #4/5, Some company & name with - in its name ltd., 3rd cross, 5th main (some land mark) some place name state, IN 566003 my regex below is not working \d{1,5}\s\w.\s(\b\w*\b\s){1,2}\w*\. for me
Yellow and Red
2

votes
1

answer
3k

Views

Free Address Verification/Standardization

USPS webtools is expensive, and Google Maps doesn't have certain addresses. Are there any free or open-source solutions?
ma11hew28
3

votes
2

answer
1.5k

Views

Using natural language processing to extract an address from a tweet

I'm building a twitter bot that will listen for tweets like the following: Hey @twitterbot, I'm looking for restaurants around 123 Main Street, New York or, another example: @twitterbot, what's near Yonge & Dundas, Toronto? I'm hungry! It'll then reply with the kind of data you'd expect these questi...
Joshua Comeau
2

votes
2

answer
608

Views

parsing address “label” fields in Excel, C#, VBA, other?

Someone's sent me a Word file full off address labels separated by tabs. See I'm trying to figure out the best way to import the addresses into individual records. Probably just go with NameLine, Address1, Address2 for each one (3 fields that I can parse later). What can I do easily with C# or VBA?...
Caveatrob
17

votes
6

answer
33k

Views

Best Practice / Standard for storing an Address in a SQL Database

I am wondering if there is some sort of "standard" for storing US addresses in a database? It seems this is a common task, and there should be some sort of a standard. What I am looking for is a specific schema of how the database tables should work and interact, already in third normal form, inclu...
Douglas
2

votes
0

answer
11

Views

Korean address system

I am trying to create a address form for south korean people. I don't know korean language. So, Can someone provide me example address forms. Also, are there any trick to validate this form? (required, lenght, special regex etc.) Thank you so much!
Hayreddin Tüzel
1

votes
6

answer
1.2k

Views

Programatically find common European street names

I am in the middle of designing a web form for German and French users. Within this form, the users would have to type street names several times. I want to minimize the annoyance to the user, and offer autocomplete feature based on common French and German street names. Any idea where I can a royal...
Adam Matan
18

votes
12

answer
18.4k

Views

How do I match street addresses to UK postcodes? [closed]

U.K. sites that require addresses often ask the user to provide a postcode. The site then offers the user a choice between the different addresses that match that postcode. How can I match a postcode to a street address?
ctford
6

votes
7

answer
9.6k

Views

Address Match Key Algorithm

I have a list of addresses in two separate tables that are slightly off that I need to be able to match. For example, the same address can be entered in multiple ways: 110 Test St 110 Test St. 110 Test Street Although simple, you can imagine the situation in more complex scenerios. I am trying to de...
sestocker
1

votes
2

answer
2.1k

Views

Regex pattern matching for inconsistent address patterns in large dat file

I know it can't be perfect but I am not very good with regex and I'm having difficulties getting a better matching percentage. I have a file that has over 9 million rows and the addresses are very inconsistent. I was wondering if I could get some help from the people here that are better than me. A...
5

votes
1

answer
673

Views

Most complete source of international address formats?

I'm looking for a source that describes the standard address format for most of the world's countries. I've found sources for the more prominent Western and Asian countries, but these sources tend to peter out pretty quickly when you get away from larger/more influential countries. Ideally I'd like...
spiffytech
2

votes
5

answer
2.9k

Views

Extract Address from String in PHP with RegEx

My Problem I'm attempting to crawl the individual links on the US House of Representatives Site to find Washington addresses for all of the listed individuals. The problem is that the format of the Washington address varies from time to time. Sometimes there are bullets, pipes, new lines and break-t...
5

votes
1

answer
5.9k

Views

Google Geocoder service is unavaliable (Coordinates to address)

I have to get an address by coordinates, but it doesnt work and outputs "Couldnt get address": public String GetAddress(String lat, String lon) { Geocoder geocoder = new Geocoder(this, Locale.ENGLISH); String ret = ""; try { List addresses = geocoder.getFromLocation(Double.parseDouble(lat), Double.p...
NirPes
20

votes
6

answer
87.6k

Views

Google Maps API v3 - Get map by address ?

i am new to google maps, and i would like to integrate it into my website ( Yellow pages kind of site ). i currently have the following code: $(document).ready(function () { var latlng = new google.maps.LatLng(-34.397, 150.644); var myOptions = { zoom: 8, center: latlng, mapTypeId: google.maps.MapTy...
Dementic
1

votes
1

answer
2k

Views

Generating test data - how to generate a valid address for a given US zipcode?

I am creating a tool which depends on addresses. For the purposes of testing, I'd like to create a large number of valid US addresses. I have the GeoNames postal code data and I would like to generate some number of real addresses for each of the ~41,000 zip codes in the United States. I've found s...
Joseph
20

votes
6

answer
13.1k

Views

is there a library for parsing US addresses?

I have a list of US addresses I need to break into city,state, zip code,state etc. example address : "16100 Sand Canyon Avenue, Suite 380 Irvine, CA 92618" Does anyone know of a library or a free API to do this? Google/Yahoo geocoder is forbidden to use by the TOS for commercial projects.. It would...
WeaselFox
6

votes
6

answer
3.6k

Views

Is there pseudocode for UK address or phone number validation?

Do you have pseudocode for field validation of the following items in the UK? I am from the USA, so I only know the ones in the USA right now. Address Line 1 Phone Number Mobile Number (in case they have a special rule for this, which they might not) Post Code
11

votes
3

answer
2.9k

Views

Validation for Irish Eircode

I'm wondering if there's a best practice for validation for the Irish Eircode format. My best attempt so far, using REGEX in JavaScript, is the following based on the official spec found on page 11 here. (Page 11 based on the page numbers in the document, or page 12 if you include the cover) /^[A,C,...
ConorLuddy
21

votes
1

answer
8.8k

Views

Markup for postal addresses

Which HTML5 markup should we use for postal addresses? And which vocabulary could we use for enabling machine-readability? As an example, the address of W3C’s main office: W3C/MIT 32 Vassar Street Room 32-G515 Cambridge, MA 02139 USA
unor
5

votes
1

answer
6k

Views

Get nearby street addresses within a radius

I would like to retrieve a list of all the street addresses within a small range on a geopoint. A scenario for use is for a user to select his/her current address from a list of addresses (within say 50 meters) of current location, since location retrieval is not going to be accurate enough. I am wo...
7usam
6

votes
4

answer
9.8k

Views

How to find distance between two addresses? (Java server side)

I have a "social" geographic aware application I'm developing, and the million dollar question is how do I list a set of items that are "within X miles" of "my location" since there are million applications that do that, I was surprised to find that only Google Maps API has a free web service for th...
Eran Medan
4

votes
1

answer
281

Views

Recommended Globalization References [closed]

I'm working on a web application that is globalized. The development process is agile style, with several sprints already completed. Our globalization framework is good and localization efforts have been successful so far. However, we continue to run into questions during requirements development...
sminar
1

votes
6

answer
1.2k

Views

How do you deal with duplicate street suffixes?

I have a system where users need to enter addresses. I am trying to limit duplicates of course and something I started noticing was becoming a big problem was some users putting in "Road" and others "Rd", therefore duplicates were creeping in. I looked up the list of USPS street suffix abbreviation...
2

votes
1

answer
1.1k

Views

Mailchimp API merge_var address…how do I create a city list?

first I must say I'm a noob at MailChimp all round. I have looked at their documentation and wasn't able to understand enough to get my answer from that. I know, I'm a noob, but I'm also a noob that has done enough research to only be asking this as a last resort. So, this is what I'm trying to do:...
user1339316
4

votes
10

answer
5.5k

Views

Which parts of an address should be required?

Say I am storing addresses in a DB table, in this fairly common break down: address_street_line_1, address_street_line_2, address_city, address_state, address_zip, address_country_id (Note: I have read the questions on splitting down further, street type, house number, etc. and for this application...
5

votes
7

answer
4k

Views

Do you break up addresses into street / city / state / zip?

My current app needs to store address information for a user. I'm currently debating whether to use the customary street address / city / state / zip textboxes and dropdowns or to go with Google's method of simply having everything on one line. Any thoughts on the pros/cons of storing address info...
Kevin Pang
4

votes
3

answer
14.8k

Views

Magento : How to get countryID from selected / entered shipping address

I'm trying to hide some text / code based in the shipping_method.phtml based on whether the country of the selected or entered shipping address is France or not in . The only code I found was Mage::getSingleton('checkout/type_onepage')->getQuote()->getShippingAddress()->getCountryId() But all this...
Kim Herman
5

votes
7

answer
2.3k

Views

Html for Snail Mail Addresses

What do you think is the best way to markup a snail mail address? I found some different options such as: Mr. Bob 45654 Bob Ln Imaginery,OH 44321 I also saw the previous example using an address tag instead of a div. Another option I found was: Mr. Bob 45654 Bob Ln Imaginery, OH 44321 So my question...
JoshBerke
2

votes
1

answer
1.3k

Views

getting address in android using web service

iam new to android development. i have tried to get location address using web service but i got class not found exception when i lunched this code.if any one could please suggest me proper solution for this.. code for service class.... public class MWService extends Service implements LocationLis...
user1234567
22

votes
5

answer
19.2k

Views

Get street address at lat/long pair

I've seen that it's possible to get the latitude and longitude (geocoding, like in Google Maps API) from a street address, but is it possible to do the reverse and get the street address when you know what the lat/long already is? The application would be an iPhone app (and why the app already knows...
Chris Wenham
2

votes
4

answer
3.4k

Views

using the outlook object model, can i get the fields that i see in the outlook contact

i am able to look through the global address book using the outlook object model but is there anyway using the outlook object model from csharp i can get the following properties of a person: City, State, Country/Region Alias Title Phone i can't seem to find these properties on the AddressEntry obje...
leora
2

votes
1

answer
822

Views

What would you store in the DB, Coordinates or Address?

I am building an application that uses the GMaps API v3 and, taking advantage of the geocoding function, i dont know if it is better to store in the DB: The coordinates (latitude & longitude) When i need to place a marker, just put it When i need the address, query the API The address (as a string)...
SpongePablo
4

votes
3

answer
1.8k

Views

Rails 4 - Save address as one column in database

I'm new to rails and working on a simple application. I have a model called Client in my ERD and would like to save the address for each client. My initial thoughts where to save the address as seperate fields i.e: rails g model Client address_first:string address_second:string city:string ... bu...
Craig
4

votes
3

answer
2.6k

Views

SmartyStreets Address Validation PHP Example?

Can I get a sample PHP code example which calls SmartyStreets LiveAddress API for address validation?
user1277719
2

votes
2

answer
1.3k

Views

What's the best Street Address Search service?

I'm impressed with the simplicity of Microsoft's Virtual Earth Street Address search service. My requirement is to type rough address info with no comma separators into a simple text box, press a find button, wait a few seconds and then observe a result picklist. I mocked up something here using the...
Gary Russo

View additional questions