Semantic Maps (google maps format) display "curl4" with a blue screen

From semantic-mediawiki.org

Hi, When I try to use Semantic Maps with the following query

{{#ask: [[Category:MyCat]]
| ?Has coordinates
| format=googlemaps
| showtitle=off
| icon=Blue_marker.png
}}

I only see "Curl 4" in the middle of a blue screen. Any idea?

FYI,

  • In Category:MyCat page, I set [[Has display parameters::? Has coordinates;format=googlemaps3| ]]
  • In a page that belongs to MyCat category, I have something like: [[Has coordinates::{{#geocode:New York, NY, USA|geonames|format=float|directional=no }}]]
  • Maps extension is working fine. {{#display_map: ...}} gives me correct map display.
  • I am using the latest MediaWiki (1.21.2), Semantic Bundle (1.8.0.4) with Semantic Maps (2.0.1.2). I did not change the include order(Validator, ..., SMW, ..., SF, ..., Maps, SM, as specified in the installation guide)
  • I googled "Curl 4" but could not find anything related to Semantic Maps.
  • I changed Semantic Maps format from googlemaps to openlayers but still no luck.
  • Thank you very much.

Wikihy (talk) 14:54, 3 November 2013 (CET)

15:54, 3 November 2013

I have not seen this before. Can you look at the page (HTML) source? Is there an error message there, from which you only happen to see the "Curl 4" part when looking at the actual page?

22:21, 24 November 2013

Jeroen, thanks a lot for your reply.

I checked HTML source but no errors found. I then found that "Curl4" is just like "ace lock service inc", which points to somewhere in the ocean near west Africa (0°N, 0°W). I then noticed that my geocode result looks like (1°北, 2°西) instead of (1°N, 2°W). BTW, my site language is Chinese. I then changed the site language to English and Semantic Maps worked fine.

My guess is Geographic coordinate's parser does not support i18n geocode formats, which is totally understandable. I just need to make the geocode result look like (1°N, 2°W) in my wiki. That should be easy.

15:50, 29 November 2013

The PHP library used by Maps 3.0 supports using alternate symbols for the direction labels. So far Maps is not making use of this facility though. https://github.com/DataValues/Geo/blob/master/src/ValueParsers/GeoCoordinateParserBase.php#L42

05:10, 30 November 2013