[Wikidata-bugs] [Maniphest] [Updated] T115481: [Task] Set type parameter for GeoData coordinates in Wikibase

2015-11-03 Thread JanZerebecki
JanZerebecki added a blocking task: T117542: find out from requests logs how 
type or dim from GeoData api are used.

TASK DETAIL
  https://phabricator.wikimedia.org/T115481

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JanZerebecki
Cc: MaxSem, Lydia_Pintscher, daniel, Ricordisamoa, JanZerebecki, aude, 
Aklapper, Wikidata-bugs



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T115481: [Task] Set type parameter for GeoData coordinates in Wikibase

2015-10-29 Thread aude
aude removed a blocked task: T112531: [Story] see items around me 
(Special:Nearby).

TASK DETAIL
  https://phabricator.wikimedia.org/T115481

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aude
Cc: MaxSem, Lydia_Pintscher, daniel, Ricordisamoa, JanZerebecki, aude, 
Aklapper, Wikidata-bugs



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T115481: [Task] Set type parameter for GeoData coordinates in Wikibase

2015-10-15 Thread aude
aude added a comment.

thought about this a bit...

I think the best solution is to propose (and have) a property for "GeoData 
type", based on existing classification generally used by the parser function 
for wikipedia coordinates:

https://www.mediawiki.org/wiki/Extension:GeoData#Parser_function

I'm not so enthusiastic about having some magic to infer type.  I am sure bots 
(including mine, if needed) could quickly import / populate the types.

then, there are default dim values based on types:

$wgTypeToDim = array(

  'country'=> 100,  
  
  'satellite'  => 100,  
  
  'state'  => 30,   
  
  'adm1st' => 10,   
  
  'adm2nd' => 3,
  
  'adm3rd' => 1,
  
  'city'   => 1,
  
  'isle'   => 1,
  
  'mountain'   => 1,
  
  'river'  => 1,
  
  'waterbody'  => 1,
  
  'event'  => 5000, 
  
  'forest' => 5000, 
  
  'glacier'=> 5000, 
  
  'airport'=> 3000, 
  
  'railwaystation' => 1000, 
  
  'edu'=> 1000, 
  
  'pass'   => 1000, 
  
  'camera' => 1000, 
  
  'landmark'   => 1000, 
  

);

We could possibly supplement this with using the area (and length) property 
values, when available.

We could also potentially populate the country column for coordinates from P17.

For using geodata for rendering map features, I'd also want to know about 
https://phabricator.wikimedia.org/P31 (instanceof), subclass and population, 
though not sure yet where I'd store them and think it's out of scope for now.


TASK DETAIL
  https://phabricator.wikimedia.org/T115481

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: aude
Cc: aude, Aklapper, Wikidata-bugs



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T115481: [Task] Set type parameter for GeoData coordinates in Wikibase

2015-10-15 Thread JanZerebecki
JanZerebecki added a subscriber: JanZerebecki.
JanZerebecki added a comment.

In https://phabricator.wikimedia.org/T75482#1727589, @aude wrote:

> @JanZerebecki type would potentially be used as a consideration for filtering 
> and rendering map features at various zoom levels


Only potentially? So it is not used yet?


TASK DETAIL
  https://phabricator.wikimedia.org/T115481

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JanZerebecki
Cc: JanZerebecki, aude, Aklapper, Wikidata-bugs



___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs