Webmastersite.net

Search    Register    Log In   

2 matching results for "geocoding":

Show listings, ordered by


By on Nov 29, 2018 at 11:07 AM

When you upload a video to WSN and then play it on the listing details page, it plays through a javascript player interface called Flowplayer. Flowplayer is not actually included with the files of WSN, though. Instead, the javascript and CSS is referenced directly from flowplayer.org into your site. Partly this is because WSN is huge enough already, but mostly it's because Flowplayer is licensed under the GPLv3 and it's unclear what the legal implications would be if I distributed it (and I don't have money for a lawyer to find out). When picking WSN components, I normally choose MIT, BSD or LGPL licensed software because I know those licenses don't add any obligations for me to other code which I ship along side it, they only impact their own redistribution rights.

So anyway, normally it's no problem having flowplayer load from flowplayer.org instead of locally. But yesterday someone was having a problem with it because he was trying to play videos on a localhost installation on a computer that has no internet connection. In order to make it possible to use flowplayer without internet, I've added do-it-yourself support for a locally hosted version of flowplayer. All you need to do is save http://releases.flowplayer.org/6.0.3/skin/functional.css to jquery/flowplayerskin.css and save http://releases.flowplayer.org/6.0.3/flowplayer.min.js to jquery/flowplayer.min.js and then WSN will automatically use those local files instead of the flowplayer.org versions. This can also protect you in the event that flowplayer.org goes down, of course.



In other news, I've added openroute geocoding. Lots of redundant geocoding options now. We'll need openroute eventually for Open Street Map driving directions too. Since OpenCage provides a handy way to detect when the 2500 requests have been used, I'll make WSN automatically switch to openroute when OpenCage requires have been exhausted. Essentially you'll get 5000 geocodes per day now through the automatic combination of the tw...

Read Full Blog Entry


By on Nov 19, 2018 at 10:48 PM

A few months ago, Google Maps drastically lowered their free use allowance. The vast majority of us are, alas, still in no danger of having any websites popular enough to hit the limit. For a customer who was hitting the limit, I added a "click to load map" option in WSN to reduce their number of maps impressions. That, of course, is a far from ideal solution. What we really need is an alterative mapping service.

I thought about Bing, but they have limits of their own and may put a tighter squeeze on people at any time. So I settled on investigating Open Street Map, under the theory that OSM being non-commercial should mean we can count on it being scalable and not trying to charge people. Quickly I discovered that OSM isn't so much a mapping service as a toolkit which can be used to start making a mapping service. To do anything but a simple static tile gets complex quickly and people turn to third party tools to help implement OSM.

For the basic task of putting markers on a map with info windows, I've found Open Layers is pretty good. A few more idiosyncracies than Google Maps, but close enough. Driving directions seem to require another third party service, unfortunately. Nor do I have an overlapping marker spiderifier type of tool for OSM. Nor do the min/max zoom tweaks or lots of other things work at the moment with OSM. Nor does it support multiple maps on a page yet, nor ajax progressive marker loading, nor location dragging on submit/edit which has proved a particular pain. It'll be a long slog to get close to feature parity with google maps, but at least the basics are working.

This brought me to another look at geocoding services. OpenLayers, alas, does not include their own geocoder. Considering Google Maps has a rather low geocoding limit that one can quickly hit by regenerating a decent sized directory, finding a good geocoder is definitely a top priority. The problem I'm running into with every one I look at is the same: their terms of service. Map...

Read Full Blog Entry

Narrow results to results containing

Link to these search results