Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: KFZ und PLZ in eigene Datenbank einbinden: msg#00149

gis.opengeodb

Subject: Re: KFZ und PLZ in eigene Datenbank einbinden

>Hallo Leute,
>
>hab mal eine Frage. Hab jetzt ebenfalls meinen Datenbestand auf die
>aktuelle Version umgestellt allerdings vermisse ich immer noch die KFZ.
>
>Selbstverständlich habe ich schon versucht die plz-text.txt einzubinden.
>Was mit "LOAD DATA INFILE 'plt-text.txt' INTO TABLE ortsdaten FIELDS
>TERMINATED BY ';' funktioniert, allerdings sind die PLZ leider mit einem
>"," getrennt.
>
text-plz enthält nur EINE Postleitzahl pro Datensatz.

>Lässt sich das irgendwie im SQL-Statement mit einarbeiten, dass er für
>Städte mit mehreren PLZ, welche ja durch "," von einander getrennt sind
>immer einen neuen Datensatz erstellt.
>
So etwas ist weitestgehend ein Thema der Textverarbeitung. Je nachdem,
was Du für ein System benutzt, kannst Du es nach Wunsch umsetzen. Ich
würde das mit dem awk machen, aber das geht sicherlich auch irgendwie
mit Word o.ä. und Textersetzungen oder irgendwelchen Makros.

>Einfacher wär es natürlich wenn man einen SQL-Dump mit den aktuellen
>KFZ, PLZ hätte
>
KFZ Kennzeichen hast Du in der text-orte Datei...

Ich verstehe das Problem nicht recht???

Thomas


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation