• [MOD] Google-Maps / GPS Integration V1.2 5 0 5 1
Currently:  

Author Topic: [MOD] Google-Maps / GPS Integration V1.2  (Read 155916 times)

0 Members and 1 Guest are viewing this topic.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #45 on: June 03, 2008, 08:36:01 AM »
die image_gmap_show kommt in deiner query anweisung doppelt vor..

Quote
DB Error: Bad SQL Query: INSERT INTO 4images_images (cat_id, user_id, image_name, image_description, image_keywords, image_date, image_active, image_media_file, image_thumb_file, image_download_url, image_allow_comments, image_gmap_longitude, image_gmap_latitude , image_gmap_zoom, image_gmap_type, image_gmap_show , image_pin_allow, image_gmap_latitude, image_gmap_longitude, image_gmap_zoom, image_gmap_type, image_gmap_show) VALUES (131, 1, 'Test', '', '', 1212474371, 1, 'Delfin1_12.jpg', 'Delfin1_12.jpg', '', 1, '-81.4622277778', '28.4109333333', '13', '3', '1', '0', '', '', '12', '2', '1')
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #46 on: June 03, 2008, 08:53:15 AM »
Ja, in "4images_images" und  "4images_images_temp"

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #47 on: June 03, 2008, 09:02:55 AM »
lass mal deine php datei anschauen
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #48 on: June 03, 2008, 09:09:24 AM »
sorry... welche?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #49 on: June 03, 2008, 10:17:04 AM »
die member.php
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #50 on: June 03, 2008, 11:24:24 AM »
hier ist die member.php

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #51 on: June 03, 2008, 04:33:56 PM »
Hallo Fryz

Hast du in deiner Datei member_upload.html bereits die Felder {image_gmap_longitude}, {image_gmap_latitude}, {image_gmap_zoom}, {image_gmap_type}, {image_gmap_show} eingebaut?
Wenn ja, dann werden diese Variablen sehr wahrscheindlich in die SQL Query (von member.php) beim Upload eingefügt, da in der Datei includes/db_field_definitions.php alle diese Felder bereits definiert sind.
Ich habe für dies keine Lösung gefunden. Bei mir war dies der Problemverursacher.

Gruss

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #52 on: June 03, 2008, 05:12:42 PM »
Ich denke du meinst "member_uploadform.html"? Nein, ich hab da nur den untenstehenden code eingefügt...


Code: [Select]
<td class="row1"><p>Latitude of the place (-90...+90)</p></td>
            <td class="row1" width="68%">
              <input type="text" size="50" name="image_gmap_latitude" value="">
            </td>
          </tr>
<tr>
<td class="row2"><p>Longitude of the place (-180...+180)</p></td>
            <td class="row2" width="68%">
              <input type="text" size="50" name="image_gmap_longitude" value="">
            </td>
          </tr>
<tr>
<td class="row1"><p>Zoom-level (1-20)</p></td>
            <td class="row1" width="68%">
              <input type="text" size="50" name="image_gmap_zoom" value="">
            </td>
          </tr>
          <tr>
<td class="row2"><p>Type of Google Map <br /><span class="smalltext">1: Map<br />
2:Satellite<br />3:Gelände</span></p></td>
            <td class="row2" width="68%">
              <input type="text" size="50" name="image_gmap_type" value="0">
            </td>
          </tr>
          <tr>
<td class="row1"><p>Zeige Google Map zu diesem Bild?</p></td>
            <td class="row1" width="68%">
              <input type="radio" name="image_gmap_show" value="1"> Ja&nbsp;&nbsp;&nbsp;
<input type="radio" name="image_gmap_show" value="0" checked=""> Nein&nbsp;
            </td>

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #53 on: June 03, 2008, 05:27:23 PM »
Ja genau, ich meinte diese Datei und diesen Code.
Wenn du diesen Teil theoretisch entfernst, dann gibt es keine Probleme beim Uploaden.
Jedoch ist diese Entfernung keine Lösung!
Ich kann dir nicht weiterhelfen. Sorry. Ich habe im Moment das selbe Problem wie du (ich habe den die Modifikation "Automatische EXIF Übernahme der GPS Koordinaten" wieder entfernt).
Gruss

Offline Fryz

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
    • Fryz' Media Galerie
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #54 on: June 03, 2008, 05:33:31 PM »
Super! Danke für den Tip. Hab diesen Teil entfernt. Jetzt klappt auch der upload für die User und Gäste.

Gruß

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #55 on: June 17, 2008, 08:27:24 AM »
Hallo!
bei negativen koordinatenzahlen hängt bei mir der mod. das minuszeichen wird einfach nicht wiedergegeben. ich habe mit dem geosetter die gps nachträglich ins bild eingefügt, aber leider wird beim upload das minuszeichen nicht wiedergegeben. kann es sein, dass die tabellen in der datenbank andere einträge brauchen?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #56 on: June 17, 2008, 09:03:50 AM »
@Loda,

... versuch mal statt ...
image_gmap_longitude   varchar(20)
image_gmap_latitude   varchar(20)

... folgendes ...
Code: [Select]
image_gmap_longitude   decimal(20,14)
image_gmap_latitude   decimal(20,14)

... dann sollten auch die negativen lon- / lat-Werte gespeichert werden ...
... anderenfalls kannst du in maximal 1/4 der möglichen Google-Maps-Welt-Fläche Bilder anzeigen lassen ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #57 on: June 22, 2008, 07:35:12 AM »
danke, detlev!
ich werde es nachher gleich mal ausprobieren.

Offline Loda

  • Sr. Member
  • ****
  • Posts: 353
    • View Profile
    • Fotosucht Schweiz
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #58 on: June 23, 2008, 09:53:21 PM »
soweit klapp es! aber leider kann ich dann nur koordinaten mit . (punkt) wiedergeben. koordinaten mit , (komma) werden dann falsch ausgelesen..
hast du noch ein tipp?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] Google-Maps / GPS Integration V1.2
« Reply #59 on: June 23, 2008, 11:27:54 PM »
... ich habe meine lat- / lon-Werte prinzipiell mit "Punkt", also in amerikanischer Schreibweise, gespeichert ...
... denn ...
... mit den Geocodern sowie auch aus den Exif-Infos erhält man die Werte nur in amerikanischer Schreibweise ...
... hast du denn alte Werte in Komma-Schreibweise in deiner DB ... ?
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...