Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Conversation

metalmatze
Copy link
Contributor

Once I have fetched the objects from PostGIS to laravel I want to pass them off to fractal which creates my json api.
That's why I thought the geometry objects should implement JsonSerializable.

I've required jmikola/geojson which is a PHP implementation for GeoJSON. All objects should now be returned in a GeoJSON Spec valid json.

@coveralls
Copy link

Coverage Status

Coverage increased (+2.04%) to 82.49% when pulling 68100c7 on MetalMatze:feature/geojson into 79e6906 on phaza:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+2.04%) to 82.49% when pulling 68100c7 on MetalMatze:feature/geojson into 79e6906 on phaza:master.

phaza added a commit that referenced this pull request May 8, 2015
All geometry objects implement JsonSerializable
@phaza phaza merged commit a2c316d into mstaack:master May 8, 2015
@phaza
Copy link
Collaborator

phaza commented May 8, 2015

Holy batman, very nice!

@metalmatze
Copy link
Contributor Author

Thanks, hoped you'd like it.

@metalmatze metalmatze deleted the feature/geojson branch May 8, 2015 22:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants