Re: [Qgis-developer] On-The-Fly CRS Transformation Does Not Apply +no_off Parameter

2013-05-02 Thread Hilmy Hashim
Just did a test using GDAL 1.10.0 on Windows XP. It looks like ogr2ogr is
now giving the correct results with both +no_uoff and +no_off.

Now we'll wait for QGIS to pick up the new GDAL.


On Mon, Apr 29, 2013 at 12:05 AM, Andre Joost andre+jo...@nurfuerspam.dewrote:

 Am 28.04.2013 07:21, schrieb Hilmy Hashim:

 Hello all,


 This query is about a discrepancy between projection results using the
 *Custom
 CRS Test* and *on-the-fly* transformation, and not about RSO per se.



 The Proj4 parameters for GDM2000 / Peninsula RSO (EPSG:3375) as given by
 epsg_tr.py (GDAL 1.9.2) are:

 +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.025796466 +k=0.99984
 +x_0=804671 +y_0=0 +gamma=323.130102361 +ellps=GRS80 +units=m +no_defs

 This Malaysian projection requires the +no_off or *+no_uoff* flag (both

 works) for rotation at the natural origin as of proj 4.8. To test, I
 created a custom CRS based on GDM2000 / Peninsula RSO adding this flag.
 However, there seems to be some discrepancy between the on-the-fly derived
 results and the Test in the Custom CRS definition dialog.


 I set the project CRS as the custom CRS I created and added the test point
 in WGS84.

 Test points: *1.827764875* deg N, *103.64025987* deg E (WGS84
 EPSG:4326)

 Expected results: Northing *202,122.062* m, Easting *627,096.132* m
 (EPSG:3375)

 *The test points and projected coordinates are taken from the GDM2000

 Technical Manual published by the Department of Survey and Mapping
 Malaysia.
 *

 *Test results (standard EPSG:3375)*:


 cs2cs — -240332.04, 958936.71

 QGIS Master (13d35ac) On-the-fly derived: Y = -240,332.0326, X =
 958,936.7057

 QGIS Master (13d35ac) Custom CRS Test:* -240,332.0326* N, *958,936.7057* E


 QGIS 1.8 On-the-fly: projected coordinates not derived

 QGIS 1.8 Custom CRS Test: -240,332.0326 N, 958,936.7057 E

 *Test results (with +no_off flag)*:

 cs2cs — 202122.06,  627096.13

 QGIS Master (13d35ac) On-the-fly derived: Y =* -240,332.0326*, X = *
 958,936.7057*

 QGIS Master (13d35ac) Custom CRS Test: *202,122.0625* N, *627,096.1317* E


 QGIS 1.8 On-the-fly: projected coordinates not derived

 QGIS 1.8 Custom CRS Test: 202,122.0625 N, 627,096.1317 E


 It looks like the Custom CRS Definition Test dialog is giving the correct
 result, but the on-the-fly transformation is ignoring the +no_off flag.


 Is the on-the-fly transformation using a different transformation process
 and reading the proj4 parameters differently, or am I going about this
 wrongly?


 I made some tests with the similar Michigan omerc projections and ran into
 the same problem:
 http://trac.osgeo.org/gdal/**ticket/4910http://trac.osgeo.org/gdal/ticket/4910

 It looks like it is a GDAL problem.

 HTH,
 André Joost

 __**_
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/qgis-**developerhttp://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] On-The-Fly CRS Transformation Does Not Apply +no_off Parameter

2013-04-28 Thread Hilmy Hashim
Ah, so on-the-fly is using ogr2ogr and the custom crs test is just using
cs2cs.


On Mon, Apr 29, 2013 at 12:05 AM, Andre Joost andre+jo...@nurfuerspam.dewrote:

 Am 28.04.2013 07:21, schrieb Hilmy Hashim:

 Hello all,


 This query is about a discrepancy between projection results using the
 *Custom
 CRS Test* and *on-the-fly* transformation, and not about RSO per se.



 The Proj4 parameters for GDM2000 / Peninsula RSO (EPSG:3375) as given by
 epsg_tr.py (GDAL 1.9.2) are:

 +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.025796466 +k=0.99984
 +x_0=804671 +y_0=0 +gamma=323.130102361 +ellps=GRS80 +units=m +no_defs

 This Malaysian projection requires the +no_off or *+no_uoff* flag (both

 works) for rotation at the natural origin as of proj 4.8. To test, I
 created a custom CRS based on GDM2000 / Peninsula RSO adding this flag.
 However, there seems to be some discrepancy between the on-the-fly derived
 results and the Test in the Custom CRS definition dialog.


 I set the project CRS as the custom CRS I created and added the test point
 in WGS84.

 Test points: *1.827764875* deg N, *103.64025987* deg E (WGS84
 EPSG:4326)

 Expected results: Northing *202,122.062* m, Easting *627,096.132* m
 (EPSG:3375)

 *The test points and projected coordinates are taken from the GDM2000

 Technical Manual published by the Department of Survey and Mapping
 Malaysia.
 *

 *Test results (standard EPSG:3375)*:


 cs2cs — -240332.04, 958936.71

 QGIS Master (13d35ac) On-the-fly derived: Y = -240,332.0326, X =
 958,936.7057

 QGIS Master (13d35ac) Custom CRS Test:* -240,332.0326* N, *958,936.7057* E


 QGIS 1.8 On-the-fly: projected coordinates not derived

 QGIS 1.8 Custom CRS Test: -240,332.0326 N, 958,936.7057 E

 *Test results (with +no_off flag)*:

 cs2cs — 202122.06,  627096.13

 QGIS Master (13d35ac) On-the-fly derived: Y =* -240,332.0326*, X = *
 958,936.7057*

 QGIS Master (13d35ac) Custom CRS Test: *202,122.0625* N, *627,096.1317* E


 QGIS 1.8 On-the-fly: projected coordinates not derived

 QGIS 1.8 Custom CRS Test: 202,122.0625 N, 627,096.1317 E


 It looks like the Custom CRS Definition Test dialog is giving the correct
 result, but the on-the-fly transformation is ignoring the +no_off flag.


 Is the on-the-fly transformation using a different transformation process
 and reading the proj4 parameters differently, or am I going about this
 wrongly?


 I made some tests with the similar Michigan omerc projections and ran into
 the same problem:
 http://trac.osgeo.org/gdal/**ticket/4910http://trac.osgeo.org/gdal/ticket/4910

 It looks like it is a GDAL problem.

 HTH,
 André Joost

 __**_
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/qgis-**developerhttp://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Android qgis alpha5

2012-02-17 Thread Hilmy Hashim
I got the same message.  I uninstalled the older version and re-installed
the latest alpha and the install was ok.

*Hilmy*


On Fri, Feb 17, 2012 at 7:50 PM, Andreas Neumann a.neum...@carto.netwrote:

 Hi Marco,

 Thanks for the note - sounds encouraging.

 I have a strange issue with the install. The Master 5 downloads file and
 then installs for a while. At the end I get a message Anwendung nicht
 installiert (application not installed), but with a green checkmark. To
 me the green checkmark looks ok, but why is saying Anwendung nicht
 installiert?

 How can I check if the application is equivalent with master5?

 In the about dialogue I don't get a version number. QGIS code revision
 reports as exported.

 Regarding right-click: where is right click supported? Everywhere where
 it should work (e.g. layer manager) or just for digitizing?

 Thanks,
 Andreas

 On 02/17/2012 11:25 AM, Marco Bernasocchi wrote:
  Hi all yesterday I pushed a new alpha version of qgis for android on
  android.qgis.org
 
  This release includes all the goodies that I got to implement lately
  including:
  - right click support through longClick
  - shape file support
  - gps
  - compass
  - android 4 support
  - partial hardware optimization for armV7a (most newish devices have it)
  - no debug symbols
 
  I m very happy with this release because it adresses and fixes all high
  priority bugs.
  Adding support for a armv7a optimized whit no debug symbols build
 increased
  greatly the speed of the app. The package you need to install is the same
  and includes both armv5 and armv7a code. Android will take care of using
  the correct version. Gdal and geos are not available yet in v7a code so
 the
  v5 versions will be loaded.
  I couldn't test much the v7 code so I hope you can help me testing it.
  As well, on www.opengis.ch I published many videos and screenshots  of
 qgis.
  As usual, please remember if you can (or if you know anybody that could)
  that sponsoring would help a lot implementing some more great features.
 
  Ciao
 
  Marco Bernasocchi (mobile)
  www.opengis.ch
 
 
 
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Projection widget improvement

2011-11-22 Thread Hilmy Hashim
Less than 10 but certainly more than 4, especially when qgis creates user
defined entries for unknown or undefined crses. The recently used set will
be lost. Most of the time I only need a set of crses for the area of
interest I'm working on. I don't need to see the crses for other parts of
the world. Just a suggestion to make things easier.

I look forward to testing your version with filter.

Regards
Hilmy Harun Hashim
On Nov 22, 2011 5:26 PM, Richard Duivenvoorde rdmaili...@duif.net wrote:

 On 2011-11-19 02:17, Hilmy Hashim wrote:
  +1 and it would be great if I could limit the list of projections to the
  ones relevant to my work - usually less than 10. I don't need to see
  projections for the whole world.

 That's where the 'recently used crs's' block is for?

 (see http://hub.qgis.org/issues/4550)
 I've now a version with a filter line on top: which will filter both
 lists/trees while typing (like python plugin menu).

 It will look like this
 http://hub.qgis.org/attachments/3557/version4.png

 Regards,

 Richard


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Projection widget improvement

2011-11-22 Thread Hilmy Hashim
My magic number has always been 7 for a list of things :)

Thanks.

Hilmy Harun Hashim
On Nov 22, 2011 9:26 PM, Paolo Cavallini cavall...@faunalia.it wrote:

 On 11/22/2011 01:55 PM, Hilmy Hashim wrote:
  Less than 10 but certainly more than 4, especially when qgis creates
 user defined
  entries for unknown or undefined crses. The recently used set will be
 lost. Most of

 agreed, IMHO 6 to 8 should be ok for most people (unless we want to
 introduce yet
 another obscure option ;) ).
 maybe we could list all the recently used CRSs, so an user could scroll
 down?
 All the best.

 --
 Paolo Cavallini - Faunalia
 www.faunalia.eu
 Full contact details at www.faunalia.eu/pc

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Projection widget improvement

2011-11-18 Thread Hilmy Hashim
+1 and it would be great if I could limit the list of projections to the
ones relevant to my work - usually less than 10. I don't need to see
projections for the whole world.

thanks

*Hilmy*


On Fri, Nov 18, 2011 at 2:15 AM, Paolo Cavallini cavall...@faunalia.itwrote:

 Il 17/11/2011 10:14, Werner Macho ha scritto:

  +1 for Richards suggestion .. I also always hit enter after entering

 http://hub.qgis.org/issues/**4550 http://hub.qgis.org/issues/4550
 done, tanks Richard and Werner for ideas.
 Looks an easy and nice improvement.

 All the best.

 --
 Paolo Cavallini
 See: http://www.faunalia.it/pc

 __**_
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/qgis-**developerhttp://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Android QGIS download Link

2011-08-28 Thread Hilmy Hashim
I tried that link as well but I can't get the apk to download. Right
clicking and saving the link downloads it as a .htm file.

Hilmy
On Aug 29, 2011 1:46 AM, Evert Groenewald ev...@coldsea.co.za wrote:
 Op 25/08/2011 10:38, Hilmy Hashim het geskryf:
 Bravo! Working on Motorola Xoom 3.1. But I seem to be missing the WFS
 plugin in qgis-debug-8. It was there and working in earlier builds.

 /*Hilmy*/


 On Wed, Aug 24, 2011 at 3:43 PM, Marco Bernasocchi
 ma...@bernawebdesign.ch mailto:ma...@bernawebdesign.ch wrote:

 Sorry, I forgot the link last night...
 https://github.com/downloads/mbernasocchi/qgis-android/Qgis-debug.apk
 or scan this
 ciao Marco


 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer




 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
 Congrats with the project.
 Neither download link is working for me. Eventually I downloaded from here

 https://github.com/mbernasocchi/qgis-android/tree/master/apk/bin

 Installed and working on Motorola Defy with Cyanogenmod 7 installed.
 When opening shapefile, gives error about cannot open database and when
 touch ok open it anyway. Have not tried rastar files yet. Small screen
 is limitation currently (it has been noted that Qgis is currently not
 optimized for such small screens) also cannot zoom in or out using
 fingertips ;-) .

 Thanks again
 evert

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Android QGIS download Link

2011-08-25 Thread Hilmy Hashim
Bravo! Working on Motorola Xoom 3.1. But I seem to be missing the WFS plugin
in qgis-debug-8. It was there and working in earlier builds.

*Hilmy*


On Wed, Aug 24, 2011 at 3:43 PM, Marco Bernasocchi
ma...@bernawebdesign.chwrote:

 **
 Sorry, I forgot the link last night...
 https://github.com/downloads/mbernasocchi/qgis-android/Qgis-debug.apk or
 scan this
 ciao Marco


 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


Qgis-debug.apk___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] qgis 1.7 srs.db not updated

2011-06-27 Thread Hilmy Hashim
The srs database in qgis trunk is updated by crssync after each build so
that it has the correct set of parameters, at least in the crs I'm using, eg
EPSG:3375 and the like. It looks like the srs database in the released 1.7
Wroclaw is not updated. It's missing the +gamma parameter in EPSG:3375.

Can the srs database be updated in the next 1.7.x release please?

Thanks
*Hilmy*
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Request: WFS Add Layer Plugin enhancement

2011-06-20 Thread Hilmy Hashim
Hi devs,

First of all congratulations on the release of QGIS 1.7.0.

I just finished a whole week with 50 state and federal agencies using QGIS
trunk to show the current state of fundamental gis data which we are
developing. An unexpected and consensus comment was that QGIS was so much
easier to use than mapinfo and the like. Note that this was not a QGIS
training. I merely used QGIS to view the various layers we had in geoserver
through wfs. The release of QGIS 1.7.0 is timely.

One comment we had was that when a layer was added using the wfs add layer
plugin, the *name *of the layer appears in the layers panel rather than the
*title *which they used to search for particular layers in the plugin
dialog. Our layer names are rather cryptic, using feature codes. Once
several layers are loaded into QGIS, it is very difficult to distinguish
from one layer and another.

Would it be possible to show the title of the layer rather than the name,
perhaps as an option? This goes the same for the wms add layer. I know we
can rename the layers in the panel but this gets rather tedious.

Thanks in advance for your consideration. If this requires funding, please
let me know.

*Hilmy*
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Request: WFS Add Layer Plugin enhancement

2011-06-20 Thread Hilmy Hashim
I have created a ticket http://hub.qgis.org/issues/4002

regards

*Hilmy*


On Mon, Jun 20, 2011 at 3:54 PM, Giovanni Manghi
giovanni.man...@gmail.comwrote:

 
   Thanks in advance for your consideration. If this requires funding,
   please let me know.
 
  Of course hiring a dev to fix this will greatly speed up the process.


 Meanwhile you can file a ticket

 http://hub.qgis.org/projects/quantum-gis

 and/or use this initiative to fund you bug fixing

 http://www.qgis.org/wiki/Bugs


 cheers

 -- Giovanni --



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGis will only load WMS Layers in WGS84

2011-06-11 Thread Hilmy Hashim
I am using OSGeo4W qgis trunk revision 1b15528 on Windows 7 64-bit.

I have several geotiff layers on Geoserver 2.1 in native srs of EPSG:3375.
They display fine using Geoserver's preview layer.

When I try to load them using QGis wms, they will only load when the project
is set to EPSG: 4326. When I set the project to EPSG:3375, nothing is
loaded. Changing the crs in the wms dialog doesn't help.

Not sure if this is the same issue faced by Mike Leahy:

http://lists.osgeo.org/pipermail/qgis-user/2011-May/012131.html

Thanks for any pointers.


*Hilmy*
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] crssync - windows

2011-05-25 Thread Hilmy Hashim
Looks like the latest trunk build 1.8.0-Trunk ef981f1 has no more errors
reported in the CRS syncronization.

*Hilmy*


On Mon, May 23, 2011 at 1:24 PM, Hilmy Hashim hil...@gmail.com wrote:

 I get this too on OSGeo4W Windows 7 64-bit. I thought it had something to
 do with crssync.


 *Hilmy*


 On Mon, May 23, 2011 at 10:40 AM, custard cust...@westnet.com.au wrote:

 Hi,

 The osgeo installer has now pushed me along to 1.8 (is there an easy way
 back to 1.7?).

 I'm now seeing this error flying past many, many times at great speed:

 Try setting the GDAL_DATA environment variable to point to the
 directory containing EPSG csv files.
 Unable to open EPSG support file gcs.csv.

 I think GDAL_DATA should be %OSGEO4W_ROOT%\share\gdal
 but I do not know where it should be set.

 Any suggestions?

 -ramon.

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Re: SRS database update 1.8.0-Trunk Rev ad494d4

2011-05-25 Thread Hilmy Hashim
It looks like the latest build 1.8.0-Trunk ef981f1 has updated the srs.db
and with the correct parameters for EPSG:3168 and EPSG:3375.

Thanks devs.


*Hilmy*


On Sat, May 7, 2011 at 1:02 PM, Hilmy Hashim hil...@gmail.com wrote:

 I noticed the srs.db was updated in the latest build. I can see crssync
 running.

 However, I don't see any changes in the proj4 definitions for EPSG:3168 and
 EPSG:3375. They are missing the +gamma parameter. This parameter has already
 been included in gdal 1.8.

 C:\epsg_tr -proj4 3168
 # Kertau (RSO) / RSO Malaya (m)
 3168 +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.0257905 +k=0.99984
 +x_0=804670.24 +y_0=0
 +gamma=323.130102361 +a=6377295.664 +b=6356094.667915204 +units=m
 +no_defs  

 C:\epsg_tr -proj4 3375
 # GDM2000 / Peninsula RSO
 3375 +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.025796466
 +k=0.99984 +x_0=804671 +y_0=0
 +gamma=323.130102361 +ellps=GRS80 +units=m +no_defs  

 Was this a selective update of certain crs and if so, how do I get my
 projections to be updated as well?

 My config:
 OSGeo4W Windows 7 64-bit

 Thanks and regards
 *Hilmy*

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] crssync - windows

2011-05-22 Thread Hilmy Hashim
I get this too on OSGeo4W Windows 7 64-bit. I thought it had something to do
with crssync.


*Hilmy*


On Mon, May 23, 2011 at 10:40 AM, custard cust...@westnet.com.au wrote:

 Hi,

 The osgeo installer has now pushed me along to 1.8 (is there an easy way
 back to 1.7?).

 I'm now seeing this error flying past many, many times at great speed:

 Try setting the GDAL_DATA environment variable to point to the
 directory containing EPSG csv files.
 Unable to open EPSG support file gcs.csv.

 I think GDAL_DATA should be %OSGEO4W_ROOT%\share\gdal
 but I do not know where it should be set.

 Any suggestions?

 -ramon.

 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] SRS database update 1.8.0-Trunk Rev ad494d4

2011-05-06 Thread Hilmy Hashim
I noticed the srs.db was updated in the latest build. I can see crssync
running.

However, I don't see any changes in the proj4 definitions for EPSG:3168 and
EPSG:3375. They are missing the +gamma parameter. This parameter has already
been included in gdal 1.8.

C:\epsg_tr -proj4 3168
# Kertau (RSO) / RSO Malaya (m)
3168 +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.0257905 +k=0.99984
+x_0=804670.24 +y_0=0
+gamma=323.130102361 +a=6377295.664 +b=6356094.667915204 +units=m
+no_defs  

C:\epsg_tr -proj4 3375
# GDM2000 / Peninsula RSO
3375 +proj=omerc +lat_0=4 +lonc=102.25 +alpha=323.025796466 +k=0.99984
+x_0=804671 +y_0=0
+gamma=323.130102361 +ellps=GRS80 +units=m +no_defs  

Was this a selective update of certain crs and if so, how do I get my
projections to be updated as well?

My config:
OSGeo4W Windows 7 64-bit

Thanks and regards
*Hilmy*
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer