<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13169</id>
	<title>Nabble - Php German</title>
	<updated>2008-08-23T06:46:37Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/Php-German-f13169.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Php-German-f13169.html" />
	<subtitle type="html">Php German home is &lt;a href=&quot;http://phpbar.de/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-19121693</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-23T06:46:37Z</published>
	<updated>2008-08-23T06:46:37Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hallo,&lt;br&gt;&lt;br&gt;hier mal ein Auszug aus phpdoc:&lt;br&gt;Class Constant Summary&lt;br&gt;Description | Constants (details) | Methods (details) &lt;br&gt;&amp;nbsp;EARTH_RADIUS = 6380 &lt;br&gt;&amp;nbsp;MILES_METER = 1609.344 &lt;br&gt;&amp;nbsp;WRITE_AREASHAPE = 2 &lt;br&gt;
&amp;nbsp;WRITE_DIV = 1 &lt;br&gt;&amp;nbsp;WRITE_POINT = 4 &lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;br&gt;&lt;br&gt;OPMC __construct (string $imgPath, [array $range = array()]) &lt;br&gt;string $imgPath: The path to the map-file (jpeg,png,gif) &lt;br&gt;array $range: The range of the map &lt;br&gt;detDistance (line 57) &lt;br&gt;
Gets the distance of two locations&lt;br&gt;&lt;br&gt;return: with km and mile-index &lt;br&gt;access: public &lt;br&gt;array detDistance (array $locA, array $locB) &lt;br&gt;array $locA: lon and lat-index needed &lt;br&gt;array $locB: lon and lat-index needed &lt;br&gt;
getCfg (line 151) &lt;br&gt;Gets a config-value&lt;br&gt;&lt;br&gt;return: The value &lt;br&gt;access: public &lt;br&gt;mixed getCfg ([string $el = &amp;quot;&amp;quot;]) &lt;br&gt;string $el: The config-value-name &lt;br&gt;getGeoObjAry (line 75) &lt;br&gt;After writeGeoObj or writeGeoObjs ist performed, use this method to get all locations which have been written.&lt;br&gt;
&lt;br&gt;&lt;br&gt;If you provide the type-param, only locations with that value are returned&lt;br&gt;&lt;br&gt;&lt;br&gt;return: Array of written locations &lt;br&gt;access: public &lt;br&gt;array getGeoObjAry ([mixed $type = &amp;quot;&amp;quot;]) &lt;br&gt;mixed $type: An integer that identifies the write-type of a location. &lt;br&gt;
getGeoObjTypes (line 34) &lt;br&gt;Returns array of points&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;array getGeoObjTypes ([string $type = &amp;quot;&amp;quot;]) &lt;br&gt;string $type &lt;br&gt;getRange (line 582) &lt;br&gt;Gets the range of the map&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;
array getRange () &lt;br&gt;getRangeByDatabase (line 601) &lt;br&gt;Connects to a database and try to get the ranges of the map&lt;br&gt;&lt;br&gt;todo: Rewrite parameterlist &lt;br&gt;access: public &lt;br&gt;void getRangeByDatabase (unknown_type $dbEngine, unknown_type $dbHost, unknown_type $dbName, unknown_type $dbUser, unknown_type $dbPw, unknown_type $tblName, unknown_type $lonRow, unknown_type $latRow) &lt;br&gt;
unknown_type $dbEngine &lt;br&gt;unknown_type $dbHost &lt;br&gt;unknown_type $dbName &lt;br&gt;unknown_type $dbUser &lt;br&gt;unknown_type $dbPw &lt;br&gt;unknown_type $tblName &lt;br&gt;unknown_type $lonRow &lt;br&gt;unknown_type $latRow &lt;br&gt;getSize (line 264) &lt;br&gt;
Returns the size of the map&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;array getSize () &lt;br&gt;saveImage (line 530) &lt;br&gt;Saves the image to the filesystem.&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void saveImage ([string $savePath = &amp;quot;&amp;quot;], [bool $override = false]) &lt;br&gt;
string $savePath: The path &lt;br&gt;bool $override: If true it overrides an existing image &lt;br&gt;sendImage (line 499) &lt;br&gt;Outputs the image directly to the client&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void sendImage ([bool $sendHeader = true]) &lt;br&gt;
bool $sendHeader: If true, it sends the correct header for the image &lt;br&gt;setCfg (line 136) &lt;br&gt;Sets a config-value&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void setCfg (string $el, mixed $value) &lt;br&gt;string $el: The config-value-name &lt;br&gt;
mixed $value: The value &lt;br&gt;setGridByFieldNumber (line 239) &lt;br&gt;Sets the size of the grid by the number of fields&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void setGridByFieldNumber ([array $fields = array(&amp;#39;x&amp;#39; =&amp;gt; 20, &amp;#39;y&amp;#39; =&amp;gt; 20)]) &lt;br&gt;
array $fields &lt;br&gt;setRange (line 568) &lt;br&gt;access: public &lt;br&gt;void setRange ( $xMin,&amp;nbsp; $xMax,&amp;nbsp; $yMin,&amp;nbsp; $yMax) &lt;br&gt;$xMin &lt;br&gt;$xMax &lt;br&gt;$yMin &lt;br&gt;$yMax &lt;br&gt;setRangeByAry (line 563) &lt;br&gt;Sets the range of the map&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;
void setRangeByAry (array $range) &lt;br&gt;array $range &lt;br&gt;setRangeByCountry (line 97) &lt;br&gt;Sets the name by country-name (XML-File)&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void setRangeByCountry (unknown_type $ctry) &lt;br&gt;unknown_type $ctry &lt;br&gt;
setSize (line 254) &lt;br&gt;Sets the size of the map&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void setSize ([array $size = array()]) &lt;br&gt;array $size: Array with x and y-index &lt;br&gt;setSizeByMap (line 275) &lt;br&gt;Gets the size of the map by reading the file-information.&lt;br&gt;
&lt;br&gt;access: public &lt;br&gt;void setSizeByMap () &lt;br&gt;writeGeoObj (line 390) &lt;br&gt;Writes a geoObj.&lt;br&gt;&lt;br&gt;&lt;br&gt;If not all values given, default-values are used.&lt;br&gt;&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void writeGeoObj ([$geoObj $geoObj = array()]) &lt;br&gt;
$geoObj $geoObj &lt;br&gt;writeGeoObjs (line 464) &lt;br&gt;Writes an array of Geo-Objects&lt;br&gt;&lt;br&gt;access: public &lt;br&gt;void writeGeoObjs ([array $coorAry = array()]) &lt;br&gt;array $coorAry &lt;br&gt;writeRadius (line 110) &lt;br&gt;Paints a Radius around a location&lt;br&gt;
&lt;br&gt;access: public &lt;br&gt;void writeRadius (unknown_type $location, unknown_type $radius) &lt;br&gt;unknown_type $location: with lon and lat-index &lt;br&gt;unknown_type $radius: an array with size- (integer) and color- (r,g,b-array) index &lt;br&gt;
Class Constants&lt;br&gt;Description | Constants (details) | Methods (details) &lt;br&gt;&amp;nbsp;EARTH_RADIUS = 6380 (line 23) &lt;br&gt;&amp;nbsp;MILES_METER = 1609.344 (line 26) &lt;br&gt;&amp;nbsp;WRITE_AREASHAPE = 2 (line 19) &lt;br&gt;&amp;nbsp;WRITE_DIV = 1 (line 18) &lt;br&gt;&amp;nbsp;WRITE_POINT = 4 (line 20) &lt;br&gt;
Documentation generated on Sat, 23 Aug 2008 15&lt;br&gt;&lt;br&gt;Falls noch jemand was einfaellt, bitte posten.&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19121693&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19121693.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19104817</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-22T03:28:19Z</published>
	<updated>2008-08-22T03:28:19Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hallo,&lt;br&gt;&lt;br&gt;ich habe jetzt noch ein wenig an der Klasse geschrieben.&lt;br&gt;Auch habe ich ein anderes/neues DBM ausgearbeitet.&lt;br&gt;&lt;br&gt;Werde wohl in den nächsten Tagen auch eine Klasse schreiben mit welcher man diese DB über eine Art von API abfragen kann.&lt;br&gt;
Werde diese Komplettlösung dann entsprechend wie in der ersten Mail beschrieben veröffentlichen.&lt;br&gt;&lt;br&gt;progwut&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19104817&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19104817.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19088583</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-21T06:17:06Z</published>
	<updated>2008-08-21T06:17:06Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hallo Peter,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Kann mir nochmal jemand die Projektseite der neuen Class&lt;br&gt;

mitteilen? Habe die Mail leider irgendwie nicht bekommen.&lt;/blockquote&gt;&lt;div&gt;Die Projektseite ist &lt;a href=&quot;http://sourceforge.net/projects/opmc-opengeomap/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/opmc-opengeomap/&lt;/a&gt; .&lt;br&gt;Ich werde wenn ich den XML-Parser implementiert habe Sie (die Klasse) dort einstellen.&lt;br&gt;
&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Kann man sie schon &amp;quot;testen&amp;quot;?&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;Ich schreibe dann nochmal was hier auf die Malingliste.&lt;br&gt;&lt;br&gt;progwut.&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19088583&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19088583.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19086830</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-21T04:28:45Z</published>
	<updated>2008-08-21T04:28:45Z</updated>
	<author>
		<name>Tobias Wendorff</name>
	</author>
	<content type="html">Hallo,
&lt;br&gt;&lt;br&gt;Peter Wendorff schrieb:
&lt;br&gt;&amp;gt; So etwas in der Art schwebte mir bei dem Vorschlag vor, ich würde 
&lt;br&gt;&amp;gt; zusätzlich noch die Möglichkeit bieten, die Karten-Bilder 
&lt;br&gt;&amp;gt; mitzuspeichern, als extra-Datei - also Aufbau etwa wie folgt (dein 
&lt;br&gt;&lt;br&gt;Kann mir nochmal jemand die Projektseite der neuen Class
&lt;br&gt;mitteilen? Habe die Mail leider irgendwie nicht bekommen.
&lt;br&gt;&lt;br&gt;Kann man sie schon &amp;quot;testen&amp;quot;?
&lt;br&gt;&lt;br&gt;Grüße
&lt;br&gt;Tobias [Wendorff]
&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19086830&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19086830.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19086622</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-21T04:14:08Z</published>
	<updated>2008-08-21T04:14:08Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hy Chriss,&lt;br&gt;&lt;br&gt;die neue Klasse wird natürlich unter PHP5 laufen.&lt;br&gt;&lt;br&gt;progwut.&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19086622&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19086622.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19084590</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-21T01:23:41Z</published>
	<updated>2008-08-21T01:23:41Z</updated>
	<author>
		<name>Christian Schütt</name>
	</author>
	<content type="html">Hallo OpenGeoDB-Nutzer und Interessierte!
&lt;br&gt;&lt;br&gt;Wenn an einer neuen Klasse gearbeitet wird, so bitte ich doch darum, 
&lt;br&gt;diese gleich PHP5 konform zu erstellen. Die schon seit langem bestehende 
&lt;br&gt;Klasse funktioniert ja leider nicht unter PHP5. Oder gibt es hier 
&lt;br&gt;jemanden, der die alte Klasse auf PHP5 umgeschrieben hat? Falls ja, wäre 
&lt;br&gt;ich für Zusendung sehr dankbar.
&lt;br&gt;&lt;br&gt;Gruß,
&lt;br&gt;Chriss
&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19084590&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19084590.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19077525</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T13:24:43Z</published>
	<updated>2008-08-20T13:24:43Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;zusätzlich noch die Möglichkeit bieten, die Karten-Bilder&lt;br&gt;

mitzuspeichern, als extra-Datei - also Aufbau etwa wie folgt (dein&lt;br&gt;
Beispiel übernehmend):&amp;nbsp;&lt;/blockquote&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;[img]&lt;br&gt;
img = //Dateiname des Bildes oder komplette URL&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;stimmt! Dann hat man dass auch noch gleich mit dabei. Was ich nun aber überlege ob man vielleicht von INI auf XML gehen. Dann können z.B. bequem mehere Bilder mitgegeben werden (wenn JPG dann z.b. germany.jpg, germany_roads.jpg usw.).&lt;br&gt;
&lt;br&gt;XML-Datei entsprechend:&lt;br&gt;&lt;br&gt;...&lt;br&gt;&amp;lt;coord&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;north&amp;gt;...&amp;lt;/north&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; ....&lt;br&gt;&amp;lt;/coord&amp;gt;&lt;br&gt;&amp;lt;images&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;image&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;germany.jpg&amp;lt;/name&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;desc&amp;gt;eine beschreibung&amp;lt;/desc&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;source-hp&amp;gt;url wo die karte herkommt&amp;lt;/source-hp&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;licence&amp;gt;Lizenzinfos&amp;lt;/licence&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/image&amp;gt;&lt;br&gt;&amp;nbsp; &amp;lt;image&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...entsprechend...&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/image&amp;gt;&lt;br&gt;&amp;lt;/images&amp;gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;progwut.&lt;br&gt;&lt;br&gt;P.S.: ja, vllt doch north statt top ;-)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19077525&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19077525.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19077077</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T13:08:05Z</published>
	<updated>2008-08-20T13:08:05Z</updated>
	<author>
		<name>Peter Wendorff</name>
	</author>
	<content type="html">Hi.
&lt;br&gt;So etwas in der Art schwebte mir bei dem Vorschlag vor, ich würde 
&lt;br&gt;zusätzlich noch die Möglichkeit bieten, die Karten-Bilder 
&lt;br&gt;mitzuspeichern, als extra-Datei - also Aufbau etwa wie folgt (dein 
&lt;br&gt;Beispiel übernehmend):
&lt;br&gt;prog wut schrieb:
&lt;br&gt;&amp;gt; [lon]
&lt;br&gt;&amp;gt; min=
&lt;br&gt;&amp;gt; max=
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [lat]
&lt;br&gt;&amp;gt; min=
&lt;br&gt;&amp;gt; max=
&lt;br&gt;&amp;gt;
&lt;br&gt;[img]
&lt;br&gt;img = //Dateiname des Bildes oder komplette URL
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; [info]
&lt;br&gt;&amp;gt; author=autor der datei (&amp;quot;Max Mustermann &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19077077&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;max.m@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19077077&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;max.m@...&lt;/a&gt;&amp;gt;&amp;quot;)
&lt;br&gt;&amp;gt; date=Datum wann die Datei hinzugefügt wurde (2008-04-23)
&lt;br&gt;&amp;gt; source=Freitext woher die Daten stammen
&lt;br&gt;&amp;gt; source_hp=Wenn vorhanden - Hinweis zur quelle (Link auf Wikipedia)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Vorteil von separaten ini-Dateienwäre, dass schnell und einfach 
&lt;br&gt;&amp;gt; weitere Länder hinzugefügt werden können. Wenn alles in einer steht, 
&lt;br&gt;&amp;gt; bekommt man Probleme was der aktuelle Stand ist (User A hat 
&lt;br&gt;&amp;gt; Koordinaten korrigiert aber Land X nicht usw.).
&lt;/div&gt;So isses ;)
&lt;br&gt;&lt;br&gt;Gruß
&lt;br&gt;jongleur
&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19077077&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19077077.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19076747</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T12:45:51Z</published>
	<updated>2008-08-20T12:45:51Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Abend Andreas&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;left, top, right, bottom&lt;br&gt;
&lt;br&gt;
oder&lt;br&gt;
&lt;br&gt;
north, east, south, west&lt;br&gt;
&lt;br&gt;
besser und vor allem für Programmierer bereits bekannt. x-min/max und&lt;br&gt;
y-min/max sind da ungebräichlich.&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Die Begrüdung leuchtet mir ein. Ich werde left,top,right,bottom übernehmen.&lt;br&gt;&lt;br&gt;progwut.&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076747&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19076747.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19076557</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T12:35:43Z</published>
	<updated>2008-08-20T12:35:43Z</updated>
	<author>
		<name>Andreas Müller-3</name>
	</author>
	<content type="html">Hallo zusammen,
&lt;br&gt;&lt;br&gt;also in normalen Entwicklunsgumgebungen macht man sowas durch angabe der
&lt;br&gt;Kanten oder Himmelsrichtungen. Also meiner Meinung nach wäre die Paramter:
&lt;br&gt;&lt;br&gt;left, top, right, bottom
&lt;br&gt;&lt;br&gt;oder
&lt;br&gt;&lt;br&gt;north, east, south, west 
&lt;br&gt;&lt;br&gt;besser und vor allem für Programmierer bereits bekannt. x-min/max und
&lt;br&gt;y-min/max sind da ungebräichlich.
&lt;br&gt;&lt;br&gt;LG,
&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;+--------------------------------------------------+
&lt;br&gt;| Nur zwei Dinge sind unendlich: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;| Das Weltall und die menschliche Dummheit. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;| Beim Weltall bin ich mir aber nicht ganz sicher. |
&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;| ~Albert Einstein~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;+--------------------------------------------------+
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076557&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb-bounces@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076557&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb-bounces@...&lt;/a&gt;] On Behalf Of prog wut
&lt;br&gt;&amp;gt; Sent: Wednesday, August 20, 2008 9:27 PM
&lt;br&gt;&amp;gt; To: Mailingliste OpenGeoDB
&lt;br&gt;&amp;gt; Subject: Re: [opengeodb] Neuentwicklung einer Geo-class in PHP
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hy,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; bezüglich der Sammlung von Ranges von verschiedenen Ländern, 
&lt;br&gt;&amp;gt; würde ich vorschlagen, dass der Klasse ein Ordner &amp;quot;ranges&amp;quot; 
&lt;br&gt;&amp;gt; beiliegt, in welchem sich ini-Dateien von Ländern befinden 
&lt;br&gt;&amp;gt; z.b. germany.ini
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Die Ini-Dateien haben den folgenden Aufbau:
&lt;br&gt;&amp;gt; [lon]
&lt;br&gt;&amp;gt; min=
&lt;br&gt;&amp;gt; max=
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [lat]
&lt;br&gt;&amp;gt; min=
&lt;br&gt;&amp;gt; max=
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Optional könnte man in die ini-Dateien noch etwas aufnehmen wie
&lt;br&gt;&amp;gt; [info]
&lt;br&gt;&amp;gt; author=autor der datei (&amp;quot;Max Mustermann &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076557&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;max.m@...&lt;/a&gt;&amp;quot;)
&lt;br&gt;&amp;gt; date=Datum wann die Datei hinzugefügt wurde (2008-04-23)
&lt;br&gt;&amp;gt; source=Freitext woher die Daten stammen
&lt;br&gt;&amp;gt; source_hp=Wenn vorhanden - Hinweis zur quelle (Link auf Wikipedia)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Vorteil von separaten ini-Dateienwäre, dass schnell und 
&lt;br&gt;&amp;gt; einfach weitere Länder hinzugefügt werden können. Wenn alles 
&lt;br&gt;&amp;gt; in einer steht, bekommt man Probleme was der aktuelle Stand 
&lt;br&gt;&amp;gt; ist (User A hat Koordinaten korrigiert aber Land X nicht usw.).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076557&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19076557.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19076409</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T12:27:08Z</published>
	<updated>2008-08-20T12:27:08Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hy,&lt;br&gt;&lt;br&gt;bezüglich der Sammlung von Ranges von verschiedenen Ländern, würde ich vorschlagen, dass der Klasse ein Ordner &amp;quot;ranges&amp;quot; beiliegt, in welchem sich ini-Dateien von Ländern befinden z.b. germany.ini&lt;br&gt;
&lt;br&gt;Die Ini-Dateien haben den folgenden Aufbau:&lt;br&gt;[lon]&lt;br&gt;min=&lt;br&gt;max=&lt;br&gt;&lt;br&gt;[lat]&lt;br&gt;min=&lt;br&gt;max=&lt;br&gt;&lt;br&gt;Optional könnte man in die ini-Dateien noch etwas aufnehmen wie&lt;br&gt;[info]&lt;br&gt;author=autor der datei (&amp;quot;Max Mustermann &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076409&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;max.m@...&lt;/a&gt;&amp;quot;)&lt;br&gt;
date=Datum wann die Datei hinzugefügt wurde (2008-04-23)&lt;br&gt;source=Freitext woher die Daten stammen&lt;br&gt;source_hp=Wenn vorhanden - Hinweis zur quelle (Link auf Wikipedia)&lt;br&gt;&lt;br&gt;&lt;br&gt;Vorteil von separaten ini-Dateienwäre, dass schnell und einfach weitere Länder hinzugefügt werden können. Wenn alles in einer steht, bekommt man Probleme was der aktuelle Stand ist (User A hat Koordinaten korrigiert aber Land X nicht usw.).&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076409&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19076409.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19076052</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T12:05:18Z</published>
	<updated>2008-08-20T12:05:18Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hi jongleur,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;wenn Du Daten für die Karte hast, wie z.B. deutschland.gif, dann wäre es&lt;br&gt;

schön, nur das Land angeben zu müssen, so dass sich die Klasse die&lt;br&gt;
Grafikdatei und die range-Parameter selbst sucht - denn das gehört ja&lt;br&gt;
normalerweise zusammen.&lt;/blockquote&gt;&lt;div&gt;Ich mache mir hier jetzt nicht sicherlich die Menü von Ländern die Range-Parameter zu ermitteln ;). Wenn hier welche gepostet werden, kann ich gerne etwas aufnehmen wie setRangeByCountry()&lt;br&gt;
&amp;nbsp;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div class=&quot;Ih2E3d&quot;&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $range = array();&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $range[&amp;#39;x&amp;#39;][&amp;#39;min&amp;#39;] = 5.5201;&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $range[&amp;#39;x&amp;#39;][&amp;#39;max&amp;#39;] = 15.0237;&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $range[&amp;#39;y&amp;#39;][&amp;#39;min&amp;#39;] = 47.1615;&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $range[&amp;#39;y&amp;#39;][&amp;#39;max&amp;#39;] = 55.0333;&lt;br&gt;
&lt;/div&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Range setzen&lt;br&gt;&amp;gt;&lt;br&gt;hätte nicht ein 1D-Array gereicht? $range[xmin, ymin, xmax, ymax]&lt;br&gt;
bei 2D würde ich wenigstens logischerweise nach Punkten sortieren - die&lt;br&gt;
also in der ersten Dimension unterscheiden, also $range[min][x],&lt;br&gt;
$range[min][y], $range[max][x], $range[max][y]&lt;/blockquote&gt;&lt;div&gt;Finde ich jetzt ist Geschmackssache. Alle Positionsangaben sind in einem Array der Form x=&amp;gt;val y=&amp;gt;val. Deshalb eben auch x=&amp;gt;min=&amp;gt;val.&lt;br&gt;&amp;nbsp;&lt;/div&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;setRange($range);&lt;br&gt;
eine zusätzliche Methode der Form&lt;br&gt;
 &amp;nbsp; &amp;nbsp;$obj-&amp;gt;setRange($minx, $miny, $maxx, $maxy)&lt;br&gt;
wäre sinnvoll.&lt;/blockquote&gt;&lt;div&gt;Habe die bestehende setRange in setRangeByAry umbennannt. setRange hat nun deine beschriebene Signatur und ruft intern setRangeByAry auf.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; // Zusätzlich eingezeichneten Punkt über eine Imagemap verfügbar&lt;br&gt;
&amp;gt; machen&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; // Farbe des eingezeichneten Punktes ist col&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $geo = array(&amp;#39;lon&amp;#39;=&amp;gt;50.59,&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;lat&amp;#39;=&amp;gt;11.2,&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;write&amp;#39; =&amp;gt; &amp;nbsp; &amp;nbsp; TMyMap::WRITE_AREASHAPE+&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TMyMap::WRITE_POINT+&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TMyMap::WRITE_DIV,&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;color&amp;#39; =&amp;gt; array(&amp;#39;r&amp;#39; =&amp;gt; 1, &amp;#39;g&amp;#39; =&amp;gt; 255, &amp;#39;b&amp;#39;&lt;br&gt;
&amp;gt; =&amp;gt;255),&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#39;areashape&amp;#39; =&amp;gt;&lt;br&gt;
&amp;gt; array(&amp;#39;href&amp;#39;=&amp;gt;&amp;#39;&lt;a href=&quot;http://www.google.de&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.google.de&lt;/a&gt;&amp;#39;, &amp;#39;title&amp;#39;=&amp;gt;&amp;#39;google!&amp;#39;, &amp;#39;alt&amp;#39;=&amp;gt;&amp;#39;google&amp;#39;)&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;writeGeoObj($geo);&lt;br&gt;
&lt;/div&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Eine location einzeichen an der Position lon, lat.&lt;br&gt;&amp;gt;&lt;br&gt;s.o.&lt;/blockquote&gt;&lt;div&gt;Wie gesagt Geschmackssache ;). &lt;br&gt;&amp;nbsp;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; // Radien um die Location malen mit 20 und 40px Abstand&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; // Farbe der Radien bei color&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $ra= array(&amp;#39;radius&amp;#39; =&amp;gt;&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(&amp;#39;size&amp;#39; =&amp;gt; 20,&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#39;color&amp;#39; =&amp;gt; array(&amp;#39;r&amp;#39;=&amp;gt;255, &amp;#39;g&amp;#39;=&amp;gt;0, &amp;#39;b&amp;#39;=&amp;gt;0)&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array(&amp;#39;size&amp;#39; =&amp;gt; 40,&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#39;color&amp;#39; =&amp;gt; array(&amp;#39;r&amp;#39; =&amp;gt; 0, &amp;#39;g&amp;#39;=&amp;gt;255, &amp;#39;b&amp;#39;=&amp;gt;0))&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );&lt;br&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;writeRadius($geo,$ra);&lt;br&gt;
&lt;/div&gt;&amp;gt;&lt;br&gt;&amp;gt;&lt;br&gt;optional wären Abstände in (kilo)metern schön, die dann natürlich&lt;br&gt;
entsprechend umgerechnet werden müssten&lt;/blockquote&gt;&lt;div&gt;Ich werde mal schauen wie ich dann die Signatur ändere, bzw. eine weitere Methode einführ.&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div&gt;&lt;div class=&quot;Wj3C7c&quot;&gt;
&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div id=&amp;quot;&amp;lt;?php echo md5($geo[&amp;#39;lon&amp;#39;].$geo[&amp;#39;lat&amp;#39;]); ?&amp;gt;&amp;quot;&lt;br&gt;
&amp;gt; class=&amp;quot;map_div&amp;quot; style=&amp;quot;top:&amp;lt;?php echo $geo[&amp;#39;div&amp;#39;][&amp;#39;pos&amp;#39;][&amp;#39;x&amp;#39;];&lt;br&gt;
&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;MD5-Hashes können mit einer Ziffer beginnen, was als id in html nicht&lt;br&gt;
erlaubt ist - hier solltest Du einen Buchstaben voranstellen.&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;Ja, mir ging es mehr darum zu zeigen, wie mann jeder DIV eine eindeutige ID zuordnen kann, dann eben meinetwegen id=&amp;quot;id_&amp;lt;?php echo md5($geo[&amp;#39;lon&amp;#39;].$geo[&amp;#39;lat&amp;#39;]); ?&amp;gt;&amp;quot;&lt;br&gt;&amp;nbsp;&lt;br&gt;
&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;sinnvoll wäre außerdem, den html-code auch direkt aus der Klasse heraus&lt;br&gt;
erzeugen zu lassen - mit einer Methode wie&lt;br&gt;
 &amp;nbsp; &amp;nbsp;echo $obj-&amp;gt;getMapAsHTML();&lt;br&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;Da bin ich kritisch. Die Klasse soll ja mehr bei der Entwicklung unterstützten und nicht Code erzeugen der sofort lauffähig ist. Ich glaub kaum, dass diese Methode dann genutzt werden würde, da wohl jeder noch seine Anpassungen haben will (z.B. den Code für die DIVs an einer anderen Stelle ausgeben als die Map, um die Map noch einen Rahmen oder sonstwas. Das könnte man zwar viel mit CSS und Parametern machen, würde dass aber viel zu sehr aufblähen.&lt;br&gt;
&lt;br&gt;&amp;nbsp;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Was vermutlich außerdem noch fehlt ist die Abfrage, ob die erstellten&lt;br&gt;
Punkte auch innerhalb der range liegen, über die Koordinaten außerhalb&lt;br&gt;
des Kartenbildes vermieden werden müssten.&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;Diese Prüfung fehlt, ich habe Sie nun eingebaut.&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19076052&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19076052.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19075321</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T11:22:07Z</published>
	<updated>2008-08-20T11:22:07Z</updated>
	<author>
		<name>Peter Wendorff</name>
	</author>
	<content type="html">Hi
&lt;br&gt;Hab dazu 'n paar Kommentare...
&lt;br&gt;&lt;br&gt;prog wut schrieb:
&lt;br&gt;&amp;gt; Wie versprochen hier mal ein kleines Beispiel:
&lt;br&gt;&amp;gt; &amp;lt;?php.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Klasse einbinden
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; require_once 'TMyMap.php';
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Karte laden
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $obj = new TMyMap('deutschland.gif');
&lt;br&gt;wenn Du Daten für die Karte hast, wie z.B. deutschland.gif, dann wäre es 
&lt;br&gt;schön, nur das Land angeben zu müssen, so dass sich die Klasse die 
&lt;br&gt;Grafikdatei und die range-Parameter selbst sucht - denn das gehört ja 
&lt;br&gt;normalerweise zusammen.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Range setzen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $range = array();
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $range['x']['min'] = 5.5201;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $range['x']['max'] = 15.0237;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $range['y']['min'] = 47.1615;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $range['y']['max'] = 55.0333;
&lt;br&gt;hätte nicht ein 1D-Array gereicht? $range[xmin, ymin, xmax, ymax]
&lt;br&gt;bei 2D würde ich wenigstens logischerweise nach Punkten sortieren - die 
&lt;br&gt;also in der ersten Dimension unterscheiden, also $range[min][x], 
&lt;br&gt;$range[min][y], $range[max][x], $range[max][y]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;setRange($range);
&lt;br&gt;eine zusätzliche Methode der Form
&lt;br&gt;&amp;nbsp; &amp;nbsp; $obj-&amp;gt;setRange($minx, $miny, $maxx, $maxy)
&lt;br&gt;wäre sinnvoll.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Eine location einzeichen an der Position lon, lat.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Zusätzlich eingezeichneten Punkt über eine Imagemap verfügbar 
&lt;br&gt;&amp;gt; machen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Farbe des eingezeichneten Punktes ist col
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $geo = array('lon'=&amp;gt;50.59,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'lat'=&amp;gt;11.2,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'write' =&amp;gt; &amp;nbsp; &amp;nbsp; TMyMap::WRITE_AREASHAPE+
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TMyMap::WRITE_POINT+
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TMyMap::WRITE_DIV,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'color' =&amp;gt; array('r' =&amp;gt; 1, 'g' =&amp;gt; 255, 'b' 
&lt;br&gt;&amp;gt; =&amp;gt;255),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'areashape' =&amp;gt; 
&lt;br&gt;&amp;gt; array('href'=&amp;gt;'&lt;a href=&quot;http://www.google.de'&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.de'&lt;/a&gt;, 'title'=&amp;gt;'google!', 'alt'=&amp;gt;'google')
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;writeGeoObj($geo);
&lt;/div&gt;s.o.
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Radien um die Location malen mit 20 und 40px Abstand
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Farbe der Radien bei color &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $ra= array('radius' =&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('size' =&amp;gt; 20,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'color' =&amp;gt; array('r'=&amp;gt;255, 'g'=&amp;gt;0, 'b'=&amp;gt;0)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; array('size' =&amp;gt; 40,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'color' =&amp;gt; array('r' =&amp;gt; 0, 'g'=&amp;gt;255, 'b'=&amp;gt;0))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;writeRadius($geo,$ra);
&lt;/div&gt;optional wären Abstände in (kilo)metern schön, die dann natürlich 
&lt;br&gt;entsprechend umgerechnet werden müssten
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Bild auf Dateisystem schreiben, überschreiben wenn bereits 
&lt;br&gt;&amp;gt; existiert.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; $obj-&amp;gt;saveImage(&amp;quot;deutschland_ready.gif&amp;quot;,true);
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;html&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;head&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;title&amp;gt;dyn Map&amp;lt;/title&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;style&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; .map_div
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; border:1px solid red;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; position:absolute;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; width:200px;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; height:100px;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;lt;/style&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/head&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;body&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;!-- BEGINN AUSGABE DER KARTE --&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;img src=&amp;quot;deutschland_ready.gif&amp;quot; align=&amp;quot;left&amp;quot; &amp;nbsp;usemap=&amp;quot;#Landkarte&amp;quot; 
&lt;br&gt;&amp;gt; border=&amp;quot;0&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Punkt vorhanden der ueber eine DIV positioniert wird
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if($obj-&amp;gt;getGeoObjTypes(TMyMap::WRITE_DIV))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach($obj-&amp;gt;getGeoObjAry(TMyMap::WRITE_DIV) as $geo)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;div id=&amp;quot;&amp;lt;?php echo md5($geo['lon'].$geo['lat']); ?&amp;gt;&amp;quot; 
&lt;br&gt;&amp;gt; class=&amp;quot;map_div&amp;quot; style=&amp;quot;top:&amp;lt;?php echo $geo['div']['pos']['x']; 
&lt;br&gt;&amp;gt; ?&amp;gt;px;left:&amp;lt;?php echo $geo['div']['pos']['x']; ?&amp;gt;px;&amp;quot;&amp;gt;
&lt;/div&gt;MD5-Hashes können mit einer Ziffer beginnen, was als id in html nicht 
&lt;br&gt;erlaubt ist - hier solltest Du einen Buchstaben voranstellen.
&lt;br&gt;&lt;br&gt;sinnvoll wäre außerdem, den html-code auch direkt aus der Klasse heraus 
&lt;br&gt;erzeugen zu lassen - mit einer Methode wie
&lt;br&gt;&amp;nbsp; &amp;nbsp; echo $obj-&amp;gt;getMapAsHTML();
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?php echo $geo['y'].&amp;quot;/&amp;quot;.$geo['lat']; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; // Ist ein Punkt vorhanden für welchen eine Imagemap gezeichnet 
&lt;br&gt;&amp;gt; werden soll
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if($obj-&amp;gt;getGeoObjTypes(TMyMap::WRITE_AREASHAPE))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;map name=&amp;quot;Landkarte&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach($obj-&amp;gt;getGeoObjAry(TMyMap::WRITE_AREASHAPE) as $geo)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;area shape=&amp;quot;circle&amp;quot; coords=&amp;quot;&amp;lt;?php echo 
&lt;br&gt;&amp;gt; $geo['x'].&amp;quot;,&amp;quot;.$geo['y'].&amp;quot;,&amp;quot;.$geo['width']; ?&amp;gt;&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; href=&amp;quot;&amp;lt;?php echo $geo['areashape']['href']; ?&amp;gt;&amp;quot; 
&lt;br&gt;&amp;gt; alt=&amp;quot;&amp;lt;?php echo $geo['areashape']['alt']; ?&amp;gt;&amp;quot; title=&amp;quot;&amp;lt;?php echo 
&lt;br&gt;&amp;gt; $geo['areashape']['title']; ?&amp;gt;&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;?
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/map&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; ?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;!-- &amp;nbsp;ENDE AUSGABE DER KARTE --&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;
&lt;/div&gt;Was vermutlich außerdem noch fehlt ist die Abfrage, ob die erstellten 
&lt;br&gt;Punkte auch innerhalb der range liegen, über die Koordinaten außerhalb 
&lt;br&gt;des Kartenbildes vermieden werden müssten.
&lt;br&gt;&lt;br&gt;Soweit fürs erste.
&lt;br&gt;Gruß
&lt;br&gt;jongleur
&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19075321&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19075321.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19075142</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T11:11:56Z</published>
	<updated>2008-08-20T11:11:56Z</updated>
	<author>
		<name>Stephan Schuster</name>
	</author>
	<content type="html">Hallo Peter, hallo progwut,
&lt;br&gt;&lt;br&gt;an der Stelle würde ich noch die Lektüre von
&lt;br&gt;&lt;a href=&quot;http://opengeodb.giswiki.org/wiki/OpenGeoDB_Dokumentation&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.giswiki.org/wiki/OpenGeoDB_Dokumentation&lt;/a&gt;&lt;br&gt;empfehlen, hier findet sich eine Beschreibung der Datenstruktur und eine
&lt;br&gt;kurze Einführung warum diese so angelegt ist.
&lt;br&gt;&lt;br&gt;Für eine Extraktion der Daten zum Aufbau einer eigenen Datenbank für
&lt;br&gt;Entfernungsberechnungen kann vielleicht auch 
&lt;br&gt;&lt;a href=&quot;http://opengeodb.giswiki.org/wiki/OpenGeoDB_-_Umkreissuche&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.giswiki.org/wiki/OpenGeoDB_-_Umkreissuche&lt;/a&gt;&amp;nbsp;als Start
&lt;br&gt;dienen.
&lt;br&gt;&lt;br&gt;Gruß
&lt;br&gt;Stephan
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Stephan Schuster &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19075142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;stephan.s@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19075142&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19075142.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19074576</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T10:40:09Z</published>
	<updated>2008-08-20T10:40:09Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Wie versprochen hier mal ein kleines Beispiel:&lt;br&gt;&amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Klasse einbinden&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; require_once &amp;#39;TMyMap.php&amp;#39;;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Karte laden&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj = new TMyMap(&amp;#39;deutschland.gif&amp;#39;);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Range setzen&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $range = array();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $range[&amp;#39;x&amp;#39;][&amp;#39;min&amp;#39;] = 5.5201;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $range[&amp;#39;x&amp;#39;][&amp;#39;max&amp;#39;] = 15.0237;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $range[&amp;#39;y&amp;#39;][&amp;#39;min&amp;#39;] = 47.1615;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $range[&amp;#39;y&amp;#39;][&amp;#39;max&amp;#39;] = 55.0333;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj-&amp;gt;setRange($range);&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Eine location einzeichen an der Position lon, lat.&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Zusätzlich eingezeichneten Punkt über eine Imagemap verfügbar machen&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Farbe des eingezeichneten Punktes ist col&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $geo = array(&amp;#39;lon&amp;#39;=&amp;gt;50.59, &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;lat&amp;#39;=&amp;gt;11.2, &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;write&amp;#39; =&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; TMyMap::WRITE_AREASHAPE+&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; TMyMap::WRITE_POINT+&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; TMyMap::WRITE_DIV,&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;color&amp;#39; =&amp;gt; array(&amp;#39;r&amp;#39; =&amp;gt; 1, &amp;#39;g&amp;#39; =&amp;gt; 255, &amp;#39;b&amp;#39; =&amp;gt;255),&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;areashape&amp;#39; =&amp;gt; array(&amp;#39;href&amp;#39;=&amp;gt;&amp;#39;&lt;a href=&quot;http://www.google.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.de&lt;/a&gt;&amp;#39;, &amp;#39;title&amp;#39;=&amp;gt;&amp;#39;google!&amp;#39;, &amp;#39;alt&amp;#39;=&amp;gt;&amp;#39;google&amp;#39;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj-&amp;gt;writeGeoObj($geo);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Radien um die Location malen mit 20 und 40px Abstand&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Farbe der Radien bei color&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ra= array(&amp;#39;radius&amp;#39; =&amp;gt; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; array(&amp;#39;size&amp;#39; =&amp;gt; 20, &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;color&amp;#39; =&amp;gt; array(&amp;#39;r&amp;#39;=&amp;gt;255, &amp;#39;g&amp;#39;=&amp;gt;0, &amp;#39;b&amp;#39;=&amp;gt;0)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ),&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; array(&amp;#39;size&amp;#39; =&amp;gt; 40,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;color&amp;#39; =&amp;gt; array(&amp;#39;r&amp;#39; =&amp;gt; 0, &amp;#39;g&amp;#39;=&amp;gt;255, &amp;#39;b&amp;#39;=&amp;gt;0))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ); &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj-&amp;gt;writeRadius($geo,$ra);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Bild auf Dateisystem schreiben, überschreiben wenn bereits existiert.&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; $obj-&amp;gt;saveImage(&amp;quot;deutschland_ready.gif&amp;quot;,true);&lt;br&gt;?&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;html&amp;gt;&lt;br&gt;&amp;lt;head&amp;gt;&lt;br&gt;&amp;lt;title&amp;gt;dyn Map&amp;lt;/title&amp;gt;&lt;br&gt;&amp;lt;style&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .map_div&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; border:1px solid red;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; position:absolute;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; width:200px;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; height:100px;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;lt;/style&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;&amp;lt;!-- BEGINN AUSGABE DER KARTE --&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;img src=&amp;quot;deutschland_ready.gif&amp;quot; align=&amp;quot;left&amp;quot;&amp;nbsp; usemap=&amp;quot;#Landkarte&amp;quot; border=&amp;quot;0&amp;quot; /&amp;gt;&lt;br&gt;
&amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Punkt vorhanden der ueber eine DIV positioniert wird&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($obj-&amp;gt;getGeoObjTypes(TMyMap::WRITE_DIV))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;?&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; foreach($obj-&amp;gt;getGeoObjAry(TMyMap::WRITE_DIV) as $geo)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ?&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id=&amp;quot;&amp;lt;?php echo md5($geo[&amp;#39;lon&amp;#39;].$geo[&amp;#39;lat&amp;#39;]); ?&amp;gt;&amp;quot; class=&amp;quot;map_div&amp;quot; style=&amp;quot;top:&amp;lt;?php echo $geo[&amp;#39;div&amp;#39;][&amp;#39;pos&amp;#39;][&amp;#39;x&amp;#39;]; ?&amp;gt;px;left:&amp;lt;?php echo $geo[&amp;#39;div&amp;#39;][&amp;#39;pos&amp;#39;][&amp;#39;x&amp;#39;]; ?&amp;gt;px;&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;?php echo $geo[&amp;#39;y&amp;#39;].&amp;quot;/&amp;quot;.$geo[&amp;#39;lat&amp;#39;]; ?&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ?&amp;gt;&lt;br&gt;&amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;?&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;?php&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Ist ein Punkt vorhanden für welchen eine Imagemap gezeichnet werden soll&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($obj-&amp;gt;getGeoObjTypes(TMyMap::WRITE_AREASHAPE))&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;?&amp;gt;&lt;br&gt;&amp;lt;map name=&amp;quot;Landkarte&amp;quot;&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; foreach($obj-&amp;gt;getGeoObjAry(TMyMap::WRITE_AREASHAPE) as $geo)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ?&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;area shape=&amp;quot;circle&amp;quot; coords=&amp;quot;&amp;lt;?php echo $geo[&amp;#39;x&amp;#39;].&amp;quot;,&amp;quot;.$geo[&amp;#39;y&amp;#39;].&amp;quot;,&amp;quot;.$geo[&amp;#39;width&amp;#39;]; ?&amp;gt;&amp;quot;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; href=&amp;quot;&amp;lt;?php echo $geo[&amp;#39;areashape&amp;#39;][&amp;#39;href&amp;#39;]; ?&amp;gt;&amp;quot; alt=&amp;quot;&amp;lt;?php echo $geo[&amp;#39;areashape&amp;#39;][&amp;#39;alt&amp;#39;]; ?&amp;gt;&amp;quot; title=&amp;quot;&amp;lt;?php echo $geo[&amp;#39;areashape&amp;#39;][&amp;#39;title&amp;#39;]; ?&amp;gt;&amp;quot;&amp;gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;?&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ?&amp;gt;&lt;br&gt;&amp;lt;/map&amp;gt;&lt;br&gt;&amp;lt;?php&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;?&amp;gt;&lt;br&gt;&amp;lt;!--&amp;nbsp; ENDE AUSGABE DER KARTE --&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19074576&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19074576.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19071978</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T08:29:48Z</published>
	<updated>2008-08-20T08:29:48Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hallo Andreas,&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;- keine Eierlegende-Woll-Milch-Sau bauen, d.h. Funktionen trennen möglichst&lt;br&gt;

auch in unterschiedliche Files&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Funktionen zur Entfernungsberechnung&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Funktionen zur Lokalisierung (via PLZ, Name, log/lat in PLZ etc.&lt;br&gt;
etc.)&lt;br&gt;
 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;gt; Graphikfunktionen zum Malen auf Karten etc.&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Meine Klasse wird sich mit den Graphikfunktionen beschäftigen, aus den Gründen welche die oben bereits genannt hast. &lt;br&gt;&lt;br&gt;Ich werde heute abend mal ein wenig Code für das ansprechen der Klasse posten, damit man allg. Verständnis dafür bekommt, was ich jetzt genau umsetze ;).&lt;br&gt;
&lt;br&gt;progwut&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19071978&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19071978.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19070063</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T06:58:39Z</published>
	<updated>2008-08-20T06:58:39Z</updated>
	<author>
		<name>Andreas Müller-3</name>
	</author>
	<content type="html">Hallo zusammen,
&lt;br&gt;&lt;br&gt;das Projekt finde ich ja sehr interessant. Ich habe jetzt etwas gelesen was
&lt;br&gt;da alles an Funktionen rein soll und hätte dazu ein paar Tips:
&lt;br&gt;&lt;br&gt;- keine Eierlegende-Woll-Milch-Sau bauen, d.h. Funktionen trennen möglichst
&lt;br&gt;auch in unterschiedliche Files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; Funktionen zur Entfernungsberechnung
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; Funktionen zur Lokalisierung (via PLZ, Name, log/lat in PLZ etc.
&lt;br&gt;etc.)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; Graphikfunktionen zum Malen auf Karten etc.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Grund: Wenn ich nur einen Teil brauche will ich auch nur einen Teil
&lt;br&gt;einbinden müssen. Parsen von PHP Code kostet Zeit und RAM und daher ist
&lt;br&gt;minimalismus hier wichtig auch wenn Entwickler das gern vergessen und
&lt;br&gt;Riesenmodule bauen.
&lt;br&gt;&lt;br&gt;- Trennung der Funktionslogik
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; Es ist z.B. nicht sinnvoll eine Funktion die PLZ in log/lat
&lt;br&gt;umwandelt (!nur exemplarisches Beispiel das gilt allgemein) zu bauen und
&lt;br&gt;dieser Funktion direkt ein Caching einzubauen. Vielleicht will ja der
&lt;br&gt;potentielle Anwender ein eigenes anderes Caching (DB, SharedMem) verwenden
&lt;br&gt;als ihr vorsehen würdet. Also hier eine Methode bauen die die reine Funktion
&lt;br&gt;zur Verfügung stellt und dann einen Wrapper drum herum der eine Cache
&lt;br&gt;funktionalität anbietet.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt; Zwischenergebniss transportabel machen: Manchmal muss man Daten
&lt;br&gt;sowohl im HTML als auch in einer Grafik verwenden. Da wäre es dann sinnvoll
&lt;br&gt;das man einheitliche Schnittstellen für z.B. Datenarray schafft. So kann man
&lt;br&gt;an einer Stelle Daten berechnen .. diese dann via Session transportieren und
&lt;br&gt;in einer Grafikausgabe wiederverwenden.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fazit: Atomare klar angegrenzte Funktionen schaffen und diese via
&lt;br&gt;Wrapper-Methoden anreichern. Klar Schnittstellen helfen der
&lt;br&gt;Interoperabilität.
&lt;br&gt;&lt;br&gt;Evtl. sollte man sich am PEAR Konzept ein Beispiel nehmen. Dort wird meiner
&lt;br&gt;Meinung nach relativ gut getrennt.
&lt;br&gt;&lt;br&gt;LG,
&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;+--------------------------------------------------+
&lt;br&gt;| Nur zwei Dinge sind unendlich: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;| Das Weltall und die menschliche Dummheit. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;| Beim Weltall bin ich mir aber nicht ganz sicher. |
&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;| ~Albert Einstein~ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;+--------------------------------------------------+
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19070063&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb-bounces@...&lt;/a&gt; 
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19070063&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb-bounces@...&lt;/a&gt;] On Behalf Of prog wut
&lt;br&gt;&amp;gt; Sent: Wednesday, August 20, 2008 3:23 PM
&lt;br&gt;&amp;gt; To: Mailingliste OpenGeoDB
&lt;br&gt;&amp;gt; Subject: Re: [opengeodb] Neuentwicklung einer Geo-class in PHP
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hy Ronny,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	Da ich heute meinen sozialen Tag hab, könnte ich Dir 
&lt;br&gt;&amp;gt; eine Methode
&lt;br&gt;&amp;gt; 	beisteuern, die alle deutschen Postleitzahlen innerhalb 
&lt;br&gt;&amp;gt; eines bestimmten
&lt;br&gt;&amp;gt; 	Umkreises zu Postleitzahl xxxxx heraussucht. Caching 
&lt;br&gt;&amp;gt; natürlich inklusive.
&lt;br&gt;&amp;gt; 	Interesse? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Danke für dein Angebot. Jedoch werde ich wol so eine 
&lt;br&gt;&amp;gt; Funktionalität nicht aufnehmen, da sich die Klasse mehr mit 
&lt;br&gt;&amp;gt; der Maperstellung beschäftigen soll, statt mit DB-Abfragen 
&lt;br&gt;&amp;gt; (dadurch wäre sie wieder zu speziell).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19070063&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19070063.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19069332</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T06:23:15Z</published>
	<updated>2008-08-20T06:23:15Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hy Ronny,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Da ich heute meinen sozialen Tag hab, könnte ich Dir eine Methode&lt;br&gt;

beisteuern, die alle deutschen Postleitzahlen innerhalb eines bestimmten&lt;br&gt;
Umkreises zu Postleitzahl xxxxx heraussucht. Caching natürlich inklusive.&lt;br&gt;
Interesse?&amp;nbsp;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Danke für dein Angebot. Jedoch werde ich wol so eine Funktionalität nicht aufnehmen, da sich die Klasse mehr mit der Maperstellung beschäftigen soll, statt mit DB-Abfragen (dadurch wäre sie wieder zu speziell).&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19069332&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19069332.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19068198</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T05:17:45Z</published>
	<updated>2008-08-20T05:17:45Z</updated>
	<author>
		<name>Gemander, Ronny</name>
	</author>
	<content type="html">prog wut wrote:
&lt;br&gt;&amp;gt; Hallo Ronny,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Wenn Du Methoden zur Entfernungsberechnung implementierst, ....
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ich habe entsprechende Anforderungen als FR aufgenommen: 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://sourceforge.net/tracker/?func=browse&amp;group_id=237175&amp;atid=1102323&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=browse&amp;group_id=237175&amp;atid=1102323&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://sourceforge.net/tracker/?func=browse&amp;group_id=237175&amp;atid=1102323&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=browse&amp;group_id=237175&amp;atid=1102323&lt;/a&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Da ich heute meinen sozialen Tag hab, könnte ich Dir eine Methode 
&lt;br&gt;beisteuern, die alle deutschen Postleitzahlen innerhalb eines bestimmten 
&lt;br&gt;Umkreises zu Postleitzahl xxxxx heraussucht. Caching natürlich inklusive.
&lt;br&gt;Interesse?
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Grüße,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; progwut
&lt;br&gt;Grüße, Ronny
&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19068198&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19068198.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19068134</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T05:13:59Z</published>
	<updated>2008-08-20T05:13:59Z</updated>
	<author>
		<name>Peter Wendorff</name>
	</author>
	<content type="html">Hi progwut (obwohl ich einen richtigen Namen irgendwie besser fände...)
&lt;br&gt;&lt;br&gt;Wie Du schon sagst - Du bist recht neu in der Liste.
&lt;br&gt;Die Datenbankstruktur der opengeodb ist optimiert für die Sammlung, das 
&lt;br&gt;Erfassen der Daten.
&lt;br&gt;Bereits in vergangenen Diskussionen hier auf der Liste ist deutlich 
&lt;br&gt;gemacht worden, dass die Daten genau dafür optimiert sind und 
&lt;br&gt;entsprechend NICHT strukturell geändert werden sollen.
&lt;br&gt;Was allerdings sinnvoll ist/wäre, ist ein Ableiten von Daten für die 
&lt;br&gt;jeweiligen Anwendungsfälle.
&lt;br&gt;Das funktioniert häufig durch reine SQL- oder gemischte Scripte, die 
&lt;br&gt;allerdings durchaus sinnvoll zu erstellen wären.
&lt;br&gt;So lässt sich z.B. eine abgeleitete Struktur zur reinen Koordinatensuche 
&lt;br&gt;oder zu Entfernungsberechnungen einfach herstellen.
&lt;br&gt;&lt;br&gt;Die Datenbank ist so aufgebaut, dass darin beliebige Daten zu den Orten 
&lt;br&gt;erfasst werden können, ohne jedesmal die Struktur ändern zu müssen - was 
&lt;br&gt;eben schnell dem optimalen Nutzwert der Ausgangsdaten widerspricht.
&lt;br&gt;&lt;br&gt;In dem Versuch, das in ein Feature-Request für eine wie auch immer 
&lt;br&gt;genannte Opengeo-DB-Nutzungsklasse umzuwandeln wäre aber vielleicht 
&lt;br&gt;genau dieser Export nicht schlecht, z.B. als Installationsscript für die 
&lt;br&gt;opengeodb.
&lt;br&gt;&lt;br&gt;Gruß
&lt;br&gt;jongleur
&lt;br&gt;Peter Wendorff
&lt;br&gt;&lt;br&gt;prog wut schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hy Bernd,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; finde auch eine gute Verknüpfung der Metadaten
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; wichtig. Eineindeutigkeit von Parametern und Ergebnissen. z.B.:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; PLZ in Abhängigkeit von lon/lat Parametern und lon/ lat Werte von
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; PLZ ...usw.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; das ist denke ich mehr eine Schwierigkeit der Datenbankstruktur als 
&lt;br&gt;&amp;gt; solches und wird/würde deshalb nur implizit die PHP-Klasse betreffen.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bei der Datenbankstruktur würde ich als Außenstehender vorschlagen, 
&lt;br&gt;&amp;gt; diese zuerst zu normalisieren (3. Normalfom) und sich dann 
&lt;br&gt;&amp;gt; anschließend Gedanken zu machen wie man Indizes setzt. Wenn das getan 
&lt;br&gt;&amp;gt; ist, kann man sich noch überlegen, ob man gewisse Bereiche nicht 
&lt;br&gt;&amp;gt; normalisiert, da sonst auch wenn man &amp;quot;Grunddaten&amp;quot; will ein 
&lt;br&gt;&amp;gt; zeitintensiver Join nötig ist.
&lt;br&gt;&amp;gt; Vielleicht wäre es hier auch nett, eine separate Klasse anschließend 
&lt;br&gt;&amp;gt; zu schreiben, mit welcher die OpengeoDB dann abgefragt werden kann, z.B.:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $data = $ojb-&amp;gt;getCityByName('München');
&lt;br&gt;&amp;gt; echo $data['lon']. $data['lat'] usw.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ich kann mal wenn ich Zeit habe ein Datenbankmodell entwickeln und das 
&lt;br&gt;&amp;gt; mal hochladen - will aber hier nicht als &amp;quot;neuer&amp;quot; in der Mailingliste 
&lt;br&gt;&amp;gt; dem/den bestehendem/n Admin alles aus der Hand reißen.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ich schreib mal was zusammen und lad es dann hoch.
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19068134&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19068134.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19068055</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T05:07:37Z</published>
	<updated>2008-08-20T05:07:37Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div&gt;Hy Patrick,&lt;br&gt;&amp;nbsp;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Was super wäre, wären also ein paar simple Tabellen, die eine&lt;br&gt;

Untermenge der Daten aus OpenGeoDB enthalten. Also z.B. eine Tabelle&lt;br&gt;
mit Postleitzahlen, mit den Koordinaten des Mittelpunktes der&lt;br&gt;
Postleitzahlengebiete. Oder eine Tabelle mit Ortsnamen, den&lt;br&gt;
Koordinaten des Stadtzentrums, Einwohnerzahl, eventuell einen Radius&lt;br&gt;
um das Stadtzentrum, der die Größe der Stadt grob angibt usw.&lt;br&gt;
&lt;br&gt;
Was toll wäre, wäre wenn man relativ einfach einen Geocoder mit den&lt;br&gt;
Daten schreiben könnte (also ein Programm, dass man mit einer Adresse&lt;br&gt;
füttert und das GeoKoordinaten zurückliefert).&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Jab, dass ist das wo ich gerade eben Bernd geschrieben habe. Zuerst sehe ich es aber -wie beschrieben- notwendig, erst einmal ein normalisiertes DB-Modell zu entwickeln, dann kann&amp;nbsp; eben eine weitere Klasse für die Abfrage geschrieben werden.&lt;br&gt;
&lt;br&gt;progwut.&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19068055&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19068055.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19068021</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T05:05:33Z</published>
	<updated>2008-08-20T05:05:33Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hy Bernd,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div bgcolor=&quot;#ffffff&quot;&gt;&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;Hallo progwut,&lt;/font&gt;&lt;/div&gt;

&lt;div&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;werden für die Maps&amp;nbsp;&amp;nbsp;Kacheln benutzt? und 
wie groß sollen die denn sein. &lt;/font&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;wenn du mit &amp;quot;Kacheln&amp;quot; dass meinst, was ich als &amp;quot;Grid&amp;quot; bezeichnet habe dann ja :-).&lt;br&gt;&lt;br&gt;Du kannst die Kacheln in X und Y Pixelgenau angeben. Auch kannst du sagen du hättest gerne 20 Kacheln horizontal und 10 vertikal: Das Script errechnet dann die Kachelgröße.&lt;br&gt;
&lt;br&gt;Hoffe wir sprechen über das gleiche, gib kurz Bescheid ob ich dich richtig verstanden habe.&lt;br&gt;&lt;br&gt;progwut.&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19068021&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19068021.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19067984</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T05:02:15Z</published>
	<updated>2008-08-20T05:02:15Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hy Bernd,&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;div bgcolor=&quot;#ffffff&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;finde auch eine gute Verknüpfung der Metadaten 
wichtig.&amp;nbsp;Eineindeutigkeit von Parametern und Ergebnissen. z.B.: PLZ in 
Abhängigkeit von lon/lat Parametern und lon/ lat Werte von 
PLZ&amp;nbsp;...usw.&lt;/font&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;das ist denke ich mehr eine Schwierigkeit der Datenbankstruktur als solches und wird/würde deshalb nur implizit die PHP-Klasse betreffen.&lt;br&gt;&lt;br&gt;Bei der Datenbankstruktur würde ich als Außenstehender vorschlagen, diese zuerst zu normalisieren (3. Normalfom) und sich dann anschließend Gedanken zu machen wie man Indizes setzt. Wenn das getan ist, kann man sich noch überlegen, ob man gewisse Bereiche nicht normalisiert, da sonst auch wenn man &amp;quot;Grunddaten&amp;quot; will ein zeitintensiver Join nötig ist.&lt;br&gt;
Vielleicht wäre es hier auch nett, eine separate Klasse anschließend zu schreiben, mit welcher die OpengeoDB dann abgefragt werden kann, z.B.:&lt;br&gt;&lt;br&gt;$data = $ojb-&amp;gt;getCityByName(&amp;#39;München&amp;#39;);&lt;br&gt;echo $data[&amp;#39;lon&amp;#39;]. $data[&amp;#39;lat&amp;#39;] usw.&lt;br&gt;
&lt;br&gt;Ich kann mal wenn ich Zeit habe ein Datenbankmodell entwickeln und das mal hochladen - will aber hier nicht als &amp;quot;neuer&amp;quot; in der Mailingliste dem/den bestehendem/n Admin alles aus der Hand reißen.&lt;br&gt;&lt;br&gt;Ich schreib mal was zusammen und lad es dann hoch.&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19067984&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19067984.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19067631</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T04:37:54Z</published>
	<updated>2008-08-20T04:37:54Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;div&gt;Hallo Ronny, &lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Wenn Du Methoden zur Entfernungsberechnung implementierst, wär es&lt;br&gt;

sicherlich toll, wenn Du eine cache Tabelle einführst, die die&lt;br&gt;
Entfernungen zwischenspeichert, damit nicht jedes mal ein fullscan&lt;br&gt;
gemacht werden muss.&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Ich habe entsprechende Anforderungen als FR aufgenommen: &lt;a href=&quot;http://sourceforge.net/tracker/?func=browse&amp;amp;group_id=237175&amp;amp;atid=1102323&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?func=browse&amp;amp;group_id=237175&amp;amp;atid=1102323&lt;/a&gt; &lt;br&gt;
&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;Grüße,&lt;br&gt;&lt;br&gt;progwut&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19067631&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19067631.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19064882</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T01:20:58Z</published>
	<updated>2008-08-20T01:20:58Z</updated>
	<author>
		<name>Patrick Dietrich</name>
	</author>
	<content type="html">Hallo zusammen,
&lt;br&gt;&lt;br&gt;ich habe bereits in zwei Projekten Daten aus OpenGeo-DB verwendet.
&lt;br&gt;Dabei habe ich immer mittels relativ komplexer SQL-Anfragen (viele 
&lt;br&gt;Joins) erstmal ein paar Tabellen gebaut, die die von mir benötigten 
&lt;br&gt;Informationen enthielten. Diese habe ich dann in der laufenden 
&lt;br&gt;Web-Anwendung benutzt.
&lt;br&gt;&lt;br&gt;Was ich dabei stets als unangenehm empfunden habe, ist dass es relativ 
&lt;br&gt;lange braucht, bis man erstmal rausgefunden hat, wo die benötigten 
&lt;br&gt;Daten in der OpenGeoDB stehen (teilweise scheinen diese dann auch 
&lt;br&gt;mehrfach vorhanden zu sein).
&lt;br&gt;&lt;br&gt;Was super wäre, wären also ein paar simple Tabellen, die eine 
&lt;br&gt;Untermenge der Daten aus OpenGeoDB enthalten. Also z.B. eine Tabelle 
&lt;br&gt;mit Postleitzahlen, mit den Koordinaten des Mittelpunktes der 
&lt;br&gt;Postleitzahlengebiete. Oder eine Tabelle mit Ortsnamen, den 
&lt;br&gt;Koordinaten des Stadtzentrums, Einwohnerzahl, eventuell einen Radius 
&lt;br&gt;um das Stadtzentrum, der die Größe der Stadt grob angibt usw.
&lt;br&gt;&lt;br&gt;Was toll wäre, wäre wenn man relativ einfach einen Geocoder mit den 
&lt;br&gt;Daten schreiben könnte (also ein Programm, dass man mit einer Adresse 
&lt;br&gt;füttert und das GeoKoordinaten zurückliefert).
&lt;br&gt;&lt;br&gt;Gruß,
&lt;br&gt;Patrick
&lt;br&gt;&lt;br&gt;bernd steeb wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hallo zusammen,
&lt;br&gt;&amp;gt; finde auch eine gute Verknüpfung der Metadaten wichtig. Eineindeutigkeit 
&lt;br&gt;&amp;gt; von Parametern und Ergebnissen. z.B.: PLZ in Abhängigkeit von lon/lat 
&lt;br&gt;&amp;gt; Parametern und lon/ lat Werte von PLZ ...usw.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Schöne Grüße
&lt;br&gt;&amp;gt; Bernd
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Schreiben von Geoobjekten (der Funktion wird ein lon und lat übergeben; 
&lt;br&gt;&amp;gt; diese werden in Pixel konvertiert; mit den Daten kann in JEDER 
&lt;br&gt;&amp;gt; BELIEBIGEN KOMBINATION
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ----- Original Message -----
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *From:* prog wut &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064882&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;progwut@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *To:* &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064882&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064882&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Sent:* Monday, August 18, 2008 10:53 PM
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; *Subject:* [opengeodb] Neuentwicklung einer Geo-class in PHP
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Hallo liebe opengeodb-Menschen :-),
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ich habe seid mehreren Jahren gute Erfahrung mit dem Thema
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Webprogrammierung (JavaScript/PHP), Design (CSS/(X)HTML) und
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Datenbanken (SQL, Kenntnisse über MySQL).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Da ich die opengeodb gerne für ein eigenes Projekt nutzen möchte,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; habe ich mich damit jetzt eine Weile beschäftigt. Das Projekt als
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; solches ist natürlich sehr schön, jedoch die Struktur (insbesondere
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; der Datenbank) bzw. die Bedienung (GeoClass) und Beispieldateien -
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; mit Verlaub - aus meiner Sicht alles andere als zufriedenstellend.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Ich habe deshalb bereits begonnen eine eigene Geo-Klasse in PHP zu
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; schreiben, welcher ich später auch unter die (L)GPL oder eine
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ähnliche Lizenz auf Sourceforge veröffentlichen werde [1].
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Bisher hat die Klasse folgende Funktionalität:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Lesen der Map (unterstützte Formate bis jetzt: JPG, GIF, PNG)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Setzen und lesen der Range (Nördlichster Punkt, Südlichster Punkt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; usw.; die Range kann auch automatisch ermittelt werden, in dem das
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Script auf die DB zugreift und versucht die jeweiligen Extrem-Punkte
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; zu ermitteln)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Setzen und lesen der Map-Größe (Unterstützung der automatischen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Ermittlung)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Setzen und lesen eines Map-Offset (für korrekte Darstellung wenn
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; z.B. ein Rand um die Map ist)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Darstellen eines Grids (es kann ein Grid über die Karte gemalt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; werden, Farbe und Größe der Felder ist frei wählbar. Die Größe der
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Felder kann über eine Pixel-Angabe gesetzt werden auch über die
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Anzahl der Felder (z.B. 20 Felder in der horizontalen - die Größe
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; der Felder wird dann automatisch ermittelt))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Benutzen des Grids (es kann eingestellt werden ob das Grid benutzt
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; werden soll oder nicht. Bei einem aktiven Grid werden z.B. mehre
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; locations zu einer zusammengefasst (wenn zwei PLZ nahe beiandnerliegen))
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Schreiben von Geoobjekten (der Funktion wird ein lon und lat
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; übergeben; diese werden in Pixel konvertiert; mit den Daten kann in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; JEDER BELIEBIGEN KOMBINATION eines/mehrere oder alles der folgenden
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Dinge getan werden: Punkt auf der Map eintragen, Code für DIVs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; erstellen (es wird dann für die location ein Div erzeugt und dieses
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; korrekt auf der Map positioniert), Imagemap erstellen (Location wird
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; zum Link).
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Für jeden Punkt kann noch zusätzlich die Farbe festgelegt werden
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; bzw. die CSS-Klasse.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ein Offset für die Divs wird ebenfalls unterstützt: wenn man z.b.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; einen Marker verwenden will oder ein Symbol, kann man ein offset
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; angeben, so dass das Zeichen n Pixel neben der location steht.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Dadurch können Symbole verwendet werden welche auf die location
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; zeigen und nicht direkt auf ihr sitzen)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Speichern der Map (die Map wird auf das Dateisystem geschrieben)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; * Vorgaben/Default-Werte können in eine Konfig geschrieben werden
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (z.B. kann man sagen, es sollen alle Punkte grün sein, wenn jedoch
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; bei einem Punkt rot gesetzt ist, soll er diese Farbe verwenden)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Das ist die bisherige Funktionalität. Teile davon müssen noch
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ausführlicher getestet werden. Ein großer Teil der Funktionalität
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; wurde entwickelt um die Klasse allgemeiner zu machen, damit Sie auch
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; andere Leute außer mir benutzten können.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Ich wollte nun mehrere Dinge fragen:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 1. Würdet ihr die Klasse bei euch aufnehmen (HP) ? - Dann könnte man
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; auch wieder ein out-of-the-box funktionierendes Beispiel runterladen
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 3. Welche Funktionalität wäre vielleicht noch interessant?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Für jedes Feedback bin ich dankbar.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Schöne Grüße,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;progwut.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; [1]: Werde wohl abhängig von den Stunden das Projekt für eine
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; geringe Spende zuvor unter &lt;a href=&quot;http://cofundos.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cofundos.org/&lt;/a&gt;&amp;nbsp;oder
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://micropledge.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://micropledge.com/&lt;/a&gt;&amp;nbsp;einstellen.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; -- 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Mailingliste OpenGeoDB
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064882&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&amp;gt; 
&lt;/div&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064882&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19064882.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19064763</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-20T01:15:02Z</published>
	<updated>2008-08-20T01:15:02Z</updated>
	<author>
		<name>bernd steeb</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2800.1106&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Hallo progwut,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;werden für die Maps&amp;nbsp;&amp;nbsp;Kacheln benutzt? und 
wie groß sollen die denn sein. &lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Bernd&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;----- Original Message ----- &lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV style=&quot;BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black&quot;&gt;&lt;B&gt;From:&lt;/B&gt; 
  &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064763&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;progwut@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;To:&lt;/B&gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064763&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Sent:&lt;/B&gt; Tuesday, August 19, 2008 12:53 
  PM&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Subject:&lt;/B&gt; Re: [opengeodb] Neuentwicklung 
  einer Geo-class in PHP&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV dir=ltr&gt;Hallo Rainer,&lt;BR&gt;&lt;BR&gt;danke für dein positives Feedback.&lt;BR&gt;&lt;BR&gt;
  &lt;DIV class=gmail_quote&gt;
  &lt;BLOCKQUOTE class=gmail_quote style=&quot;PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid&quot;&gt;Deine 
    Frage:&lt;BR&gt;
    &lt;DIV class=Ih2E3d&gt;&amp;gt; 3. Welche Funktionalität wäre vielleicht noch 
    interessant&lt;BR&gt;&lt;BR&gt;&lt;/DIV&gt;kann man wohl erst abschließend beantworten, wenn 
    Dein fertiges Produkt zum&lt;BR&gt;testen vorliegt. Außerdem sind Wünsche in Bezug 
    auf die Funktionalität sehr&lt;BR&gt;individuell zu sehen: es kommt wohl darauf 
    an, was man alles damit machen&lt;BR&gt;möchte, und was noch im vertretbaren 
    Verhältnis zum Programmieraufwand&lt;BR&gt;steht. &lt;/BLOCKQUOTE&gt;
  &lt;DIV&gt;&lt;BR&gt;Da hast du sicherlich auch recht. Jedoch wäre ich für ein paar (auch 
  wilde) Vorschläge dankbar. &lt;BR&gt;&lt;BR&gt;Das Projekt wurde mittlerweile von 
  sourceforge genehmigt! Die HP findest du/Ihr unter &lt;A href=&quot;http://sourceforge.net/projects/opmc-opengeomap/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/opmc-opengeomap/&lt;/A&gt; 
  .&lt;BR&gt;Dort können ja auch unter anderem Feature Request eingetragen werden ( &lt;A href=&quot;http://sourceforge.net/tracker/?group_id=237175&amp;amp;atid=1102323&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?group_id=237175&amp;amp;atid=1102323&lt;/A&gt; 
  ).&lt;BR&gt;&lt;BR&gt;Ich würde deshalb gerne - wenn es der Admin der Mailinglist erlaubt 
  - hier ein Brainstorming anstossen, welche Methoden/Funktionalität ihr haben 
  möchtet und euch die Bedienung vorstellt. Ich werden in den nächsten Tagen 
  auch Code schreiben, wie es zur Zeit aussieht.&lt;BR&gt;&lt;BR&gt;Freue mich auf eine 
  angeregte Diskussion,&lt;BR&gt;&lt;BR&gt;progwut.&lt;BR&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;
  &lt;P&gt;
  &lt;HR&gt;

  &lt;P&gt;&lt;/P&gt;-- &lt;BR&gt;Mailingliste OpenGeoDB&lt;BR&gt;Listenadresse: 
  &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064763&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;&lt;BR&gt;Informationen: http://opengeodb.de&lt;BR&gt;Mit freundlicher 
  Unterstütztung von php::bar (http://phpbar.de)&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19064763&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19064763.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19056562</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-19T12:01:23Z</published>
	<updated>2008-08-19T12:01:23Z</updated>
	<author>
		<name>bernd steeb</name>
	</author>
	<content type="html">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;META http-equiv=Content-Type content=&quot;text/html; charset=iso-8859-1&quot;&gt;
&lt;META content=&quot;MSHTML 6.00.2800.1106&quot; name=GENERATOR&gt;

&lt;/HEAD&gt;
&lt;BODY bgColor=#ffffff&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Hallo zusammen,&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;finde auch eine gute Verknüpfung der Metadaten 
wichtig.&amp;nbsp;Eineindeutigkeit von Parametern und Ergebnissen. z.B.: PLZ in 
Abhängigkeit von lon/lat Parametern und lon/ lat Werte von 
PLZ&amp;nbsp;...usw.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Schöne Grüße&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Bernd&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Schreiben von Geoobjekten (der Funktion wird ein lon und lat übergeben; 
diese werden in Pixel konvertiert; mit den Daten kann in JEDER BELIEBIGEN 
KOMBINATION &lt;/DIV&gt;
&lt;BLOCKQUOTE style=&quot;PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px&quot;&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;----- Original Message ----- &lt;/DIV&gt;
  &lt;DIV style=&quot;BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black&quot;&gt;&lt;B&gt;From:&lt;/B&gt; 
  &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19056562&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;progwut@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;To:&lt;/B&gt; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19056562&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt; &lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Sent:&lt;/B&gt; Monday, August 18, 2008 10:53 
  PM&lt;/DIV&gt;
  &lt;DIV style=&quot;FONT: 10pt arial&quot;&gt;&lt;B&gt;Subject:&lt;/B&gt; [opengeodb] Neuentwicklung einer 
  Geo-class in PHP&lt;/DIV&gt;
  &lt;DIV&gt;&lt;BR&gt;&lt;/DIV&gt;
  &lt;DIV dir=ltr&gt;Hallo liebe opengeodb-Menschen :-),&lt;BR&gt;&lt;BR&gt;ich habe seid mehreren 
  Jahren gute Erfahrung mit dem Thema Webprogrammierung (JavaScript/PHP), Design 
  (CSS/(X)HTML) und Datenbanken (SQL, Kenntnisse über MySQL).&lt;BR&gt;&lt;BR&gt;Da ich die 
  opengeodb gerne für ein eigenes Projekt nutzen möchte, habe ich mich damit 
  jetzt eine Weile beschäftigt. Das Projekt als solches ist natürlich sehr 
  schön, jedoch die Struktur (insbesondere der Datenbank) bzw. die Bedienung 
  (GeoClass) und Beispieldateien - mit Verlaub - aus meiner Sicht alles andere 
  als zufriedenstellend.&lt;BR&gt;&lt;BR&gt;Ich habe deshalb bereits begonnen eine eigene 
  Geo-Klasse in PHP zu schreiben, welcher ich später auch unter die (L)GPL oder 
  eine ähnliche Lizenz auf Sourceforge veröffentlichen werde [1].&lt;BR&gt;&lt;BR&gt;Bisher 
  hat die Klasse folgende Funktionalität:&lt;BR&gt;* Lesen der Map (unterstützte 
  Formate bis jetzt: JPG, GIF, PNG)&lt;BR&gt;* Setzen und lesen der Range 
  (Nördlichster Punkt, Südlichster Punkt usw.; die Range kann auch automatisch 
  ermittelt werden, in dem das Script auf die DB zugreift und versucht die 
  jeweiligen Extrem-Punkte zu ermitteln)&lt;BR&gt;* Setzen und lesen der Map-Größe 
  (Unterstützung der automatischen Ermittlung)&lt;BR&gt;* Setzen und lesen eines 
  Map-Offset (für korrekte Darstellung wenn z.B. ein Rand um die Map ist)&lt;BR&gt;* 
  Darstellen eines Grids (es kann ein Grid über die Karte gemalt werden, Farbe 
  und Größe der Felder ist frei wählbar. Die Größe der Felder kann über eine 
  Pixel-Angabe gesetzt werden auch über die Anzahl der Felder (z.B. 20 Felder in 
  der horizontalen - die Größe der Felder wird dann automatisch ermittelt))&lt;BR&gt;* 
  Benutzen des Grids (es kann eingestellt werden ob das Grid benutzt werden soll 
  oder nicht. Bei einem aktiven Grid werden z.B. mehre locations zu einer 
  zusammengefasst (wenn zwei PLZ nahe beiandnerliegen))&lt;BR&gt;* Schreiben von 
  Geoobjekten (der Funktion wird ein lon und lat übergeben; diese werden in 
  Pixel konvertiert; mit den Daten kann in JEDER BELIEBIGEN KOMBINATION 
  eines/mehrere oder alles der folgenden Dinge getan werden: Punkt auf der Map 
  eintragen, Code für DIVs erstellen (es wird dann für die location ein Div 
  erzeugt und dieses korrekt auf der Map positioniert), Imagemap erstellen 
  (Location wird zum Link).&lt;BR&gt;&amp;nbsp; Für jeden Punkt kann noch zusätzlich die 
  Farbe festgelegt werden bzw. die CSS-Klasse.&lt;BR&gt;&amp;nbsp; Ein Offset für die Divs 
  wird ebenfalls unterstützt: wenn man z.b. einen Marker verwenden will oder ein 
  Symbol, kann man ein offset angeben, so dass das Zeichen n Pixel neben der 
  location steht. Dadurch können Symbole verwendet werden welche auf die 
  location zeigen und nicht direkt auf ihr sitzen)&lt;BR&gt;* Speichern der Map (die 
  Map wird auf das Dateisystem geschrieben)&lt;BR&gt;* Vorgaben/Default-Werte können 
  in eine Konfig geschrieben werden (z.B. kann man sagen, es sollen alle Punkte 
  grün sein, wenn jedoch bei einem Punkt rot gesetzt ist, soll er diese Farbe 
  verwenden)&lt;BR&gt;&lt;BR&gt;Das ist die bisherige Funktionalität. Teile davon müssen 
  noch ausführlicher getestet werden. Ein großer Teil der Funktionalität wurde 
  entwickelt um die Klasse allgemeiner zu machen, damit Sie auch andere Leute 
  außer mir benutzten können.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Ich wollte nun mehrere Dinge 
  fragen:&lt;BR&gt;1. Würdet ihr die Klasse bei euch aufnehmen (HP) ? - Dann könnte 
  man auch wieder ein out-of-the-box funktionierendes Beispiel runterladen&lt;BR&gt;3. 
  Welche Funktionalität wäre vielleicht noch interessant?&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Für jedes 
  Feedback bin ich dankbar.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Schöne Grüße,&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
  progwut.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;[1]: Werde wohl abhängig von den Stunden das Projekt für 
  eine geringe Spende zuvor unter &lt;A href=&quot;http://cofundos.org/&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://cofundos.org/&lt;/A&gt; oder &lt;A href=&quot;http://micropledge.com/&quot; target=_blank rel=&quot;nofollow&quot;&gt;http://micropledge.com/&lt;/A&gt; einstellen.&lt;BR&gt;&lt;/DIV&gt;
  &lt;P&gt;
  &lt;HR&gt;

  &lt;P&gt;&lt;/P&gt;-- &lt;BR&gt;Mailingliste OpenGeoDB&lt;BR&gt;Listenadresse: 
  &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19056562&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;&lt;BR&gt;Informationen: http://opengeodb.de&lt;BR&gt;Mit freundlicher 
  Unterstütztung von php::bar (http://phpbar.de)&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19056562&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19056562.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19048210</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-19T04:00:17Z</published>
	<updated>2008-08-19T04:00:17Z</updated>
	<author>
		<name>Gemander, Ronny</name>
	</author>
	<content type="html">Hallo progwut,
&lt;br&gt;&lt;br&gt;prog wut wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ich würde deshalb gerne - wenn es der Admin der Mailinglist erlaubt - 
&lt;br&gt;&amp;gt; hier ein Brainstorming anstossen, welche Methoden/Funktionalität ihr 
&lt;br&gt;&amp;gt; haben möchtet ...
&lt;br&gt;Wenn Du Methoden zur Entfernungsberechnung implementierst, wär es 
&lt;br&gt;sicherlich toll, wenn Du eine cache Tabelle einführst, die die 
&lt;br&gt;Entfernungen zwischenspeichert, damit nicht jedes mal ein fullscan 
&lt;br&gt;gemacht werden muss.
&lt;br&gt;&lt;br&gt;Ansonsten klingt das alles sehr interessant und ich bin schon gespannt 
&lt;br&gt;auf die erste Version.
&lt;br&gt;&amp;gt; Freue mich auf eine angeregte Diskussion,
&lt;br&gt;Ich mich auch!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; progwut.
&lt;br&gt;Gruß, Ronny
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19048210&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - opengeodb&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Neuentwicklung-einer-Geo-class-in-PHP-tp19039790p19048210.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19048135</id>
	<title>Re: Neuentwicklung einer Geo-class in PHP</title>
	<published>2008-08-19T03:53:43Z</published>
	<updated>2008-08-19T03:53:43Z</updated>
	<author>
		<name>prog wut</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;Hallo Rainer,&lt;br&gt;&lt;br&gt;danke für dein positives Feedback.&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Deine Frage:&lt;br&gt;
&lt;div class=&quot;Ih2E3d&quot;&gt;&amp;gt; 3. Welche Funktionalität wäre vielleicht noch interessant&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;kann man wohl erst abschließend beantworten, wenn Dein fertiges Produkt zum&lt;br&gt;
testen vorliegt. Außerdem sind Wünsche in Bezug auf die Funktionalität sehr&lt;br&gt;
individuell zu sehen: es kommt wohl darauf an, was man alles damit machen&lt;br&gt;
möchte, und was noch im vertretbaren Verhältnis zum Programmieraufwand&lt;br&gt;
steht. &lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Da hast du sicherlich auch recht. Jedoch wäre ich für ein paar (auch wilde) Vorschläge dankbar. &lt;br&gt;&lt;br&gt;Das Projekt wurde mittlerweile von sourceforge genehmigt! Die HP findest du/Ihr unter &lt;a href=&quot;http://sourceforge.net/projects/opmc-opengeomap/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/opmc-opengeomap/&lt;/a&gt; .&lt;br&gt;
Dort können ja auch unter anderem Feature Request eingetragen werden ( &lt;a href=&quot;http://sourceforge.net/tracker/?group_id=237175&amp;amp;atid=1102323&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/?group_id=237175&amp;amp;atid=1102323&lt;/a&gt; ).&lt;br&gt;
&lt;br&gt;Ich würde deshalb gerne - wenn es der Admin der Mailinglist erlaubt - hier ein Brainstorming anstossen, welche Methoden/Funktionalität ihr haben möchtet und euch die Bedienung vorstellt. Ich werden in den nächsten Tagen auch Code schreiben, wie es zur Zeit aussieht.&lt;br&gt;
&lt;br&gt;Freue mich auf eine angeregte Diskussion,&lt;br&gt;&lt;br&gt;progwut.&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;-- 
&lt;br&gt;Mailingliste OpenGeoDB
&lt;br&gt;Listenadresse: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19048135&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;opengeodb@...&lt;/a&gt;
&lt;br&gt;Informationen: &lt;a href=&quot;http://opengeodb.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://opengeodb.de&lt;/a&gt;&lt;br&gt;Mit freundlicher Unterstütztung von php::bar (&lt;a href=&quot;http://phpbar.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://phpbar.de&lt;/a&gt;)&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/Php-German---opengeodb-f13171.html&quot; embed=&quot;fixTarget[13171]&quot; target=&quot;_top&quot; &gt;Php German - ope