Re: [Qgis-user] mac owners: please test new html image map plugin: set size of image

2010-10-06 Thread sergio sevillano

i have tried the html image plugin
(in Qgis - osx 10.6.4 intel mac)
and it seems to work pretty fine
it always outputs the image at selected set size 
either set or taken from window size.


in osx there are two Qgis maximized options:

1. fullscreen (cmd+f) - work area explodes to fullscreen (no window) that hides 
main menus and they unhide with a top mouse rollover
i launch the plugin and gives me 1695x932 size, and same size result 
image, if i press set button nothing changes.

2. maximized (window +) - that extends the current window to cover all 
desktop size not hiding the top menu. 
i launch the plugin and gives me 1695x884 size, and same size result 
image, if i press set button a warning pops up, press ok, and it moves the 
window a little down left with no change in size nor output image size.

seems to me that is working ok.

i dont see why the warning or moving the window,
maybe thats the error you are looking for...


sergio





El 04/10/2010, a las 15:37, Richard Duivenvoorde escribió:

 Yep,
 but it is just in the list of python plugins in qgis, search for 'html'.
 There should be a version 0.5.0 there.
 Richard
 
 sergio sevillano wrote:
 you mean this plugin
 http://blog.qgis.org/node/105
 ?
 
 
 
 El 03/10/2010, a las 19:31, Richard Duivenvoorde escribió:
 
 Hi,
 
 Somebody asked the ability to set the exact size of an image to be saved
 with the html image map plugin (or just setting the size of the mapcanvas).
 
 I've implemented this possibility in the plugin now (v0.5.0), but needed
 some OS-specific offset stuff, and am not able to test it on a mac
 (linux and windows seem ok)
 
 If users of the plugin which own a mac can have a look, and let me know
 if the size is NOT ok that would be great. Specially the use case where
 you maximized the qgis window before setting a image/mapcanvas size (...
 is this possible on a mac anyway ?).
 
 Regards,
 
 Richard Duivenvoorde
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 

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


Re: [Qgis-user] mac owners: please test new html image map plugin: set size of image

2010-10-04 Thread sergio sevillano
you mean this plugin
http://blog.qgis.org/node/105
?



El 03/10/2010, a las 19:31, Richard Duivenvoorde escribió:

 Hi,
 
 Somebody asked the ability to set the exact size of an image to be saved
 with the html image map plugin (or just setting the size of the mapcanvas).
 
 I've implemented this possibility in the plugin now (v0.5.0), but needed
 some OS-specific offset stuff, and am not able to test it on a mac
 (linux and windows seem ok)
 
 If users of the plugin which own a mac can have a look, and let me know
 if the size is NOT ok that would be great. Specially the use case where
 you maximized the qgis window before setting a image/mapcanvas size (...
 is this possible on a mac anyway ?).
 
 Regards,
 
 Richard Duivenvoorde
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


Re: [Qgis-user] GDALdem, when?

2010-10-01 Thread sergio sevillano

El 01/10/2010, a las 01:39, John C. Tull escribió:

 Hi Sergio,
 
 I have not used DEM relief shader, but there is also the Shaded Relief 
 plugin.

is the same plugin, it has both names. one in the menus other in the plugin 
administrator.
(maybe is a translation thing)

 Additionally, a program called SimpleDEMViewer is available on OS X:
 http://www.macupdate.com/info.php/id/20636/simpledemviewer
 
 For using gdaldem from the Terminal.app, here are some sample commands that I 
 use to generate a color hillshade from gtopo dems:
 gdaldem hillshade gtopo30.tif -z 10 temp.tif
 composite -blend 50 temp.tif temp.tif temp2.tif
 gdal_translate -co compress=lzw temp2.tif western_colorshade.tif
 rm temp*
 
 This assumes you have a file called 'scale.txt' in the same directory in 
 which you are working. My scale.txt file has the following lines, but you can 
 adjust based on the highest point in your region of interest (heights are in 
 meters here):
 3500 255 255 255″
 2500 235 220 175″
 1500 190 185 135″
 700 240 250 150″
 0 50 180 50″
 -32768 200 230 255″
 
 Regards,
 John
 

thanks for the tips john
ill try your two suggestions


it has been talked before in the list
but there is also SEXTANTE
a deeper raster analisys library...

http://www.sextantegis.com

sergio___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message

2010-09-30 Thread sergio sevillano
you guys finally solved it!
works for me too.
thank you very much

sergio


El 29/09/2010, a las 01:25, Giuseppe Sucameli escribió:

 Hi William,
 
 On Wed, Sep 29, 2010 at 12:37 AM, William Kyngesburye wokl...@kyngchaos.com 
 wrote:
 I didn't know multiple paths could be used there (lack of documentation), 
 though it makes sense.
 even though I'm the GdalTools maintainer, I either didn't know 
 we could use multiple paths. 
 I looked within the code to discover the trick :-)
 
  Though pymod is not part of the problem, it's python itself.  So it should 
 be:
 
 /usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/
 
 Once Python is found in /usr/bin, the GDAL pymod will be in the python 
 sys.path.
 I don't know if pymods are in the python sys.path, but in order 
 to prevent future related issues, could you verify this?
 
 ... and that works.
 Great!!! Now I can go to sleep pleased.
 
 Cheers.
 
 On Sep 28, 2010, at 5:03 PM, Giuseppe Sucameli wrote:
 
  Hi all,
  did you try to setup both python and pymods paths in the
  path to GDAL binaries? You must separate them by :
 
  /usr/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Python/
 
  Try and let me know.
 
  Cheers
 
  2010/9/28 Pierre Chevalier Géologue pierrechevalierg...@free.fr
  William Kyngesburye claviota:
 
  /usr/bin/python* should already exist, they are part of the system.  That's 
  not the problem.
 
  Ok; I thought you may have some strange python installation. Sorry!
 
 
  The problem is that /usr/bin is NOT in the PATH in an OS X application.
  Hm. Mac OS X's are weird sorts of unices, aren't they? (BIG TROLL 
  DETECTED!) ;)
 
 
  Applications have essentially no environment at all, but they do understand 
  environment variables.  Applications are in their own world, so to speak.  
  There is a hidden mechanism for setting Application environment, but I 
  don't want to spread that as it is cluncky to use (need 3rd party apps for 
  a nice GUI front end), and is not well documented, if at all.
 
  You got your symlinking idea backwards, but it does give me an idea for a 
  workaround:
 
  ln -s /usr/bin/python2.6 /Applications/Qgis.app/Contents/MacOS/bin/python
 
  This puts a symlink to the system python in the Qgis application bin, which 
  should be in the PATH in the Qgis environment.
 
  Yes, it makes sense! So? Does it work?
 
 
  Funny: in DOS and windows (another strange kind of OS, next troll), the 
  current directory of any executable is in the path. And in unices (at least 
  the ones I know), the current directory (.) is never in the path... I never 
  figured it out on a Mac.
 
  A stupid idea:
  Yes, it was...
 
  A+
  Pierre
 
 
  --
  
  Pierre Chevalier Géologue EI
Mesté Duran
32100 Condom
   Tél+fax  :09 75 27 45 62
05 62 28 06 83
 06 37 80 33 64
   Émail  :   pierrechevaliergeolCHEZfree.fr
   icq#   :   10432285
   skype  :   pierre.chevalier1967
   http://pierremariechevalier.free.fr/pierre_chevalier_geologue
  
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 
  --
  Giuseppe Sucameli
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 Oh, look, I seem to have fallen down a deep, dark hole.  Now what does that 
 remind me of?  Ah, yes - life.
 
 - Marvin
 
 
 
 
 
 -- 
 Giuseppe Sucameli
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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


[Qgis-user] GDALdem, when?

2010-09-30 Thread sergio sevillano
GDALdem is included in GDAL 1.7 framework  (OSX)
how can it be used within Qgis?
has GDALTools plans to implement it?
is it already there, and i´ve missed it?


sergio___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] GDALdem, when?

2010-09-30 Thread sergio sevillano

El 30/09/2010, a las 17:44, Paolo Cavallini escribió:

 Il 30/09/2010 10:04, sergio sevillano ha scritto:
 GDALdem is included in GDAL 1.7 framework  (OSX)
 how can it be used within Qgis?
 has GDALTools plans to implement it?
 is it already there, and i´ve missed it?
 
 Hi Sergio.
 We have no ad hoc funds for the development of GDALTools, so we implement new
 features when the opportunity arises, and when a customer asks for this. 
 You're
 welcome to sponsor further developments; several developers are available for 
 this,
 if you do not have your own.
 Thanks for your interest.
 All the best.
 -- 

just asking for info on the subject.

your plugin is super
thanks for sharing your work
i would happily contribute with your efforts in a monetary way
if i can sell a project that needs those features,
but im just a gis hobbyist for now
with a little time to spare for testing for example...

in the meantime i have found DEM relief shader
which does the trick for me
it just covers the hillshading feature
but leaves out (slope, aspect, [1] ...) 
which may be in the interest of gis pro users

i hope some funder wants to push this 
and he/you agree to share it with the community


cheers,
sergio


[1] http://www.gdal.org/gdaldem.html


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


Fwd: [Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message

2010-09-27 Thread sergio sevillano

 
 El 14/09/2010, a las 17:13, William Kyngesburye escribió:
 
 
 On Sep 14, 2010, at 9:55 AM, sergio sevillano wrote:
 
 El 14/09/2010, a las 14:52, William Kyngesburye escribió:
 
 What other GDAL tools have you used that work, besides gdal_contour?  
 gdal_merge itself is a python program, while gdal_contour is a binary.  It 
 seems that an external python script is having problems finding python
 
 
 other .py won´t work either
 
 
 I get this also.  I'm using the standard Qgis.
 
 My guess is that external python scripts aren't getting a shell environment 
 so they can't find python, even though Qgis extensions run thru python.  
 Those GDAL python scripts all have the standard shebang:
 
 #!/usr/bin/env python
 
 Someone with a better understanding of this needs to comment so I can try to 
 figure out why the Mac build is not working (while from lack of reported 
 problems it seems other systems work).


i have tried to start all over
as i had my system very messy (flink, darwin, several pythons...)

so i formated my hdd and start with a clean OSX

i have tried standalone Qgis and standard Qgis, neither worked.

in the standalone i have followed instructions to tell Qgis where is GDAL is
(inside the app) but the alias method did not worked 
i could not select the desktop alias into the app through the GdalTools config.

when i try to merge dem files with the standard build,  i get again:

env: python: No such file or directory


until someone with better undersanding comes
i may try older versions or options, any hint?

is there any older version of Qgis that works 
in an intel mac with SnowLeopard (OSX10.6.x) 
that has a working GDAL plugin ?

William, i can do tester work if its useful to you,
thanks for your builds 
i could have not get Qgis working at all without them.

sergio



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


[Qgis-user] gdal_merge GDAL Tools plugin Qgis error message

2010-09-14 Thread sergio sevillano
hi

i get an 

env: python: No such file or directory

error when i try to use GDAL Tools plugin to merge some .hgt images
seems to me as a path thing
but other gdal plugins work fine 
as gdal_contours

any hint or place to look further?
thanks


sergio


intel mac 3.33GHz core 2 duo - 8Mb ram
OSX 10.6.4 
Qgis 1.5.0 Tethys
GDAL Tools 1.2.0 (using GDAL v. 1.7.2)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message

2010-09-14 Thread sergio sevillano
hi

i get an 

env: python: No such file or directory

error when i try to use GDAL Tools plugin to merge some .hgt images
seems to me as a path thing
but other gdal plugins work fine 
as gdal_contours

any hint or place to look further?
thanks


sergio


intel mac 3.33GHz core 2 duo - 8Mb ram
OSX 10.6.4 
Qgis 1.5.0 Tethys
GDAL Tools 1.2.0 (using GDAL v. 1.7.2)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message

2010-09-14 Thread sergio sevillano




El 14/09/2010, a las 14:52, William Kyngesburye escribió:

 Are you using the standalone Qgis?
 

i have installed frameworks and qgis manually from
http://www.kyngchaos.com/software/qgis
but not sure if its standalone or not 
is there a way i can check?

 What other GDAL tools have you used that work, besides gdal_contour?  
 gdal_merge itself is a python program, while gdal_contour is a binary.  It 
 seems that an external python script is having problems finding python
 

other .py won´t work either


 On Sep 14, 2010, at 5:59 AM, sergio sevillano wrote:
 
 hi
 
 i get an 
 
 env: python: No such file or directory
 
 error when i try to use GDAL Tools plugin to merge some .hgt images
 seems to me as a path thing
 but other gdal plugins work fine 
 as gdal_contours
 
 any hint or place to look further?
 thanks
 
 
 sergio
 
 
 intel mac 3.33GHz core 2 duo - 8Mb ram
 OSX 10.6.4 
 Qgis 1.5.0 Tethys
 GDAL Tools 1.2.0 (using GDAL v. 1.7.2)
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 [Trillian]  What are you supposed to do WITH a maniacally depressed robot?
 
 [Marvin]  You think you have problems?  What are you supposed to do if you 
 ARE a maniacally depressed robot?  No, don't try and answer, I'm 50,000 times 
 more intelligent than you and even I don't know the answer...
 
 - HitchHiker's Guide to the Galaxy
 
 

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


Re: [Qgis-user] gdal_merge - GDAL Tools plugin Qgis error message

2010-09-14 Thread sergio sevillano

El 14/09/2010, a las 17:13, William Kyngesburye escribió:

 On Sep 14, 2010, at 9:55 AM, sergio sevillano wrote:
 
 El 14/09/2010, a las 14:52, William Kyngesburye escribió:
 
 Are you using the standalone Qgis?
 
 
 i have installed frameworks and qgis manually from
 http://www.kyngchaos.com/software/qgis
 but not sure if its standalone or not 
 is there a way i can check?
 
 Only by size (Get Info): standalone is about 290+MB installed, standard is 
 about 214MB.

my qgis.app is 214Mb, so is standard too

 
 What other GDAL tools have you used that work, besides gdal_contour?  
 gdal_merge itself is a python program, while gdal_contour is a binary.  It 
 seems that an external python script is having problems finding python
 
 
 other .py won´t work either
 
 
 I get this also.  I'm using the standard Qgis.
 
 My guess is that external python scripts aren't getting a shell environment 
 so they can't find python, even though Qgis extensions run thru python.  
 Those GDAL python scripts all have the standard shebang:
 
 #!/usr/bin/env python
 
 Someone with a better understanding of this needs to comment so I can try to 
 figure out why the Mac build is not working (while from lack of reported 
 problems it seems other systems work).

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