Re: [Qgis-developer] Unicode type QGIS_RELEASE_NAME and QGIS_VERSION

2016-07-12 Thread Minoru Akagi
Hi, 2016-07-12 16:59 GMT+09:00 Akbar Gumbira : > 2016-07-12 16:35 GMT+09:00 Matthias Kuhn : >> As a general rule of thumb: don't cast to other types if there is no >> requirement, that will help to prevent such issues and make the upcoming >> upgrade

[Qgis-developer] Unicode type QGIS_RELEASE_NAME and QGIS_VERSION

2016-07-11 Thread Minoru Akagi
Hi, Just a quick note for python plugin devs. I received an error report related to QGis.QGIS_VERSION constant [1]. In QGIS 2.16, QGis.GIS_RELEASE_NAME and QGis.QGIS_VERSION constants have been changed to unicode type. I guess that the change is necessary for unicode release name support. With

Re: [Qgis-developer] QgsPluginLayer.writeStyle() must be overridden?

2016-07-06 Thread Minoru Akagi
Hi Nathan and devs, I've updated my installation (to cdf82a2), and the error has gone away. Great! Many thanks, Minoru 2016-07-07 14:09 GMT+09:00 Minoru Akagi <akagi...@gmail.com>: > Hi Nathan, > > 2016-07-07 14:03 GMT+09:00 Nathan Woodrow <madman...@gmail.com&g

Re: [Qgis-developer] QgsPluginLayer.writeStyle() must be overridden?

2016-07-06 Thread Minoru Akagi
Hi Nathan, 2016-07-07 14:03 GMT+09:00 Nathan Woodrow <madman...@gmail.com>: > Hi, > > What is the version you are running. I think that was patched by Martin at > one stage. Revision is 6035f19. Trying to update the qgis-dev package. Thanks, Minoru > On Thu, Jul 7, 20

[Qgis-developer] QgsPluginLayer.writeStyle() must be overridden?

2016-07-06 Thread Minoru Akagi
Hi devs, I'm looking forward to the next wonderful release, and now testing TileLayerPlugin with qgis-dev (OSGeo4W64), I sometimes encounter the following error message while loading a project with a plugin layer. NotImplementedError: QgsPluginLayer.writeStyle() is abstract and must be

Re: [Qgis-developer] Qgis2threejs error?

2016-05-02 Thread Minoru Akagi
Hello Paolo, Please try going to http://get.webgl.org/ and check if your web browser supports WebGL. Regards, Minoru 2016-05-02 19:19 GMT+09:00 Paolo Cavallini : > Hi all, > I'm geting a blank page when trying to display the results. There is an > error: > >

Re: [Qgis-developer] 2.5D rendering crowdfunding

2015-11-03 Thread Minoru Akagi
Hi Paolo, My plan is just to make interactive preview using Qt5 QWebView. Continue to use JavaScript and three.js library. Regards, Minoru 2015-11-04 3:48 GMT+09:00 Paolo Cavallini : > Hi all, > regarding: >

[Qgis-developer] Geometry type conversion of 2.6

2014-11-11 Thread Minoru Akagi
Hi, I just found size of .shp file increases more than twice (2900 bytes - 6500 bytes when it has 100 points) when I saved a point layer as a shapefile. I didn't edit the layer anything, but the geometry type was converted from Point to Multipoint. Maybe this must not expected behavior. Is this

Re: [Qgis-developer] qgis2threejs issue

2014-11-09 Thread Minoru Akagi
Hi Paolo, 2014-10-31 18:22 GMT+09:00 Paolo Cavallini cavall...@faunalia.it: Il 31/10/2014 09:58, Minoru Akagi ha scritto: You need to take some steps. Do not change view extent of map canvas while these steps: 1. save the map canvas as a PNG image. 2. set the background color as PNG

Re: [Qgis-developer] qgis2threejs issue

2014-10-31 Thread Minoru Akagi
2014-10-31 16:36 GMT+09:00 Paolo Cavallini cavall...@faunalia.it: Il 31/10/2014 04:12, Minoru Akagi ha scritto: just tested with OrbitControls, and I still can rotate the plane below the surface, which does not seem appropriate to me. It may be possible to add an option to limit rotation

Re: [Qgis-developer] qgis2threejs issue

2014-10-30 Thread Minoru Akagi
Hi Paolo, 2014-10-29 19:12 GMT+09:00 Paolo Cavallini cavall...@faunalia.it: Il 28/10/2014 09:36, Minoru Akagi ha scritto: Since the last used control is saved, I did not consider it carefully. Now it's ok to change the default controls to OrbitControls, which has more functions (e.g. arrow

Re: [Qgis-developer] [Qgis-tr] size of translations, use a distinct repo?

2014-10-30 Thread Minoru Akagi
Hi, 2014-10-31 1:12 GMT+09:00 Werner Macho werner.ma...@gmail.com: Other thing is that I think about only updating all translations in source only every two weeks (or probably only in front of a release) as the translation should be done in transifex anyway. And only updating the english

Re: [Qgis-developer] qgis2threejs issue

2014-10-28 Thread Minoru Akagi
Hi Paolo, 2014-10-28 3:45 GMT+09:00 Paolo Cavallini cavall...@faunalia.it: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 27/10/2014 19:24, doktoreas ha scritto: you need to set control to OrbitControls. Oh, I see, thanks. Why it is not the default? Since the last used control is

Re: [Qgis-developer] symbolForFeature() does not works?

2014-07-03 Thread Minoru Akagi
Hi Alexander, 2014-07-04 0:53 GMT+09:00 Alexander Bruy alexander.b...@gmail.com: Hi all, seems symbolForFeature() method does not works as expected for most renderers: * QgsSingleSymbolRendererV2 — returns feature symbol * QgsCategorizedSymbolRendererV2 — returns None and in debug output

Re: [Qgis-developer] Updating qgis2threejs

2014-03-20 Thread Minoru Akagi
Hi Anita and all, 2014-03-16 16:58 GMT+09:00 Anita Graser anitagra...@gmx.at: Does the data-defined size feature for vector features work for you? I tried to create spheres with data-defined radius but they were always gigantic - no matter which factor I tried to use as a multiplier. It works

Re: [Qgis-developer] QGis2threejs digitize example

2014-02-11 Thread Minoru Akagi
Hi Roberto, What can be the reason ? One vertex of the underlying quadrangle has duplicate points. Minoru 2014-02-12 0:03 GMT+09:00 Geo DrinX geodr...@gmail.com: Hi Minoru, look at this example I created: https://googledrive.com/host/0Bwg_m86uaXY1RDRrVXpnT2JoV2c/index.html as you can

Re: [Qgis-developer] About temp directory

2014-01-25 Thread Minoru Akagi
Hi Roberto, you asked me if I had some reason to define my GEarthView temp directory inside the plugin. Well, now I found the reason ok, thanks. In case of processing plugin, by default, temporary outputs are put into a directory that QDir.tempPath() returns [1]. Qgis2threejs is following

Re: [Qgis-developer] About temp directory

2014-01-25 Thread Minoru Akagi
(Processing has an option to change temporary output directory). I'm sorry. This was not correct. The option is not for temporary files but for filename without path [1]. [1] http://lists.osgeo.org/pipermail/qgis-user/2013-November/024855.html Minoru 2014-01-26 Minoru Akagi akagi...@gmail.com

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Minoru Akagi
Hi Roberto, 2014/1/20 Geo DrinX geodr...@gmail.com: I have some other suggestion :) I am testing with more than one image and DTM files. I find that, in this case, it would be useful to have an automatic selector of the DTM or DSM layer (I don't know how, but, for example, it could be

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-20 Thread Minoru Akagi
Hi, 2014/1/21 Geodrinx geodr...@gmail.com: if there are more than one DTM_ layers, it could be possible to have together clipped in the output ? Or, only one is possible to have ? Only one. You should merge DTM files into one in advance or make use of vrt file. If I well understand

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-19 Thread Minoru Akagi
Hi Roberto, Is your python webbrowser module overlapped by something? For example, you have a plugin named webbrowser ? : ) Otherwise, please try to set browser path in the setting dialog. Regards, Minoru 2014/1/18 Geo DrinX geodr...@gmail.com: Hi Minoru , I taken QGis2threejs now from

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-18 Thread Minoru Akagi
Do you know other/better solutions then raycasting? Maybe through shaders? I don't know... Minoru 2014/1/17 G. Allegri gioha...@gmail.com: Hi Minoru, I have another question for you :) I'm dong some tests to apply vector draping on top of the PlanarGeometry, i.e. positioning vector

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-16 Thread Minoru Akagi
Hi Roberto, The way of getting elevation values from 3 or 4 bands image data seems a little strange. AFAIK, at least it is not common, and WCS is a more ordinary way to get elevation data through internet access. Using QGIS API (QgsRasterDataProvider) in addition to GDAL API to support more data

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-07 Thread Minoru Akagi
2014/1/8 Etienne Trimaille etienne.trimai...@gmail.com: 2014/1/2 Minoru Akagi akagi...@gmail.com: It seems that 3D html model has exagerated height. True ? Yes, it is exaggerated (x 1.5) currently. Can we set the value in the form ? For me, it's not enough :) You can do it with latest

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-03 Thread Minoru Akagi
Hi gene, I'm sorry for the inconvenience, and thank you for your concrete report. I've changed the plugin code to do DEM warp with gdal.ReprojectImage instead of gdalwarp program to store warped DEM data in memory raster, so it may work in also Mac OS X, I guess. I will also fix the other issue.

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Minoru Akagi
2014/1/2 Geo DrinX geodr...@gmail.com: Minoru, Other argument: in this image, on the left you can see GoogleEarth, and on the right the threejs.html : https://drive.google.com/file/d/0Bwg_m86uaXY1QVVGVnJmMlBfOEk/edit?usp=sharing It seems that 3D html model has exagerated height. True ?

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-02 Thread Minoru Akagi
Hi Roberto, Happy new year to you, too. : ) 2014/1/2 Geo DrinX geodr...@gmail.com: before all, happy new year :) Then, with the new year, I had an idea: what do you think of a QT window inside QGIS, which displays the 3D html page ? Could it be doable ? Do you have just tested ?

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Minoru Akagi
Hi Roberto, Thank you for your suggestions. 2013/12/31 Geo DrinX geodr...@gmail.com: The only thing that I find to be improved is the fact that it opens a new web page, and that is opened in QGis an information panel on which (if any) choose the DEM layer. For me, the panel should be

Re: [Qgis-developer] Qgis2threejs suggestions...

2013-12-31 Thread Minoru Akagi
Hi Paolo, Can you view a sample page linked from README [1]? WebGL support is required. A list of browsers that support WebGL is on Wikipedia page [2]. Regards, Minoru [1] https://dl.dropboxusercontent.com/u/21526091/qgis-plugins/samples/threejs/mt_fuji.html [2]

Re: [Qgis-developer] Plugin [412] Qgis2threejs approval notification.

2013-12-23 Thread Minoru Akagi
Recently some 3D maps using WebGL were released [1][2](in Japanese). They inspired me to make this plugin. Enjoy! Minoru [1] Topographic maps of the moon http://gisstar.gsi.go.jp/selene/ [2] Eruption of Nishinoshima (GSI Maps)

Re: [Qgis-developer] Plugin [400] TileLayer Plugin approval notification.

2013-12-02 Thread Minoru Akagi
Hi Andre, 2013/12/1 Andre Joost andre+jo...@nurfuerspam.de: Unfortunately,it does not work with the qgis dev version. It claims to require EPSG:3857 (which my project has), but maybe gets disturbed by the new datumshift selection of QGIS 2.1.0. I've fixed it, and I'll update the plugin within

Re: [Qgis-developer] OGR SQL encoding problems

2013-08-06 Thread Minoru Akagi
Hi Marco, 2013/8/7 Marco Hugentobler marco.hugentob...@sourcepole.ch: Btw., I noticed that creating new attributes with non-latin characters does not work. It however seems to work with utf-8 encoded shapes. Is it a dbf limitation or a QGIS bug? I guess it's a GDAL issue but, fortunately, it

Re: [Qgis-developer] QGIS QgsVectorFileWriter

2013-07-31 Thread Minoru Akagi
Hi, I guess that the 3rd argument (fields) should be a QgsFields object. You can create it like this. fields = QgsFields() fields.append( QgsField( id, QVariant.Int ) ) fields.append( QgsField( desc, QVariant.String ) ) Cheers, Minoru 2013/7/31 Bjorn Nyberg bjorn.burr.nyb...@gmail.com: I have

[Qgis-developer] OGR SQL encoding problems

2013-07-31 Thread Minoru Akagi
Hi, Problems on this topic have been reported several times. - OGR SQL: REPACK fails if filename includes non-ascii characters, http://hub.qgis.org/issues/8391 - Fail create a spatial index with shape file that contain Japanese in the file name, http://hub.qgis.org/issues/7794 - Points are

Re: [Qgis-developer] Spatial Join error

2013-07-05 Thread Minoru Akagi
Hi, I reported this error to http://hub.qgis.org/issues/8206. It has already been fixed. Minoru 2013/7/6 Sanghee Shin endof...@gmail.com: Hi, If this report is repeated one, sorry for that. I got this error message when I tried to do spatial join. I used latest weekly master version on

Re: [Qgis-developer] Adding a feature to a layer with joined fields

2013-05-30 Thread Minoru Akagi
Hi, 2013/5/30 Denis Rouzaud denis.rouz...@gmail.com: Hi all, Regarding blocker #7072, I wonder if it really makes sense to have joined fields than can be filled by the user in the edit form while creating a feature. These fields should not be edited at all. I would suggest not to show them

Re: [Qgis-developer] Is there anybody interested whether QGIS 2.0 will support non-Latin1 Shapefiles?

2013-04-25 Thread Minoru Akagi
conversion failure with current encoding listbox. I also added Shift-JIS to the Shapefile Encoding Fixer plugin. Please let me know if any of you needs (or just knows) another important encodings. Thank you for your work on the plugin. Regards, Minoru Akagi

Re: [Qgis-developer] Possible memory leak in rendering code

2013-04-22 Thread Minoru Akagi
Hi, I found some memory leaks and attached a patch to ticket #6795. Regards, Minoru Akagi 2013/4/22 Matthias Kuhn matthias.k...@gmx.ch: Hi Alex, I found in the past particularly two things making the rendering more stable: * Disable Render Cache * Enable Backbuffer (only availale in X11

Re: [Qgis-developer] again on encoding problems

2012-10-26 Thread Minoru Akagi
Paolo Cavallini wrote Il 26/10/2012 14:25, Minoru Akagi ha scritto: Hi, In Japanese Windows environment, GRASS commands output xml text of interface description that begins with the following line. ?xml version=1.0 encoding=CP932? CP932 is the system default encoding of Japanese Windows