ProfessionalWiki / ProfessionalWiki/Maps

Size issues with GeoJSON

Open
#565 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
78
Forks
65
Avg merge
9h 17m
Merged PRs (30d)
6

Description

Setup
  • Maps version: 7.4
  • MW version: 1.31
  • PHP version: 7.1
  • SMW version (if applicable): 3.0.1
Issue

I have tried the GeoSON capabilities of maps and there seem to be size issues:

As GeoJSON files can become very large, putting them as Wikipage in the Geojson: namespace simply will not work. Is there a way to overcome this?

Secondly the parameter geojson= that points to an small file, works, pointint it to a larger file results either in the page not being saved or the page shows an "Unstrip size limit exceeded (5,000,000)" message.

These ones I have tried

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with the three GeoJSON URLs and the Maps 7.4, MediaWiki 1.31, and PHP 7.1 setup described in the issue. Trace how the geojson= parameter and Geojson namespace content are handled, then verify that large inputs no longer trigger the unstrip size warning, fail to save, or produce a blank page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.