PHPackages                             mfeldheim/map-stuff - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mfeldheim/map-stuff

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mfeldheim/map-stuff
===================

Stuff related to maps

1.1(12y ago)18132[1 issues](https://github.com/mfeldheim/mapStuff/issues)Apache License Version 2.0HTMLPHP &gt;=5.3.2

Since Jan 24Pushed 8y ago2 watchersCompare

[ Source](https://github.com/mfeldheim/mapStuff)[ Packagist](https://packagist.org/packages/mfeldheim/map-stuff)[ RSS](/packages/mfeldheim-map-stuff/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Hermap libraries
================

[](#hermap-libraries)

stuff related to maps

Class \\Geo\\Coder
------------------

[](#class-geocoder)

Client to receive coordinates from a webservice. Plugins implemented:

- Y!Boss (Yahoo)
- Nominatim (OSM)

**Usage**

```
use Geo\Coder\Plugin;

$geocoder = new \Geo\Coder(
    new Nominatim( array(
        'requestURI' => 'http://nominatim.openstreetmap.org/search',
        'i118n' => 'en'
    ))
);

$result = self::$geocoder->fetchCoords(
   'Muellerstr. 40, 80469 München',
        Coder::PRECISION_HIGH
    );

$result->getLat();
$result->getLon();
// etc.

```

Class \\Geo\\Projection
-----------------------

[](#class-geoprojection)

degreesToPixels lat/lng to pixels on a map

**Usage**

```
$mapProjection = new \Geo\Projection();
$pixelCoordinates = $mapProjection->degreesToPixels( $latitude, $longitude, $mapWidth, $mapHeight );

```

Example file examples/drawPointsOnMap.php
-----------------------------------------

[](#example-file-examplesdrawpointsonmapphp)

```
# composer install
php drawPointsOnMap.php

```

**requires**

- php &gt;= 5.3.2
- php-gd (optionally compiled with freetype support)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4538d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/878755?v=4)[Michel Feldheim](/maintainers/mfeldheim)[@mfeldheim](https://github.com/mfeldheim)

---

Top Contributors

[![mfeldheim](https://avatars.githubusercontent.com/u/878755?v=4)](https://github.com/mfeldheim "mfeldheim (33 commits)")[![grobmeier](https://avatars.githubusercontent.com/u/873786?v=4)](https://github.com/grobmeier "grobmeier (2 commits)")

### Embed Badge

![Health badge](/badges/mfeldheim-map-stuff/health.svg)

```
[![Health](https://phpackages.com/badges/mfeldheim-map-stuff/health.svg)](https://phpackages.com/packages/mfeldheim-map-stuff)
```

###  Alternatives

[ec-europa/toolkit

Toolkit packaged for Drupal projects based on Robo.

39250.0k28](/packages/ec-europa-toolkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
