Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hey Joel, We're actually getting some work done on Maps v2.x right now which we hope to forwardport to v3. Mostly polygon related stuff - smart labeling, hover, additional layers, autocenter, etc. I find it somewhat odd you are adding to this obsolete branch (at least from a dev perspective), and recommend against it. You'll just going to get yourself into tricky porting work for 3.x. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hi Jeroen, I actually played around with the Maps 3.x and found it was going through major refactoring. And since NYCpedia is heavily dependent on polygons and there was already a pending auto-centering patch which we sorely needed, we decided to go with 2.x for now. We realize this will complicate moving to 3.x, but when we saw the thread that 3.x devt has slowed down a bit and might be for the near future, we decided to bite the bullet coz of deadlines on our end. That's why I added that maybe the community can get together, and help fund/advance Maps 3.x. The polygon labeling and hover features should prove to be compelling new additions to Maps 3.x and we want to ultimately contribute it back. Thanks, Joel Sent from my iPhone On Jul 21, 2013, at 10:31 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey Joel, We're actually getting some work done on Maps v2.x right now which we hope to forwardport to v3. Mostly polygon related stuff - smart labeling, hover, additional layers, autocenter, etc. I find it somewhat odd you are adding to this obsolete branch (at least from a dev perspective), and recommend against it. You'll just going to get yourself into tricky porting work for 3.x. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hi All, We're actually getting some work done on Maps v2.x right now which we hope to forwardport to v3. Mostly polygon related stuff - smart labeling, hover, additional layers, autocenter, etc. During SMWCon, one attendee made a strong case for SMW being a great GIS CMS/KMS. Maybe we can round-up people to sponsor extended Maps/Semantic Maps to make this a reality. Especially now that MySQL 5.6, MariaDB 5.5 and MongoDB 2.4 have geospatial capabilities that should allow a lot of very interesting ask queries if the SMW geographic coordinate type took advantage of these technologies. http://www.slideshare.net/henrikingo/spatial-functions-in-mysql-56-mariadb-55-postgis-20-and-others FYI, we actually contributed some patches to ExternalData to return MongoDB GeoJSON polygons in a format that can be used with Maps (see nycpedia.com), but it still feels like a hack and we'd love to do ask queries like, what's inside, next, within, intersects, disjoint, crosses, contains polygon/POI which are now possible in MySQL 5.6, MariaDB 5.5 and MongoDB 2.4. Perhaps some additional SMW geospatial types beyond geographic coordinate? A place type defined by a polygon? Maybe this could be the integration point to start going towards a shared featureset with WikiData? We even looked at Extension:GeoData which now stores coordinates and powers Mediawiki Nearby Places, but its still storing latlongs as MySQL float fields. Best, Joel === Think Different! (http://en.wikipedia.org/wiki/Think_different#Text) Imagine Different! (http://www.youtube.com/watch?v=H5tOgRD4EqY) On Thu, Jun 27, 2013 at 6:58 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey Bernhard, I could work on Maps in my free time but am not doing so as there are other more interesting projects at hand. You can of course hire me to work on it, as is true for any MediaWiki or PHP work. Since I'd like to see my first extension to continue being developed, I also consider doing this substantially below my usual rate (depending on the exact things that need to be done). Of course you can hire other developers to work on it. I'd love to see good work happen without my involvement. Unfortunately the code quality of the extension is not the best, neither is the overall design, and it is lacking tests for the most part. Plus it is hopelessly intermingled with MediaWiki all over, while most of it could be independent from MW. I'm hoping this can improve so it becomes a well crafted, clean and throughly tested piece of software that can be worked on without having much knowledge of MediaWiki. If you hire someone to work on it, please make sure they don't go in the other direction. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hi Jeroen, Indeed. I am not currently working on it, or planning to do so, in my free time. This doesn't sound good. Do you mean it would be possible for you to put effort in, if it is funded? Or that you don't have time at all? Are there other developers around that could take over/help out with maintenance? regards, Bernhard -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hey Bernhard, I could work on Maps in my free time but am not doing so as there are other more interesting projects at hand. You can of course hire me to work on it, as is true for any MediaWiki or PHP work. Since I'd like to see my first extension to continue being developed, I also consider doing this substantially below my usual rate (depending on the exact things that need to be done). Of course you can hire other developers to work on it. I'd love to see good work happen without my involvement. Unfortunately the code quality of the extension is not the best, neither is the overall design, and it is lacking tests for the most part. Plus it is hopelessly intermingled with MediaWiki all over, while most of it could be independent from MW. I'm hoping this can improve so it becomes a well crafted, clean and throughly tested piece of software that can be worked on without having much knowledge of MediaWiki. If you hire someone to work on it, please make sure they don't go in the other direction. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hi Jeroen, it seems that the development of Maps and Semantic Maps has slowed down a bit recently? In my work for a first SMW installation in the City of Vienna I was asked whether (and how) it would be possible to use the Vienna mapping services instead of openlayer, google or yahoo. So we want to display data using maps/semantic maps on the Vienna city map. Is there some documentation on how to add a new mapping service? There is some documentation on how to use the Viennese GIS API: http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/generierter-code.html http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/javascript.html How good is your German yet? ;-) Unfortunately, the English docs is quite basic: http://www.wien.gv.at/english/help/citymap.html regards, Bernhard -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
I found come more documentation (again in German): http://www.wien.gv.at/viennagis/schnittstellen.html -Bernhard - Ursprüngliche Mail - Hi Jeroen, it seems that the development of Maps and Semantic Maps has slowed down a bit recently? In my work for a first SMW installation in the City of Vienna I was asked whether (and how) it would be possible to use the Vienna mapping services instead of openlayer, google or yahoo. So we want to display data using maps/semantic maps on the Vienna city map. Is there some documentation on how to add a new mapping service? There is some documentation on how to use the Viennese GIS API: http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/generierter-code.html http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/javascript.html How good is your German yet? ;-) Unfortunately, the English docs is quite basic: http://www.wien.gv.at/english/help/citymap.html regards, Bernhard -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
We've once integrated Yandex maps to Extension:Maps. It was pretty easy, we needed just to inherit some classes and write a bit of javascript spaghetti. The code itself if very easy to read, IMO - Yury Katkov, WikiVote On Wed, Jun 26, 2013 at 7:21 PM, Krabina Bernhard krab...@kdz.or.at wrote: I found come more documentation (again in German): http://www.wien.gv.at/viennagis/schnittstellen.html -Bernhard - Ursprüngliche Mail - Hi Jeroen, it seems that the development of Maps and Semantic Maps has slowed down a bit recently? In my work for a first SMW installation in the City of Vienna I was asked whether (and how) it would be possible to use the Vienna mapping services instead of openlayer, google or yahoo. So we want to display data using maps/semantic maps on the Vienna city map. Is there some documentation on how to add a new mapping service? There is some documentation on how to use the Viennese GIS API: http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/generierter-code.html http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/javascript.html How good is your German yet? ;-) Unfortunately, the English docs is quite basic: http://www.wien.gv.at/english/help/citymap.html regards, Bernhard -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hey Bernhard, it seems that the development of Maps and Semantic Maps has slowed down a bit recently? Indeed. I am not currently working on it, or planning to do so, in my free time. Is there some documentation on how to add a new mapping service? Nothing really up to date. Your best bet is looking at the code on git master for a particular mapping service (they are each in their own directory) and doing something similar for the one you want to implement. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
Hey, It was pretty easy, we needed just to inherit some classes and write a bit of javascript spaghetti. It is actually preferred to not do the spaghetti part, even though this might appear to be the standard in the Maps JS at the moment :) Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 2.0.1 RC1
Hey, I am planning to release Maps and Semantic Maps 2.0.1 tomorrow. These contain some critical fixes. You can get the RC by pulling master. It has been tagged as 2.0.1rc1. I realize a day is not much time to test, however due to the changes including critical fixes, a release should happen ASAP. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps - Openlayers editor
Hey Karsten, Let me first point out that I am in the process of wrapping up Maps (and Semantic Maps) for their 2.0 release. These will include the new features Kim added, amongst which the Special:MapEditor page using Google Maps. This means that any additions you make will be for a release after 2.0 (which might not matter much to you as you can happily run the latest version of your own code or the extension itself). Adding another editor using OpenLayers would be awesome. There are however two points that when taken into account will make it even more fantastic: * Having different editing tools for different mapping services is awkward, it's nicer to have one interface that can just switch mapping service (much like the existing (non-editing) interfaces). * The editor Kim created can eat and output wikitext. This allows users to get the wikitext they need to embed a map without actually understanding it or having to write it all out. They do need to actually navigate to another page, so the UX here has lot's of room for improvement. A kind of inline editor would be amazing. To address your question on loading JavaScript, I suggest you have a look at how this is done with the current map editor. As David Mason mentioned, loading of JavaScript is done though the resource loader [0]. To get review and support, it's best that you develop this in the WMF hosted git repository of Maps [1]. You can find more info on the git workflow here [2]. If you just want to play around and possibly break some things, I'd be happy to create a branch for you on gerrit. [0] https://www.mediawiki.org/wiki/Resource_loader [1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Maps.git [2] https://www.mediawiki.org/wiki/Git Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 0.6.6 released
Hey, Maps and Semantic Maps 0.6.6 are now available for download [0]. This release addresses some problems with coordinate parsing, wikitext in marker pop-ups and geocoding from behind proxies. It should be the most stable release of both extensions to date, so you are advised to upgrade if stability is important for you. More information about this release can be found on my blog [1] and on the documentation wiki [2]. A lot of improvements have been made to the documentation as well. Both the Maps examples [3] and Semantic Maps examples [4] are now comprehensive and complete. There now are finally examples of using query templates, of distance queries and of some nice compound queries. Some more work is needed though, a lot of which is explaining basic functionality and fixing minor issues all over the place. I’ll be taking care of the most important things, but I’d be great if people using the extensions could help me out improving the documentation :) [0] http://mapping.referata.com/wiki/Help:Download [1] http://blog.bn2vs.com/2010/08/27/maps-and-semantic-maps-0-6-6-released/ [2] http://mapping.referata.com/wiki/Mapping_on_MediaWiki [3] http://mapping.referata.com/wiki/Maps_examples [4] http://mapping.referata.com/wiki/Semantic_Maps_examples Cheers -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 0.6.6 rc1
Hey, Maps and Semantic Maps 0.6.6 rc1 are now available for download [0]. Notable bugfixes include correct parsing of wikitext in marker popups, geocoding support for people working with proxies and some capitalization bug with the template parameter in Semantic Maps. If you encounter any problems, please let me know. If no serious issues are discovered, the actual release will probably be on the 26th of this month. [0] http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.6.6rc1.7z Cheers -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 0.6.4 released
Hey, Maps and Semantic Maps 0.6.4 are now available for download [0]. This release contains several new features, amongst which basic KML support for Google Maps, a new OSM service implementation and re-added service links support to the Geographical Coordinates data-type in Semantic Maps. For a full list of changes since 0.6.3 see changes to Maps and changes to SM. Everyone running 0.6.2 or older is advised to upgrade as soon as possible. You can find a more detailed description of the new features and other changes on my blog [1]. [0] http://mapping.referata.com/wiki/Help:Download [1] http://blog.bn2vs.com/2010/07/08/maps-and-semantic-maps-0-6-4-released/ Cheers -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 0.6.4 rc1
Hey, For the early adopters and people having issues with the latest release of Maps and Semantic Maps: You can now download and try out 0.6.4 release candidate 1 [0]. This release contains mainly bugfixes, but also some new features. View the changes to Maps and Semantic Maps made so far here [1] and here [2]. I will release 0.6.4 in a couple of days, before Wikimania, so please be quick reporting any issues you might find. [0] http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.6.4rc1.zip [1] http://mapping.referata.com/wiki/Maps/Version_history#Maps_0.6.4 [2] http://mapping.referata.com/wiki/Semantic_Maps/Version_history#Semantic_Maps_0.6.4 Cheers -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 0.6.3 released
Maps [0] and Semantic Maps [1] 0.6.3 are now available for download [2]. This release is one aimed to improve stability and addresses a number of bugs that where present in 0.6.x. Some notable fixed issues are a failure of parsing any coordinates containing a degree symbol that surfaced in 0.6.2, and the failing of non-Google Maps form inputs. Some internal rewriting has also been done, which was needed to address some of these bugs, and will enable future awesomeness increase. The included OpenLayers library has also been upgraded to 2.9.1. (changes to Maps [3], changes to SM [4]). People running any 0.6.x are advised to upgrade. Especially people using Semantic Maps in conjunction with Semantic Forms [5], as both 0.6 and 0.6.1 contain undesired behaviour in the forms. A new release of Semantic Bundle [6], which will include these versions of the mapping extensions, is likely to soon be released as well :) You can also read the release notes on my blog [7] and on the documentation site [8]. [0] http://mapping.referata.com/wiki/Maps [1] http://mapping.referata.com/wiki/Semantic_Maps [2] http://mapping.referata.com/wiki/Help:Download [3] http://mapping.referata.com/wiki/Maps/Version_history#Maps_0.6.3 [4] http://mapping.referata.com/wiki/Semantic_Maps/Version_history#Semantic_Maps_0.6.3 [5] http://mapping.referata.com/wiki/Semantic_Forms [6] http://www.mediawiki.org/wiki/Semantic_Bundle [7] http://blog.bn2vs.com/2010/06/20/maps-and-semantic-maps-0-6-3-released/ [8] http://mapping.referata.com/wiki/Maps_and_Semantic_Maps_0.6.3_released -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps 0.6 released
Maps http://mapping.referata.com/wiki/Maps [0] and Semantic Mapshttp://mapping.referata.com/wiki/Semantic_Maps[1] 0.6 are now available for download [2]. This is a big update, including a lot of new features, bug fixes, security patches, and most of all, internal improvements, making both extensions more modular and extendible (these changes are not covered here, see the relevant change logs for more info). It is also the first release of Semantic Maps that requires you to run the SMW update script, as it requires a new table layout to store coordinates (more info on thishttp://mapping.referata.com/wiki/Semantic_Maps#Upgrading_to_0.6 ). The important new features are: - Maps now supports real coordinate parsing and formatting, which allows you to input coordinates in any of the supported notations at any point in the extension, and can also request any output to be in the notation of your choice. This means you can now choose what format Semantic MediaWikihttp://mapping.referata.com/wiki/Semantic_MediaWikishows coordinates in, such as in ask queries. The supported notations are DMS, decimal degrees, decimal minutes and floats. All those can be either directional or non directional. A new parser function has been added that allows you to convert between any of these formats: #coordinateshttp://mapping.referata.com/wiki/Coordinates . - New geographical functions: #geodistancehttp://mapping.referata.com/wiki/Geodistanceand # finddestination http://mapping.referata.com/wiki/Finddestination. You can use the #geodistance parser function to calculate the geographical distance between two points, from and to any of the supported formats. The #finddestination parser function can be used to find a destination given a starting point, an initial bearing and a distance. - Related to the new geographical functions is a rewritten distance query in Semantic Maps. It now takes into account performance and is scalable, which the old query was not, by using the new storage structure for coordinates. The notation for distance queries has also changed. Instead of using the like operator and a global distance parameter ( like #ask:[[Property: :~coordinates]]|distance=42 ) you now only have to specify your distance locally in the coordinate criteria itself like #ask:[[Property: :coordinates (42 km)]]. Like you can see you can now also specify a unit, which can be any of the supported oneshttp://mapping.referata.com/w/index.php?title=Help:Distanceaction=editredlink=1 . - Support for various width and height notations. Previously Maps only accepted width and height values is px, forcing you to use maps of fixed sizes. Since most people want to have their complete page width visible even on small screens, this resulted in a lot of people using rather small maps, and so wasting screen space. 0.6 allows you to specify the size in px, ex, em, and most importantly, in %. The syntax is what you’d expect: width=”420px”, width=”420em”, width=”42%”. width=”420″ will default to using px, so is backward compatible. When using the % values, maps will even adapt their size when the screen width or the height of the container they are in is changed after the page has loaded. - Not a new feature, but rather one that’s removed: OSMhttp://mapping.referata.com/wiki/OSMsupport. The OSM service has been completely removed from Maps and Semantic Maps as it was rather broken and not easy to upgrade to the internal structure of Maps 0.6. I’m planning to add it back later on, rewritten from ground up, in 0.6.1 or 0.6.2 or so. Note that you can still view OSM maps on your wiki using the OpenLayershttp://mapping.referata.com/wiki/OpenLayersservice, which has build in OSM layers, and also allows you to define your own layers since 0.5.5. The most notable bugfixes are: - Fixed conflict with prototype library that caused compatibility problems with the Halo extension. - Added automatic icon image sizing for Google Maps and Yahoo! Maps markers. - Various security fixes, mostly preventing XSS attacks. If no serious bugs are found in this release, a minor update can be expected in a month or so. [0] http://mapping.referata.com/wiki/Maps [1] http://mapping.referata.com/wiki/Semantic_Maps [2] http://mapping.referata.com/wiki/Help:Download -- Jeroen De Dauw * http://blog.bn2vs.com * http://wiki.bn2vs.com Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps released
Hey, Those services are indeed impressive. Thanks a lot for the awesome suggestion! I'm going to try to add a handler for this service right away :) Cheers, Jeroen De Dauw Forum: code.bn2vs.com Blog: blog.bn2vs.com Skype: rts.bn.vs ; Xfire: bn2vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! From: Joel Natividad joel.nativi...@gmail.com To: jeroen De Dauw jeroen_ded...@yahoo.com Cc: semediawiki-devel@lists.sourceforge.net; mediawik...@lists.wikimedia.org Sent: Sunday, August 23, 2009 4:30:17 PM Subject: Re: [SMW-devel] Maps and Semantic Maps released Jeroen, Have you looked at geonames? They have an impressive list of free web services (http://www.geonames.org/export/ws-overview.html). I used them myself for a project 2 years back and its pretty good. Best, Joel On Aug 23, 2009, at 8:12 AM, jeroen De Dauw wrote: Hey, I see your point. Would you find the geocoding approach acceptible if an open source service was available next to the ones of Google and Yahoo? I've been seraching for such an altternate and open source service before the 0.2 release, but simply was unable to find a decent working one. If you know one, please let me know! I'm going to poke Yaron about your suggestion to add the DMS notation, if he thinks it's a good idea, I'll implement it before 0.4. Of course, if someone feels like doing that, feel free to do so, but give me a poke to avoid double work. Cheers, Jeroen De Dauw Forum: code.bn2vs.com Blog: blog.bn2vs.com Skype: rts.bn.vs ; Xfire: bn2vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! From: Temlakos temla...@gmail.com To: jeroen De Dauw jeroen_ded...@yahoo.com Cc: semediawiki-devel@lists.sourceforge.net; mediawik...@lists.wikimedia.org Sent: Sunday, August 23, 2009 1:47:14 PM Subject: Re: [SMW-devel] Maps and Semantic Maps released Jeroen: Geocoding means using a proprietary service, and getting a license that could easily be revoked. I don't know how acquainted you are with American politics, but let me tell you this: Google.com has been playing politics with their search engine, their tools, everything. They have rigged their searches to push politically conservative and religiously oriented sites to the bottom of the rankings--which is why my wiki never bears mention in any search on Google, but they bear plenty of good mention on other search engines. If they have demonstrated their willingness to play politics with their search engine, what is to stop them from playing politics with any of their other /proprietary/ APIs? A /proprietor/ reserves the right to refuse service to anyone, for any reason or no reason. I don't want to be held at the mercy of any /proprietor/. That rather defeats, even violates, the purpose of open-source. I want to be able to do all my maps on OpenLayers, and stay away from Google, if I can. I'm not even sure that our license (the GFDL) would even /allow/ us to do anything else. That aside, we have a policy to stay a million kilometers away from anything that even hints at a legal encumbrance. Besides: some of my sites are ancient, and might not even exist anymore. For such sites, geocoding, even /open-source/ geocoding, would be flatly impossible. Temlakos jeroen De Dauw wrote: Hey, Does either Maps or Semantic Maps provide a means by which to display a map with a marker at a set of coordinates given in degrees, minutes, and seconds? No, they do not support that notation. It would not be that hard to implement, but no one has asked for it before, so I guess the demand is pretty low. Is simply geocoding the actual addresses with the build in #geocode parser function [0] not an option? That way you can avoid having to work with coordinates all together. [0] http://www.mediawiki.org/wiki/Extension:Maps#Geocoding Cheers, Jeroen De Dauw Forum: code http://code.bn2vs.com.bn2vs.com http://code.bn2vs.com Blog: blog.bn2vs.com http://blog.bn2vs.com Skype: rts.bn.vs ; Xfire: bn2vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! *From:* Temlakos temla...@gmail.com *To:* jeroen De Dauw jeroen_ded...@yahoo.com *Cc:* semediawiki-devel@lists.sourceforge.net; mediawik...@lists.wikimedia.org *Sent:* Sunday, August 23, 2009 3:18:19 AM *Subject:* Re: [SMW-devel] Maps and Semantic Maps released Dear Jeroen: Does either Maps or Semantic Maps provide a means by which to display a map with a marker at a set of coordinates given in degrees, minutes, and seconds? All your examples for simple display of a single point use floating-point degree quantities. This would force me to hand-convert, and that seems rather pointless to me. What I would like to do is design a template for a settlement, or a landmark
Re: [SMW-devel] Maps and Semantic Maps released
Dear Jeroen: Does either Maps or Semantic Maps provide a means by which to display a map with a marker at a set of coordinates given in degrees, minutes, and seconds? All your examples for simple display of a single point use floating-point degree quantities. This would force me to hand-convert, and that seems rather pointless to me. What I would like to do is design a template for a settlement, or a landmark (e.g., mountain, hill, valley), that will include a map of the immediate region and automatically place a marker at the specified coordinates in the article on that settlement or landmark. A query formatted as a map with many points on it looks great. And it would be wonderful for an article on a country, because I could place markers for every city and/or landmark in that country. But when I write an article for a city or a mountain, I annotate coordinates in degrees, minutes, and seconds. Or must I get used to specifying them in floats? Temlakos jeroen De Dauw wrote: Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [0] with Yaron Koren http://yaronkoren.com/ [1] as mentor. You can read more about this at my blog http://blog.bn2vs.com/tag/semantic-maps/ [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps http://www.mediawiki.org/wiki/Extension:Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps http://www.mediawiki.org/wiki/Extension:Semantic_Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code http://code.bn2vs.com.bn2vs.com http://code.bn2vs.com Blog: blog.bn2vs.com http://blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps released
Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this at my blog [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5]http://openlayers.org/ [6]http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps released
Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw jeroen_ded...@yahoo.comwrote: Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWikihttp://semantic-mediawiki.org/wiki/Semantic_MediaWiki[0] with Yaron Koren http://yaronkoren.com/ [1] as mentor. You can read more about this at my blog http://blog.bn2vs.com/tag/semantic-maps/ [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps http://www.mediawiki.org/wiki/Extension:Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps http://www.mediawiki.org/wiki/Extension:Semantic_Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code http://code.bn2vs.com.bn2vs.com http://code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps released
Beautiful ! I can't wait to see a demo of multiple properties query. One observation - Trying to view the demo pages with IE6.0 results in an error (Cannot connect to page). This is reminiscent of early issues with the Google Map and Exhibit formats for Semantic Queries. I do not know how they were resolved. Maybe Sergey ? Yes - I know. We should be using a more recent browser (and I am, personally - firefox 3.5 is working fine) but I also have to be mindful of the fact that IE6 is still used in many places on this side of the firewall :) (and probably still out there as well). - Laurent Alquier From: jeroen De Dauw jeroen_ded...@yahoo.com Sent: Wednesday, July 22, 2009 1:58 AM To: mediawik...@lists.wikimedia.org, semediawiki-devel@lists.sourceforge.net Subject: [SMW-devel] Maps and Semantic Maps released Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this at my blog [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers,De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps released
Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: Remove the SemanticGoogleMaps directory from your extension directory.Remove (when you use it) Google Geocoder in a similar fashion.Upload both Maps and Semantic Maps to your extension directory.Make sure your API key's are in the right place After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code should work on Semantic Maps. If you encounter some problem though, please let the extension developers know. http://www.mediawiki.org/wiki/Extension:Semantic_Maps - Laurent Alquier From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 4:57 AM To: jeroen De Dauw jeroen_ded...@yahoo.com Subject: Re: [SMW-devel] Maps and Semantic Maps released Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw jeroen_ded...@yahoo.com wrote: Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this at my blog [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers,De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps released
That was fast :) Regarding the error I reported with IE6. I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps Both the Google Map demo page and the Yahoo Maps demo page are working fine in IE6. The Open Layers demo page is also throwing an error - however, I can visit the OpenLayer website and view examples there with IE6 without error. Maybe that will help troubleshooting the error. - Laurent From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 5:44 AM To: laur...@alquier.org Subject: Re: [SMW-devel] Maps and Semantic Maps released Yeh, Jeroen created it and replied to me privately already ;) I'll try it when I have spare time. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier laur...@alquier.org wrote: Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: Remove the SemanticGoogleMaps directory from your extension directory.Remove (when you use it) Google Geocoder in a similar fashion.Upload both Maps and Semantic Maps to your extension directory. Make sure your API key's are in the right place After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code should work on Semantic Maps. If you encounter some problem though, please let the extension developers know. http://www.mediawiki.org/wiki/Extension:Semantic_Maps - Laurent Alquier From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 4:57 AM To: jeroen De Dauw jeroen_ded...@yahoo.com Subject: Re: [SMW-devel] Maps and Semantic Maps released Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw jeroen_ded...@yahoo.com wrote: Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this at my blog [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers,De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps released
Last email for today I thought I would give it a shot and install both Maps and Semantic Maps. Unfortunately, it did not go as smoothly as I thought: 1- If I replace $wgGoogleMapsKey by $egGoogleMapsKey in my LocalSettings.php file, SRF Exhibit stops displaying Maps. 2- If I keep both GoogleMapKeys variables, Maps throws an error - telling me my Google API key is not valid. Getting a dedicated API key for $egGoogleMapsKey doesn't work. I will investigate that again later this week, probably Friday. Maybe it is something I missed in the installation. - Laurent From: Laurent Alquier laur...@alquier.org Sent: Wednesday, July 22, 2009 5:52 AM To: semediawiki-devel@lists.sourceforge.net Subject: Re: [SMW-devel] Maps and Semantic Maps released That was fast :) Regarding the error I reported with IE6. I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps Both the Google Map demo page and the Yahoo Maps demo page are working fine in IE6. The Open Layers demo page is also throwing an error - however, I can visit the OpenLayer website and view examples there with IE6 without error. Maybe that will help troubleshooting the error. - Laurent From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 5:44 AM To: laur...@alquier.org Subject: Re: [SMW-devel] Maps and Semantic Maps released Yeh, Jeroen created it and replied to me privately already ;) I'll try it when I have spare time. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier laur...@alquier.org wrote: Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: Remove the SemanticGoogleMaps directory from your extension directory.Remove (when you use it) Google Geocoder in a similar fashion.Upload both Maps and Semantic Maps to your extension directory. Make sure your API key's are in the right place After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code should work on Semantic Maps. If you encounter some problem though, please let the extension developers know. http://www.mediawiki.org/wiki/Extension:Semantic_Maps - Laurent Alquier From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 4:57 AM To: jeroen De Dauw jeroen_ded...@yahoo.com Subject: Re: [SMW-devel] Maps and Semantic Maps released Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw jeroen_ded...@yahoo.com wrote: Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this at my blog [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers,De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65
Re: [SMW-devel] Maps and Semantic Maps released
Yeah, it's not a good idea to rename $wgGoogleMapsKey - it's sort-of generic variable for all MediaWiki extensions that use Google Map services. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 2:15 PM, Laurent Alquier laur...@alquier.orgwrote: Last email for today I thought I would give it a shot and install both Maps and Semantic Maps. Unfortunately, it did not go as smoothly as I thought: 1- If I replace $wgGoogleMapsKey by $egGoogleMapsKey in my LocalSettings.php file, SRF Exhibit stops displaying Maps. 2- If I keep both GoogleMapKeys variables, Maps throws an error - telling me my Google API key is not valid. Getting a dedicated API key for $egGoogleMapsKey doesn't work. I will investigate that again later this week, probably Friday. Maybe it is something I missed in the installation. - Laurent -- *From*: Laurent Alquier laur...@alquier.org *Sent*: Wednesday, July 22, 2009 5:52 AM *To*: semediawiki-devel@lists.sourceforge.net *Subject*: Re: [SMW-devel] Maps and Semantic Maps released That was fast :) Regarding the error I reported with IE6. I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps Both the Google Map demo page and the Yahoo Maps demo page are working fine in IE6. The Open Layers demo page is also throwing an error - however, I can visit the OpenLayer website and view examples there with IE6 without error. Maybe that will help troubleshooting the error. - Laurent -- *From*: Sergey Chernyshev sergey.chernys...@gmail.com *Sent*: Wednesday, July 22, 2009 5:44 AM *To*: laur...@alquier.org *Subject*: Re: [SMW-devel] Maps and Semantic Maps released Yeh, Jeroen created it and replied to me privately already ;) I'll try it when I have spare time. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier laur...@alquier.orgwrote: Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: - Remove the SemanticGoogleMaps directory from your extension directory. - Remove (when you use it) Google Geocoder in a similar fashion. - Upload both Maps and Semantic Maps to your extension directory. - Make sure your API key's are in the right place After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code *should*work on Semantic Maps. If you encounter some problem though, please let the extension developers know. http://www.mediawiki.org/wiki/Extension:Semantic_Maps - Laurent Alquier -- *From*: Sergey Chernyshev sergey.chernys...@gmail.com *Sent*: Wednesday, July 22, 2009 4:57 AM *To*: jeroen De Dauw jeroen_ded...@yahoo.com *Subject*: Re: [SMW-devel] Maps and Semantic Maps released Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 9:56 AM, jeroen De Dauw jeroen_ded...@yahoo.comwrote: Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWikihttp://semantic-mediawiki.org/wiki/Semantic_MediaWiki[0] with Yaron Koren http://yaronkoren.com/ [1] as mentor. You can read more about this at my blog http://blog.bn2vs.com/tag/semantic-maps/ [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps http://www.mediawiki.org/wiki/Extension:Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps http://www.mediawiki.org/wiki/Extension:Semantic_Maps[7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki
Re: [SMW-devel] Maps and Semantic Maps released
Another point to investigate. I was able to display maps using the same value for $wgGoogleMapsKey and $egGoogleMapsKey. However, when I tried to turn 'earth=on', Google basked that the API key was not valid for this site. I had to request a new key for $egGoogleMapsKey to get both types of map to work. Other than that (and the compatibility issue with #semantic_google_map I reported earlier), I like this extension a lot so far. very promissing. - Laurent From: Yaron Koren yaro...@gmail.com Sent: Wednesday, July 22, 2009 6:48 AM To: Sergey Chernyshev sergey.chernys...@gmail.com Subject: Re: [SMW-devel] Maps and Semantic Maps released A few notes on the Google maps key: Laurent - do you have the key setting after the inclusion of the Maps extension? If it comes beforehand, it won't work. Sergey - the decision was made to use $eg, since that's the correct convention for setting global variables in extensions (though it hasn't been followed in any SMW-related extensions until now): http://www.mediawiki.org/wiki/Manual:Coding_conventions#Extension_Functions_ and_Variables It's true that $wgGoogleMapsKey is used in other extensions; Google Maps and SRF (the Exhibit format) are the two that I know about (SGM and Google Geocoder use it too, but the plan is for both of those to go away at some point soon). Keeping it at $wg just for compatibility would be strange, though, given that Maps also uses an $egYahooMapsKey, etc. The documentation should probably at least be clearer, though, about the usage of the two variables. -Yaron On Wed, Jul 22, 2009 at 2:24 PM, Sergey Chernyshev sergey.chernys...@gmail.com wrote: Yeah, it's not a good idea to rename $wgGoogleMapsKey - it's sort-of generic variable for all MediaWiki extensions that use Google Map services. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 2:15 PM, Laurent Alquier laur...@alquier.org wrote: Last email for today I thought I would give it a shot and install both Maps and Semantic Maps. Unfortunately, it did not go as smoothly as I thought: 1- If I replace $wgGoogleMapsKey by $egGoogleMapsKey in my LocalSettings.php file, SRF Exhibit stops displaying Maps. 2- If I keep both GoogleMapKeys variables, Maps throws an error - telling me my Google API key is not valid. Getting a dedicated API key for $egGoogleMapsKey doesn't work. I will investigate that again later this week, probably Friday. Maybe it is something I missed in the installation. - Laurent From: Laurent Alquier laur...@alquier.org Sent: Wednesday, July 22, 2009 5:52 AM To: semediawiki-devel@lists.sourceforge.net Subject: Re: [SMW-devel] Maps and Semantic Maps released That was fast :) Regarding the error I reported with IE6. I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps Both the Google Map demo page and the Yahoo Maps demo page are working fine in IE6. The Open Layers demo page is also throwing an error - however, I can visit the OpenLayer website and view examples there with IE6 without error. Maybe that will help troubleshooting the error. - Laurent From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 5:44 AM To: laur...@alquier.org Subject: Re: [SMW-devel] Maps and Semantic Maps released Yeh, Jeroen created it and replied to me privately already ;) I'll try it when I have spare time. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier laur...@alquier.org wrote: Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: Remove the SemanticGoogleMaps directory from your extension directory.Remove (when you use it) Google Geocoder in a similar fashion.Upload both Maps and Semantic Maps to your extension directory. Make sure your API key's are in the right place After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code should work on Semantic Maps. If you encounter some problem though, please let the extension developers know. http://www.mediawiki.org/wiki/Extension:Semantic_Maps - Laurent Alquier From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 4:57 AM To: jeroen De Dauw jeroen_ded...@yahoo.com Subject: Re: [SMW-devel] Maps and Semantic Maps released Great job, Jeroen! How do I go about upgrading from Semantic Google Maps? My TechPresentations.org uses it a little bit. Thank you, Sergey -- Sergey Chernyshev http
Re: [SMW-devel] Maps and Semantic Maps released
Thanks Yaron Moving the variable declaration after the 'require_once' calls worked. I would not have thought of that since declaring $wgGoogleMapsKey before calling semantic google maps used to work :) Another observation in terms of backward compatibility : One of my template is using queries such as : {{#semantic_google_map:40.024707° N, 75.509739° W|10|G_HYBRID_MAP|GSmallMapControl|pmap|200|200}} These queries appear now in plain text. I suspect I have to replace them with a {{#ask: query with the right parameters. Did the statement about not having to change anything else than the LocalSettings.php miss that ? On the other hand, the Form version of the call to GoogleMap is indeed working without any change. - Laurent From: Yaron Koren yaro...@gmail.com Sent: Wednesday, July 22, 2009 6:48 AM To: Sergey Chernyshev sergey.chernys...@gmail.com Subject: Re: [SMW-devel] Maps and Semantic Maps released A few notes on the Google maps key: Laurent - do you have the key setting after the inclusion of the Maps extension? If it comes beforehand, it won't work. Sergey - the decision was made to use $eg, since that's the correct convention for setting global variables in extensions (though it hasn't been followed in any SMW-related extensions until now): http://www.mediawiki.org/wiki/Manual:Coding_conventions#Extension_Functions_and_Variables It's true that $wgGoogleMapsKey is used in other extensions; Google Maps and SRF (the Exhibit format) are the two that I know about (SGM and Google Geocoder use it too, but the plan is for both of those to go away at some point soon). Keeping it at $wg just for compatibility would be strange, though, given that Maps also uses an $egYahooMapsKey, etc. The documentation should probably at least be clearer, though, about the usage of the two variables. -Yaron On Wed, Jul 22, 2009 at 2:24 PM, Sergey Chernyshev sergey.chernys...@gmail.com wrote: Yeah, it's not a good idea to rename $wgGoogleMapsKey - it's sort-of generic variable for all MediaWiki extensions that use Google Map services. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 2:15 PM, Laurent Alquier laur...@alquier.org wrote: Last email for today I thought I would give it a shot and install both Maps and Semantic Maps. Unfortunately, it did not go as smoothly as I thought: 1- If I replace $wgGoogleMapsKey by $egGoogleMapsKey in my LocalSettings.php file, SRF Exhibit stops displaying Maps. 2- If I keep both GoogleMapKeys variables, Maps throws an error - telling me my Google API key is not valid. Getting a dedicated API key for $egGoogleMapsKey doesn't work. I will investigate that again later this week, probably Friday. Maybe it is something I missed in the installation. - Laurent From: Laurent Alquier laur...@alquier.org Sent: Wednesday, July 22, 2009 5:52 AM To: semediawiki-devel@lists.sourceforge.net Subject: Re: [SMW-devel] Maps and Semantic Maps released That was fast :) Regarding the error I reported with IE6. I am getting that error on this page : http://wiki.bn2vs.com/wiki/Maps Both the Google Map demo page and the Yahoo Maps demo page are working fine in IE6. The Open Layers demo page is also throwing an error - however, I can visit the OpenLayer website and view examples there with IE6 without error. Maybe that will help troubleshooting the error. - Laurent From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 5:44 AM To: laur...@alquier.org Subject: Re: [SMW-devel] Maps and Semantic Maps released Yeh, Jeroen created it and replied to me privately already ;) I'll try it when I have spare time. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 22, 2009 at 1:38 PM, Laurent Alquier laur...@alquier.org wrote: Hi Sergey I believe your answer is already available on the Extension:Semantic Maps page : Upgrading from Semantic Google Maps If you have Semantic Google Maps installed, and want to upgrade to Semantic Maps, these are the steps you need to follow: Remove the SemanticGoogleMaps directory from your extension directory.Remove (when you use it) Google Geocoder in a similar fashion.Upload both Maps and Semantic Maps to your extension directory. Make sure your API key's are in the right place After doing all these steps, you should be done. Maps and Semantic Maps are designed to be backward compatible with SGM, so all SGM code should work on Semantic Maps. If you encounter some problem though, please let the extension developers know. http://www.mediawiki.org/wiki/Extension:Semantic_Maps - Laurent Alquier From: Sergey Chernyshev sergey.chernys...@gmail.com Sent: Wednesday, July 22, 2009 4:57 AM To: jeroen De Dauw
Re: [SMW-devel] Maps and Semantic Maps released
Before I forget, there is one functionality that I have been looking for in maps/semantic maps for a long time - if you want an idea for improvements. I wish there was a way to display, next to the map (or below), a list of locations visible on the map with links to change the focus of the map. Sort of like a table of content. I have seen that in Tetherless Maps for example - http://www.mediawiki.org/wiki/Extension:Tetherless_Map - but I was never able to make it work right. Take a look at that extension - there are many interesting UI improvements worth looking into. - Laurent From: jeroen De Dauw jeroen_ded...@yahoo.com Sent: Wednesday, July 22, 2009 1:58 AM To: mediawik...@lists.wikimedia.org, semediawiki-devel@lists.sourceforge.net Subject: [SMW-devel] Maps and Semantic Maps released Hey, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. During the last 2 months I've been working on 2 new mapping extensions for MediaWiki and Semantic MediaWiki [0] with Yaron Koren [1] as mentor. You can read more about this at my blog [2]. The first version of both extensions has just been released. These are the extensions: Maps Maps [3] is an extension that provides the ability to display coordinate data, using multiple mapping services, including Google Maps [4], OpenLayers [5] and Yahoo Maps [6], and allows users to geocode addresses. Semantic Maps Semantic Maps [7] is an extension that adds semantic capabilities to the Maps extension, and therefore provides the ability to add, view and edit coordinate data stored through the Semantic MediaWiki extension, using multiple mapping services. These include Google Maps, OpenLayers and Yahoo Maps. Semantic Maps and Maps are based on Semantic Google Maps and Semantic Layers, and are meant to replace these extensions. For this extension to work, you need to have both Semantic MediaWiki and Maps installed. You can download both extensions via their documentation pages. Suggestions and feature requests are welcome. [0] http://semantic-mediawiki.org/wiki/Semantic_MediaWiki [1] http://yaronkoren.com/ [2] http://blog.bn2vs.com/tag/semantic-maps/ [3] http://www.mediawiki.org/wiki/Extension:Maps [4] http://code.google.com/apis/maps/ [5] http://openlayers.org/ [6] http://developer.yahoo.com/maps/ [7] http://www.mediawiki.org/wiki/Extension:Semantic_Maps Cheers,De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps
Jeroen, Looks like you removed description for type parameter from the Maps help page. Any reason for that? Also, are you planning to have normal, satellite, hybrid mapping to the corresponding formats on each of the services? Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 15, 2009 at 10:51 AM, jeroen De Dauw jeroen_ded...@yahoo.comwrote: Hey all, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. I'm working on a map extension for Semantic MediaWikihttp://semantic-mediawiki.org/wiki/Semantic_MediaWikiwith Yaron Koren http://yaronkoren.com/ as mentor. During the last 2 months I've been working on this extension (which has actually split into 2 seperate extensions: Mapshttp://www.mediawiki.org/wiki/Extension:Mapsand Semantic Maps http://www.mediawiki.org/wiki/Extension:Semantic_Maps - click the links for more info about either extension), and I'm reaching the final stage before the first release. I'd like to get some feedback on the code and overall structure of the extensions before I continue, to ensure no mayor design flaws are present. You can get the code for both extensions herehttp://ext.bn2vs.com/mw-map-extensionz.zip. Note that this code is still purely dev material, and should NOT be used in a production environment. One of the big questions about the Semantic Maps code is if it should just be added to Semantic Result Formats or remain separate. What are your opinions about this? Any feedback is welcome. For those who are wondering, if no mayor flaws are found, both extensions will probably be released in a one or two week time frame. (I'm posting updates http://blog.bn2vs.com/tag/semantic-maps/ on my blog.) Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code http://code.bn2vs.com.bn2vs.com http://code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps
On Donnerstag, 16. Juli 2009, jeroen De Dauw wrote: Although the third option is entirely possible, and probably will work just as well as when placing the form inputs to SM or SRF, I really doubt this is good practice. It's kind of just throwing the code into one of the extension's dependencies, which has quite frankly nothing do do with the code, and then not bothering it any further since the code gets loaded where it's needed. So I'd go only for this approach as a last resort. I also wouldn't let the fact that this is ANOTHER extension affect any design decisions. After all, there already are a lot, so one more won't hurt. Furthermore, Maps and Semantic Maps are in themselves bundling quite some functionality (just look at how many map related extensions there are out there), and so actually reducing the number of relevant extensions to choose from. And when ready, I suppose it can be added to Semantic Bundle and replace SGM and GG that are currenly in it. One more point for keeping SM seperate is that in the future functionallity that is not suited to be in SRF might be added. If the code is in SRF, that can hamper the developement of such code, since it'l then be more difficult to get SM seperate again. I am convinced. (Never question the judgement of the original developer and future maintainer ;-) In any case, please put it on SVN and get translatewiki.net support. I can also add it to the online API doc once it is in SVN. -- Markus Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! From: Sergey Chernyshev sergey.chernys...@gmail.com To: Yaron Koren yaro...@gmail.com Cc: mar...@semantic-mediawiki.org; semediawiki-devel@lists.sourceforge.net; jeroen De Dauw jeroen_ded...@yahoo.com Sent: Thursday, July 16, 2009 4:54:40 PM Subject: Re: [SMW-devel] Maps and Semantic Maps Actually, third options is OK - it just tells the system that if SF is enabled, here's additional functionality for it. This way, it can be SRF + Maps and that's it, right? Do you think there will be other feature in the future that can go into Semantic Maps that will go beyond being either part of Maps or SRF? If not, then making it just Maps + SRF might be a good idea - this will definitely will increase distribution. After all, how many Semantic * extensions can we have? ;) Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Thu, Jul 16, 2009 at 10:47 AM, Yaron Koren yaro...@gmail.com wrote: Let me first comment that I don't think translation/internationalization is an issue either way - translatewiki.net already handles dozens of extensions, and more are always being added; for them to add another extension to the set is trivial, and the translators do an excellent job of taking care of new values, regardless of which extension they came from. I think perhaps it comes down to a philosophical issue of whether the Semantic Result Formats extension is meant to contain all formats not defined in SMW; or whether it's just a utility extension. The 'calendar' format in SRF already breaks the rules somewhat by defining new parser functions in addition to just a format; but form inputs seem to go beyond that, in that they're not tied in with querying at all. I should note that there's a third option, which is to move the form inputs into the Maps extension: after all, they're just a hook, and people who aren't using SMW/SF can ignore the code. It's probably not a good idea, but I wanted to throw that out there. -Yaron On Thu, Jul 16, 2009 at 9:31 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On Donnerstag, 16. Juli 2009, jeroen De Dauw wrote: Hey, After my GSoC project ends, I will remain active in the community, continue to support both extensions, and very probably continue on improving them. To what extend will ofcourse depend on how much work I'll have at university. Of course. Free software always requires free time. It's already great if there will be some amount of continued bug fixing and basic maintenance. When released, both extensions will have roughly the same size as they have now. Maps is by far the largest, couse it contains the Open Layers API. Semantic Maps will be pretty small, and should therefore not form any problem when putting the code into SRF. So, as I see it, there are two advantages to ading the SM code to SRF: easier to distribute and a bigger user base. + slightly easier translation/internationalisation since you can use SRF's message file and don't have to ask Siebrand for a new one ;-). And 2 disadvantages: it adds prerequests to the map functionallity in SRF (SF Maps), This is not a problem. SRF already includes various
Re: [SMW-devel] Maps and Semantic Maps
On Donnerstag, 16. Juli 2009, jeroen De Dauw wrote: Hey, After my GSoC project ends, I will remain active in the community, continue to support both extensions, and very probably continue on improving them. To what extend will ofcourse depend on how much work I'll have at university. Of course. Free software always requires free time. It's already great if there will be some amount of continued bug fixing and basic maintenance. When released, both extensions will have roughly the same size as they have now. Maps is by far the largest, couse it contains the Open Layers API. Semantic Maps will be pretty small, and should therefore not form any problem when putting the code into SRF. So, as I see it, there are two advantages to ading the SM code to SRF: easier to distribute and a bigger user base. + slightly easier translation/internationalisation since you can use SRF's message file and don't have to ask Siebrand for a new one ;-). And 2 disadvantages: it adds prerequests to the map functionallity in SRF (SF Maps), This is not a problem. SRF already includes various printers that introduce further prerequisites. These printers are simply not enabled by default, and the dependencies are stated in the SRF docs. SRF has a simple way of configuring which printers to make available by switching them on or off in LocalSettings. and it's less easy to maintain. Why is that? Every printer in SRF is pretty independent from the others and has its own subdirectory. So it does not make much of a difference compared to having a separate directory for one printer. Getting an SVN account for MediaWiki would be a good idea anyway (if you don't have one already). (As a bonus, SMW-related SVN code gets its documentation at http://semantic-mediawiki.org/doc/ ;-) -- Markus IMHO this is not very conclusive, and I think that unless there are more arguments, it's best to let it be as it is for the moment. Sergey: Thanks for your suggestions, they are all valid, and I'll implement some of them before the first release. Markus: Thanks for pointing out the links/footnote stuff. Any more suggestions about Maps and Semantic Maps? Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! From: Markus Krötzsch mar...@semantic-mediawiki.org To: semediawiki-devel@lists.sourceforge.net Cc: Sergey Chernyshev sergey.chernys...@gmail.com; jeroen De Dauw jeroen_ded...@yahoo.com Sent: Wednesday, July 15, 2009 7:49:13 PM Subject: Re: [SMW-devel] Maps and Semantic Maps On Mittwoch, 15. Juli 2009, Sergey Chernyshev wrote: Great news, Jaroen! It's great to see that Mapping becomes more of the generic solution. +1, having a single (semantic) mapping extension is certainly a worthy goal. Including this (the semantic part) into SRF would be useful if the required code is not overly large. This would simplify distribution and increase the user base, I believe. It would also let you use SRF's translatewiki.net account for internationalization. SRF can also include experimental software, but it is of course desirable that somebody is in charge of maintaining each component. Are you supporting this code after the GSoC time ends, or is someone else expected to take over? Regards, Markus P.S. Our public online emails archives do (for security reasons) only show plain text versions of emails, but the plain text part of your email contains no hints that you included hyperlinks (bad HTML serializer ...). It would thus be useful to include URLs explicitly (using [1] style footnotes for long URLs), so that people browsing mails online can also access them. I guess this also applies to subscribers who use email digests or text-only email clients. P.P.S. This said, here are the relevant links: * Maps: http://www.mediawiki.org/wiki/Extension:Maps * Sem' Maps: http://www.mediawiki.org/wiki/Extension:Semantic_Maps * Source code: http://ext.bn2vs.com/mw-map-extensionz.zip * Updates on Jeroen's blog: http://blog.bn2vs.com/tag/semantic-maps/ I have a few suggestions though: Maps: - I think default mapping service should be configurable through the LocalSettings.php using some global variable. - Mapping services available to the users should also be configurable as an array of available services. - it's probably a good idea to remove (or make optional) primary parameter name - coordinates for display_point and address for display_address. This way default calls can be abbreviated to *{{#display_point:55.7557860, 37.6176330}}* and *{{#display_address:Moscow, Russia}}* which should simplify usage significantly. - Also, for map types, I think Yahoo provides all the types Google provides and it's worth adding too (it's probably in your
Re: [SMW-devel] Maps and Semantic Maps
Let me first comment that I don't think translation/internationalization is an issue either way - translatewiki.net already handles dozens of extensions, and more are always being added; for them to add another extension to the set is trivial, and the translators do an excellent job of taking care of new values, regardless of which extension they came from. I think perhaps it comes down to a philosophical issue of whether the Semantic Result Formats extension is meant to contain all formats not defined in SMW; or whether it's just a utility extension. The 'calendar' format in SRF already breaks the rules somewhat by defining new parser functions in addition to just a format; but form inputs seem to go beyond that, in that they're not tied in with querying at all. I should note that there's a third option, which is to move the form inputs into the Maps extension: after all, they're just a hook, and people who aren't using SMW/SF can ignore the code. It's probably not a good idea, but I wanted to throw that out there. -Yaron On Thu, Jul 16, 2009 at 9:31 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On Donnerstag, 16. Juli 2009, jeroen De Dauw wrote: Hey, After my GSoC project ends, I will remain active in the community, continue to support both extensions, and very probably continue on improving them. To what extend will ofcourse depend on how much work I'll have at university. Of course. Free software always requires free time. It's already great if there will be some amount of continued bug fixing and basic maintenance. When released, both extensions will have roughly the same size as they have now. Maps is by far the largest, couse it contains the Open Layers API. Semantic Maps will be pretty small, and should therefore not form any problem when putting the code into SRF. So, as I see it, there are two advantages to ading the SM code to SRF: easier to distribute and a bigger user base. + slightly easier translation/internationalisation since you can use SRF's message file and don't have to ask Siebrand for a new one ;-). And 2 disadvantages: it adds prerequests to the map functionallity in SRF (SF Maps), This is not a problem. SRF already includes various printers that introduce further prerequisites. These printers are simply not enabled by default, and the dependencies are stated in the SRF docs. SRF has a simple way of configuring which printers to make available by switching them on or off in LocalSettings. and it's less easy to maintain. Why is that? Every printer in SRF is pretty independent from the others and has its own subdirectory. So it does not make much of a difference compared to having a separate directory for one printer. Getting an SVN account for MediaWiki would be a good idea anyway (if you don't have one already). (As a bonus, SMW-related SVN code gets its documentation at http://semantic-mediawiki.org/doc/ ;-) -- Markus IMHO this is not very conclusive, and I think that unless there are more arguments, it's best to let it be as it is for the moment. Sergey: Thanks for your suggestions, they are all valid, and I'll implement some of them before the first release. Markus: Thanks for pointing out the links/footnote stuff. Any more suggestions about Maps and Semantic Maps? Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! From: Markus Krötzsch mar...@semantic-mediawiki.org To: semediawiki-devel@lists.sourceforge.net Cc: Sergey Chernyshev sergey.chernys...@gmail.com; jeroen De Dauw jeroen_ded...@yahoo.com Sent: Wednesday, July 15, 2009 7:49:13 PM Subject: Re: [SMW-devel] Maps and Semantic Maps On Mittwoch, 15. Juli 2009, Sergey Chernyshev wrote: Great news, Jaroen! It's great to see that Mapping becomes more of the generic solution. +1, having a single (semantic) mapping extension is certainly a worthy goal. Including this (the semantic part) into SRF would be useful if the required code is not overly large. This would simplify distribution and increase the user base, I believe. It would also let you use SRF's translatewiki.net account for internationalization. SRF can also include experimental software, but it is of course desirable that somebody is in charge of maintaining each component. Are you supporting this code after the GSoC time ends, or is someone else expected to take over? Regards, Markus P.S. Our public online emails archives do (for security reasons) only show plain text versions of emails, but the plain text part of your email contains no hints that you included hyperlinks (bad HTML serializer ...). It would thus be useful to include URLs explicitly (using [1] style footnotes for long URLs
Re: [SMW-devel] Maps and Semantic Maps
Just to add my 0.2 cent - it would be nice if the new Map+Semantic Map extensions could be used in a similar independent way as the existing Semantic Google Maps extension (which should be replaced by SM if I see that correctly). I use an extended version of the Semantic Google Maps extension (which I need to deal with values in geo-coded multivalue properties) and it would be great if at some stage I could switch over to the new SM extension. Thanks, Gu Quoting jeroen De Dauw jeroen_ded...@yahoo.com: Although the third option is entirely possible, and probably will work just as well as when placing the form inputs to SM or SRF, I really doubt this is good practice. It's kind of just throwing the code into one of the extension's dependencies, which has quite frankly nothing do do with the code, and then not bothering it any further since the code gets loaded where it's needed. So I'd go only for this approach as a last resort. I also wouldn't let the fact that this is ANOTHER extension affect any design decisions. After all, there already are a lot, so one more won't hurt. Furthermore, Maps and Semantic Maps are in themselves bundling quite some functionality (just look at how many map related extensions there are out there), and so actually reducing the number of relevant extensions to choose from. And when ready, I suppose it can be added to Semantic Bundle and replace SGM and GG that are currenly in it. One more point for keeping SM seperate is that in the future functionallity that is not suited to be in SRF might be added. If the code is in SRF, that can hamper the developement of such code, since it'l then be more difficult to get SM seperate again. Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! From: Sergey Chernyshev sergey.chernys...@gmail.com To: Yaron Koren yaro...@gmail.com Cc: mar...@semantic-mediawiki.org; semediawiki-devel@lists.sourceforge.net; jeroen De Dauw jeroen_ded...@yahoo.com Sent: Thursday, July 16, 2009 4:54:40 PM Subject: Re: [SMW-devel] Maps and Semantic Maps Actually, third options is OK - it just tells the system that if SF is enabled, here's additional functionality for it. This way, it can be SRF + Maps and that's it, right? Do you think there will be other feature in the future that can go into Semantic Maps that will go beyond being either part of Maps or SRF? If not, then making it just Maps + SRF might be a good idea - this will definitely will increase distribution. After all, how many Semantic * extensions can we have? ;) Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Thu, Jul 16, 2009 at 10:47 AM, Yaron Koren yaro...@gmail.com wrote: Let me first comment that I don't think translation/internationalization is an issue either way - translatewiki.net already handles dozens of extensions, and more are always being added; for them to add another extension to the set is trivial, and the translators do an excellent job of taking care of new values, regardless of which extension they came from. I think perhaps it comes down to a philosophical issue of whether the Semantic Result Formats extension is meant to contain all formats not defined in SMW; or whether it's just a utility extension. The 'calendar' format in SRF already breaks the rules somewhat by defining new parser functions in addition to just a format; but form inputs seem to go beyond that, in that they're not tied in with querying at all. I should note that there's a third option, which is to move the form inputs into the Maps extension: after all, they're just a hook, and people who aren't using SMW/SF can ignore the code. It's probably not a good idea, but I wanted to throw that out there. -Yaron On Thu, Jul 16, 2009 at 9:31 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On Donnerstag, 16. Juli 2009, jeroen De Dauw wrote: Hey, After my GSoC project ends, I will remain active in the community, continue to support both extensions, and very probably continue on improving them. To what extend will ofcourse depend on how much work I'll have at university. Of course. Free software always requires free time. It's already great if there will be some amount of continued bug fixing and basic maintenance. When released, both extensions will have roughly the same size as they have now. Maps is by far the largest, couse it contains the Open Layers API. Semantic Maps will be pretty small, and should therefore not form any problem when putting the code into SRF. So, as I see it, there are two advantages to ading the SM code to SRF: easier to distribute and a bigger user base. + slightly easier translation/internationalisation since you
Re: [SMW-devel] Maps and Semantic Maps
Sorry, what do you mean by this? I don't think I understood it. 2009/7/16 zehet...@molgen.mpg.de Just to add my 0.2 cent - it would be nice if the new Map+Semantic Map extensions could be used in a similar independent way as the existing Semantic Google Maps extension (which should be replaced by SM if I see that correctly). I use an extended version of the Semantic Google Maps extension (which I need to deal with values in geo-coded multivalue properties) and it would be great if at some stage I could switch over to the new SM extension. Thanks, Gu -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Maps and Semantic Maps
Hey all, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. I'm working on a map extension for Semantic MediaWiki with Yaron Koren as mentor. During the last 2 months I've been working on this extension (which has actually split into 2 seperate extensions: Maps and Semantic Maps - click the links for more info about either extension), and I'm reaching the final stage before the first release. I'd like to get some feedback on the code and overall structure of the extensions before I continue, to ensure no mayor design flaws are present. You can get the code for both extensions here. Note that this code is still purely dev material, and should NOT be used in a production environment. One of the big questions about the Semantic Maps code is if it should just be added to Semantic Result Formats or remain separate. What are your opinions about this? Any feedback is welcome. For those who are wondering, if no mayor flaws are found, both extensions will probably be released in a one or two week time frame. (I'm posting updates on my blog.) Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps
Great news, Jaroen! It's great to see that Mapping becomes more of the generic solution. I have a few suggestions though: Maps: - I think default mapping service should be configurable through the LocalSettings.php using some global variable. - Mapping services available to the users should also be configurable as an array of available services. - it's probably a good idea to remove (or make optional) primary parameter name - coordinates for display_point and address for display_address. This way default calls can be abbreviated to *{{#display_point:55.7557860, 37.6176330}}* and *{{#display_address:Moscow, Russia}}* which should simplify usage significantly. - Also, for map types, I think Yahoo provides all the types Google provides and it's worth adding too (it's probably in your plans anyway) - I'll also recommend adding zoombox definition by boundary coordinates or radius around the points - this might be very useful, but harder to implement. Similar suggestions for the Semantic Maps: - add generic map format that will use default configuration for the Maps extension, e.g. {{#ask:[[Category:Locations]]|?Has coordinates|format=map}} I'm not sure if moving Semantic Maps as a whole into SRF is necessarily a good idea as it adds some functionality to Semantic Forms and therefore has it as prerequisite - it might be reasonable to move map display code to SRF, but then it's not clear if having forms code separately in another extension is viable. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 15, 2009 at 10:51 AM, jeroen De Dauw jeroen_ded...@yahoo.comwrote: Hey all, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. I'm working on a map extension for Semantic MediaWikihttp://semantic-mediawiki.org/wiki/Semantic_MediaWikiwith Yaron Koren http://yaronkoren.com/ as mentor. During the last 2 months I've been working on this extension (which has actually split into 2 seperate extensions: Mapshttp://www.mediawiki.org/wiki/Extension:Mapsand Semantic Maps http://www.mediawiki.org/wiki/Extension:Semantic_Maps - click the links for more info about either extension), and I'm reaching the final stage before the first release. I'd like to get some feedback on the code and overall structure of the extensions before I continue, to ensure no mayor design flaws are present. You can get the code for both extensions herehttp://ext.bn2vs.com/mw-map-extensionz.zip. Note that this code is still purely dev material, and should NOT be used in a production environment. One of the big questions about the Semantic Maps code is if it should just be added to Semantic Result Formats or remain separate. What are your opinions about this? Any feedback is welcome. For those who are wondering, if no mayor flaws are found, both extensions will probably be released in a one or two week time frame. (I'm posting updates http://blog.bn2vs.com/tag/semantic-maps/ on my blog.) Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code http://code.bn2vs.com.bn2vs.com http://code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps
On Mittwoch, 15. Juli 2009, Sergey Chernyshev wrote: Great news, Jaroen! It's great to see that Mapping becomes more of the generic solution. +1, having a single (semantic) mapping extension is certainly a worthy goal. Including this (the semantic part) into SRF would be useful if the required code is not overly large. This would simplify distribution and increase the user base, I believe. It would also let you use SRF's translatewiki.net account for internationalization. SRF can also include experimental software, but it is of course desirable that somebody is in charge of maintaining each component. Are you supporting this code after the GSoC time ends, or is someone else expected to take over? Regards, Markus P.S. Our public online emails archives do (for security reasons) only show plain text versions of emails, but the plain text part of your email contains no hints that you included hyperlinks (bad HTML serializer ...). It would thus be useful to include URLs explicitly (using [1] style footnotes for long URLs), so that people browsing mails online can also access them. I guess this also applies to subscribers who use email digests or text-only email clients. P.P.S. This said, here are the relevant links: * Maps: http://www.mediawiki.org/wiki/Extension:Maps * Sem' Maps: http://www.mediawiki.org/wiki/Extension:Semantic_Maps * Source code: http://ext.bn2vs.com/mw-map-extensionz.zip * Updates on Jeroen's blog: http://blog.bn2vs.com/tag/semantic-maps/ I have a few suggestions though: Maps: - I think default mapping service should be configurable through the LocalSettings.php using some global variable. - Mapping services available to the users should also be configurable as an array of available services. - it's probably a good idea to remove (or make optional) primary parameter name - coordinates for display_point and address for display_address. This way default calls can be abbreviated to *{{#display_point:55.7557860, 37.6176330}}* and *{{#display_address:Moscow, Russia}}* which should simplify usage significantly. - Also, for map types, I think Yahoo provides all the types Google provides and it's worth adding too (it's probably in your plans anyway) - I'll also recommend adding zoombox definition by boundary coordinates or radius around the points - this might be very useful, but harder to implement. Similar suggestions for the Semantic Maps: - add generic map format that will use default configuration for the Maps extension, e.g. {{#ask:[[Category:Locations]]|?Has coordinates|format=map}} I'm not sure if moving Semantic Maps as a whole into SRF is necessarily a good idea as it adds some functionality to Semantic Forms and therefore has it as prerequisite - it might be reasonable to move map display code to SRF, but then it's not clear if having forms code separately in another extension is viable. Thank you, Sergey -- Sergey Chernyshev http://www.sergeychernyshev.com/ On Wed, Jul 15, 2009 at 10:51 AM, jeroen De Dauw jeroen_ded...@yahoo.comwrote: Hey all, First of all, let me introduce myself. I'm Jeroen De Dauw, one of the GSoC students for Wikimedia foundation this year. I'm working on a map extension for Semantic MediaWikihttp://semantic-mediawiki.org/wiki/Semantic_MediaWikiwith Yaron Koren http://yaronkoren.com/ as mentor. During the last 2 months I've been working on this extension (which has actually split into 2 seperate extensions: Mapshttp://www.mediawiki.org/wiki/Extension:Mapsand Semantic Maps http://www.mediawiki.org/wiki/Extension:Semantic_Maps - click the links for more info about either extension), and I'm reaching the final stage before the first release. I'd like to get some feedback on the code and overall structure of the extensions before I continue, to ensure no mayor design flaws are present. You can get the code for both extensions herehttp://ext.bn2vs.com/mw-map-extensionz.zip. Note that this code is still purely dev material, and should NOT be used in a production environment. One of the big questions about the Semantic Maps code is if it should just be added to Semantic Result Formats or remain separate. What are your opinions about this? Any feedback is welcome. For those who are wondering, if no mayor flaws are found, both extensions will probably be released in a one or two week time frame. (I'm posting updates http://blog.bn2vs.com/tag/semantic-maps/ on my blog.) Cheers, De Dauw '[RTS]BN+VS*' Jeroen Forum: code http://code.bn2vs.com.bn2vs.com http://code.bn2vs.com Blog: blog.bn2vs.com Xfire: bn2vs ; Skype: rts.bn.vs Don't panic. Don't be evil. 70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65! - - Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000