pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas <maps.on@gmx.net>
To: pgsql-sql@postgresql.org
Subject: HowTo divide  streetname from house-nr ?
Date: Thu, 23 Sep 2010 03:25:25 +0200
Message-ID: <4C9AAC85.1000001@gmx.net> (raw)

  Hi,

how could I divide streetnames from housenumbers ?

I have to deal with input like this:

Parkstreet 42
Parkstr. 42
Casle Avenue 42
Casle Str. 42-47
Casle Str. 54 - 55

probaply even
Casle Str. 42-47 a

Perhaps one could cut ap the 1st numeric char and regard everything left 
of it as the street name and the rest as house number.
OK, this would fail with "42, Parkstreet" but those aren't to frequent.

How would I do this?



view thread (4+ messages)  latest in thread

Message-ID: <4C9AAC85.1000001@gmx.net>
Permalink:  ../4C9AAC85.1000001@gmx.net/
Also on:    postgresql.org/message-id/4C9AAC85.1000001@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: maps.on@gmx.net
  Subject: Re: HowTo divide  streetname from house-nr ?
  In-Reply-To: <4C9AAC85.1000001@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox