[Qgis-developer] qgis-webclient - sample data > 200M

Otto Dassau dassau at gbd-consult.de
Wed Jul 10 04:07:27 PDT 2013


Hi,

thanks for the link. Here is the content in short:

"GitHub warns you when you push a file larger than 50 MB. We'll reject pushes
containing files larger than 100 MB. We do this for a few reasons."

To fix the problem, you'll first want to remove the large file from git:

# Stage our giant file for removal, but leave it on disk
git rm --cached giant_file

# Amend the previous commit with your change
# Simply making a new commit won't work, as you need to remove the file from
# the # unpushed history as well
git commit --amend -CHEAD

# Push our rewritten, smaller commit
git push

I can do that and apply the smaller, resampled files, if that's ok.

Regards
Otto

Am Wed, 10 Jul 2013 12:50:45 +0200
schrieb Tim Sutton <lists at linfiniti.com>:

> Hi
> 
> I know gh recently reduced their maximum hosted file size - see
> 
> https://help.github.com/articles/working-with-large-files
> 
> 
> Regards
> 
> Tim
> 
> 
> On Wed, Jul 10, 2013 at 12:30 PM, Otto Dassau <dassau at gbd-consult.de>
> wrote:
> 
> > Hi Andreas,
> >
> > for 50M to 100M you get a warning, but the HYP_50M_SR_W.tif is 166.94 MB
> > and
> > that's too much. For both files I resampled output files from 0.03 to
> > 0.08 degree
> > pixel resolution. That is 4500 x 2250 instead of 10800, 5400 pixel. Still
> > sufficient I think.
> >
> > Both would now be below 50M of size. Is that ok? Then I would commit the
> > changes.
> >
> > Regards
> > Otto
> >
> > Am Wed, 10 Jul 2013 12:09:47 +0200 schrieb Andreas Neumann
> > <a.neumann at carto.net>:
> >
> > > Hi Otto,
> > >
> > > Thank you for pointing this out. Isn't this just a warning?
> > >
> > > If you have a good test project with smaller data to share I am happy
> > > to replace it with a smaller project.
> > >
> > > I just did not have the time to work on the sample project.
> > >
> > > Anyway - the file could be checked out by hand or it can just be
> > > ignored.
> > >
> > > Andreas
> > >
> > > Am 10.07.2013 11:49, schrieb Otto Dassau:
> > > > Hi,
> > > >
> > > > I just wanted to update my fork of the qgis-web-client from master
> > > > and found following error message:
> > > >
> > > > Total 64 (delta 45), reused 0 (delta 0)
> > > > remote: Error code: 5e0226a6eeb7f2d80768c4e7996297dc
> > > > remote: warning: Error GH413: Large files detected.
> > > > remote: warning: See http://git.io/iEPt8g for more information.
> > > > remote: warning: File data/SR_50M.tif is 55.70 MB; this is larger
> > > > than GitHub's recommended maximum file size of 50 MB remote: error:
> > > > File data/HYP_50M_SR_W.tif is 166.94 MB; this exceeds GitHub's file
> > > > size limit of 100 MB
> > > >
> > > > Can I tell github to change the accepted file size or would it be
> > > > possible to use smaller test data?
> > > >
> > > > 167M - HYP_50M_SR_W.tif
> > > > 56M  - SR_50M.tif
> > > >
> > > > Regards
> > > > Otto
> > > >
> > > > _______________________________________________
> > > > Qgis-developer mailing list
> > > > Qgis-developer at lists.osgeo.org
> > > > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> > > >
> > >
> > > _______________________________________________
> > > Qgis-developer mailing list
> > > Qgis-developer at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> >
> > --
> > Geoinformatik Büro Dassau - http://www.gbd-consult.de
> > FOSSGIS consulting , training , support  and analysis
> > Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
> > Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540
> >
> > --
> > Community Advisor - QGIS Project Steering Committee
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> 
> 
> 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee


More information about the Qgis-developer mailing list