overlays

How to copy /var/lib/docker with overlayfs directory structure with data *as-is* without increasing the storage space

不想你离开。 提交于 2019-12-07 02:10:27
问题 I have a docker installation with several images and about 150Gigs of data in /var/lib/docker . This setup uses overlayfs as its storage driver. There are several directories for each layer under /var/lib/docker/overlay holding the actual data. The partition size is 160G. My requirement is to copy the the docker directory from /var/lib/docker to a new disk of 1TB, so that I point docker to start from this new partition and continue to use my old images. Now the problem is, when I use an rsync

How to copy /var/lib/docker with overlayfs directory structure with data *as-is* without increasing the storage space

妖精的绣舞 提交于 2019-12-05 09:30:43
I have a docker installation with several images and about 150Gigs of data in /var/lib/docker . This setup uses overlayfs as its storage driver. There are several directories for each layer under /var/lib/docker/overlay holding the actual data. The partition size is 160G. My requirement is to copy the the docker directory from /var/lib/docker to a new disk of 1TB, so that I point docker to start from this new partition and continue to use my old images. Now the problem is, when I use an rsync or a cp command with -a , to copy /var/lib/docker to new partition, instead of a total of 150G actual

Ground Overlay with Transparency

懵懂的女人 提交于 2019-12-05 09:10:15
I have an online map that contains a ground-overlay image, and would like to make the image semi-transparent so that the base map will show through. Is it possible to add a transparency value to this overlay? http://www.tpwd.state.tx.us/fishboat/fish/recreational/lakes/ingulf1c.phtml Here's the code for the ground overlay: var imageBounds = new google.maps.LatLngBounds( new google.maps.LatLng(25.71438633861514, -98.33555959121725), new google.maps.LatLng(30.40813339247205, -93.57953893270167)); function initialize() { var map = new google.maps.Map(document.getElementById("map"), { center: new

Changing text appearance in Emacs: overlays work, text properties don't

孤街浪徒 提交于 2019-12-05 04:04:38
I've been experimenting today with text properties in Emacs. If I position the cursor on a line with some text on it and then execute the following code with M-: , the line is redisplayed in bold. (overlay-put (make-overlay (line-beginning-position) (line-end-position)) 'face 'bold) If, however, I wipe out the overlay with (remove-overlays) and execute the following code, nothing happens (except that the word "nil" appears in the minibuffer). (put-text-property (line-beginning-position) (line-end-position) 'face 'bold) From what I've gleaned so far, I'd expect that these two snippets should

Free DICOM files, with Multiple Overlays

蹲街弑〆低调 提交于 2019-12-04 16:39:46
I'm in need of some sample DICOM files that I can use to test out multiple overlays. I have looked everywhere, maybe i'm not searching for the right thing idk, but could anybody help me with this?? The real reason I want the DICOM files is to better understand the Overlays data structure hands on... I need to examine the files. Links to sites would be appreciated. This link answered my question for the most part as I needed to just understand something about overlay grouping. http://www.medicalconnections.co.uk/wiki/Number_of_Overlays_in_Image 来源: https://stackoverflow.com/questions/4939364

Google Maps Overlays

£可爱£侵袭症+ 提交于 2019-12-04 09:51:27
问题 I'm trying to find something, preferably F/OSS, that can generate a Google Maps overlay from KML and/or KMZ data. We've got an event site we're working on that needed to accommodate ~16,000 place markers last year and will likely have at least that many again this year. Last year, the company that had done the site just fed the KML data directly to the gMaps API and let it place all of the markers client side. Obviously, that became a performance nightmare and tended to make older browsers

Google Maps Overlays

末鹿安然 提交于 2019-12-03 03:21:08
I'm trying to find something, preferably F/OSS, that can generate a Google Maps overlay from KML and/or KMZ data. We've got an event site we're working on that needed to accommodate ~16,000 place markers last year and will likely have at least that many again this year. Last year, the company that had done the site just fed the KML data directly to the gMaps API and let it place all of the markers client side. Obviously, that became a performance nightmare and tended to make older browsers "freeze" (or at least appear frozen for several minutes at a time). Ideally this server side script would

Exception when zooming with overlays on MKMapView: NSInvalidArgumentException NSSetM removeObject: object cannot be nil

六月ゝ 毕业季﹏ 提交于 2019-12-02 20:56:32
I am adding around 1000 MKPolygon s onto an MKMapView . After adding the overlays onto the MKMapView it works fine. However if I zoom in and zoom out quickly (occasionally letting go of the zoom so the mapView processes it's new visibleMapRect ) I find the app (sometimes) crashes with the following exception stack trace: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSSetM removeObject:]: object cannot be nil' *** First throw call stack: ( 0 CoreFoundation 0x0000000107db6b0b __exceptionPreprocess + 171 1 libobjc.A.dylib 0x000000010781b141 objc

Android MapView overlay disappearing when zooming in

做~自己de王妃 提交于 2019-12-02 14:53:17
问题 I'm working on a simple Android app for plotting routes on a map. All is going well, but I have an issue when zooming in on my Samsung Galaxy S2. It works fine on a Galaxy S3, so I'm wondering whether it's related to memory management on the lower specced device. It also works fine on the emulator. Here is equivalent code located in the overlays onDraw method, just condensed for posting here: Point current = new Point(); Path path = new Path(); Projection projection = mapView.getProjection();

Android MapView overlay disappearing when zooming in

对着背影说爱祢 提交于 2019-12-02 04:36:40
I'm working on a simple Android app for plotting routes on a map. All is going well, but I have an issue when zooming in on my Samsung Galaxy S2. It works fine on a Galaxy S3, so I'm wondering whether it's related to memory management on the lower specced device. It also works fine on the emulator. Here is equivalent code located in the overlays onDraw method, just condensed for posting here: Point current = new Point(); Path path = new Path(); Projection projection = mapView.getProjection(); Iterator<GeoPoint> iterator = pointList.iterator(); if (iterator.hasNext()) { projection.toPixels