|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
PostGIS digitizepoints plugin availableHello,
I just finished a simple plugin which allows to digitize points directly into a PostgreSQL/PostGIS table. It was tested on p.Mapper version 4, but it should work on version 3 too. Main features: * Insert new points and update existing ones into a PostgreSQL/PostGIS table. * Allow for different map and layer projections. * Pick existing points for editing, with configurable tolerance. * Automatic web form upon table structure, allow for hiding of unwanted fields. * Easy itegration into the toolbar. It is available under the GNU AFFERO GENERAL PUBLIC LICENSE, at the following URL: https://trac.faunalia.it/digitizepoints/browser/tags/digitizepoints-0.1 It is my first p.Mapper plugin, so beware that code can be naive. Any feedback will be greatly apreciated. -- Niccolo Rigacci Firenze - Italy ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: PostGIS digitizepoints plugin availableHow to setting this plugin in pmapper-3.2..
I try to follow instruction in README.. but when I click digitize tool button.. its nothing happen.. To add the toolbar button: edit config/default/js_config.php, add a button element into PM.buttonsDefault definition: {tool:'digitizepoints', name:'Digitize Points'}, There are no PM.buttonsDefault definition in my js_config.php On Tue, Sep 29, 2009 at 5:17 AM, Niccolo Rigacci <niccolo@...>wrote: > Hello, > > I just finished a simple plugin which allows to digitize points > directly into a PostgreSQL/PostGIS table. It was tested on > p.Mapper version 4, but it should work on version 3 too. > > Main features: > * Insert new points and update existing ones into a > PostgreSQL/PostGIS table. > * Allow for different map and layer projections. > * Pick existing points for editing, with configurable > tolerance. > * Automatic web form upon table structure, allow for > hiding of unwanted fields. > * Easy itegration into the toolbar. > > It is available under the GNU AFFERO GENERAL PUBLIC LICENSE, at > the following URL: > https://trac.faunalia.it/digitizepoints/browser/tags/digitizepoints-0.1 > > It is my first p.Mapper plugin, so beware that code can be naive. > Any feedback will be greatly apreciated. > > -- > Niccolo Rigacci > Firenze - Italy > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > pmapper-users mailing list > pmapper-users@... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: PostGIS digitizepoints plugin availableNiccolo Nice work, the plugin works fine in firefox and
chrome but I can not make it work in IE. The event digitizepoints_start is never fired. Any ideas? Thank you !
|
|
|
Re: PostGIS digitizepoints plugin availableOn Mon, Oct 19, 2009 at 04:10:02AM -0700, JacTheWolf wrote:
> > Niccolo Nice work, the plugin works fine in firefox and > chrome but I can not make it work in IE. The event digitizepoints_start is > never fired. I will try it in IE in the next days. Stay tuned. -- Niccolo Rigacci Firenze - Italy ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: PostGIS digitizepoints plugin availableI found the problem. Apparently my version of IE (6.0) does not work the second parameter of function "window.open". To fix put null:
var popup = window.open( PM_PLUGIN_LOCATION + '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py, null, 'width=' + PM.Plugin.Digitizepoints.width + ',height=' + PM.Plugin.Digitizepoints.width + ',status=no,scrollbars=no,fullscreen=no,resizable=yes' );
|
|
|
Re: PostGIS digitizepoints plugin availableOn Tue, Oct 20, 2009 at 07:39:41AM -0700, JacTheWolf wrote:
> > I found the problem. Apparently my version of IE (6.0) does not work the > second parameter of function "window.open". To fix put null: > > var popup = window.open( > PM_PLUGIN_LOCATION + > '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py, > null, > 'width=' + PM.Plugin.Digitizepoints.width + ',height=' + > PM.Plugin.Digitizepoints.width + > ',status=no,scrollbars=no,fullscreen=no,resizable=yes' ); Damn Internet Explorer! I spend more than an hour to find this thing! The problem was the space in the label, IE does not like it and fails without a warning! Get the fixed digitizepoints.js here: https://trac.faunalia.it/svn/digitizepoints/trunk/digitizepoints.js Shortly the plugin will get home in pmapper repository (thanks Armin!). -- Niccolo Rigacci Firenze - Italy ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: PostGIS digitizepoints plugin availableOn Fri, Oct 16, 2009 at 10:59:35AM +0700, Dark Knight wrote:
> > How to setting this plugin in pmapper-3.2.. The plugin needs some changes in the JavaScript, and also a fix in the php code. I made a quick backport that you can find here: https://trac.faunalia.it/svn/digitizepoints/branches/digitizepoints-pm3-0.1.1/ But I think that I will not mantain it in the future. -- Niccolo Rigacci Firenze - Italy ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: PostGIS digitizepoints plugin availableOn 20/10/2009 16:52, Niccolo Rigacci wrote:
> On Tue, Oct 20, 2009 at 07:39:41AM -0700, JacTheWolf wrote: >> I found the problem. Apparently my version of IE (6.0) does not work the >> second parameter of function "window.open". To fix put null: >> >> var popup = window.open( >> PM_PLUGIN_LOCATION + >> '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py, >> null, >> 'width=' + PM.Plugin.Digitizepoints.width + ',height=' + >> PM.Plugin.Digitizepoints.width + >> ',status=no,scrollbars=no,fullscreen=no,resizable=yes' ); > > > Damn Internet Explorer! I spend more than an hour to find this > thing! > > The problem was the space in the label, IE does not like it and > fails without a warning! > > Get the fixed digitizepoints.js here: > https://trac.faunalia.it/svn/digitizepoints/trunk/digitizepoints.js > > Shortly the plugin will get home in pmapper repository (thanks > Armin!). > Niccolo alternatively you could try to avoid standard pop-up windows and use the DHTML window, something like digitizeDlgOptions: {width:480, height:480, left:100, top:50, resizeable:true, newsize:true, container:'pmDlgContainer', name:"digitize"}, openCoordinatesDlg: function(imgxy) { ... var digitizeUrl = PM_PLUGIN_LOCATION + '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py; this.createDnRDlg(this.digitizeDlgOptions, _p('Digitize'), digitizeUrl); ... }, Armin ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
|
|
Re: PostGIS digitizepoints plugin availableOn 20/10/2009 19:32, Armin Burger wrote: > On 20/10/2009 16:52, Niccolo Rigacci wrote: >> On Tue, Oct 20, 2009 at 07:39:41AM -0700, JacTheWolf wrote: >>> I found the problem. Apparently my version of IE (6.0) does not work the >>> second parameter of function "window.open". To fix put null: >>> >>> var popup = window.open( >>> PM_PLUGIN_LOCATION + >>> '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py, >>> null, >>> 'width=' + PM.Plugin.Digitizepoints.width + ',height=' + >>> PM.Plugin.Digitizepoints.width + >>> ',status=no,scrollbars=no,fullscreen=no,resizable=yes' ); >> >> Damn Internet Explorer! I spend more than an hour to find this >> thing! >> >> The problem was the space in the label, IE does not like it and >> fails without a warning! >> >> Get the fixed digitizepoints.js here: >> https://trac.faunalia.it/svn/digitizepoints/trunk/digitizepoints.js >> >> Shortly the plugin will get home in pmapper repository (thanks >> Armin!). >> > > Niccolo > > alternatively you could try to avoid standard pop-up windows and use the > DHTML window, something like > > digitizeDlgOptions: {width:480, height:480, left:100, top:50, > resizeable:true, newsize:true, > container:'pmDlgContainer', name:"digitize"}, > > openCoordinatesDlg: function(imgxy) { > > ... > var digitizeUrl = PM_PLUGIN_LOCATION + > '/digitizepoints/digitizepoints.php?lon=' + px + "&lat=" + py; > > this.createDnRDlg(this.digitizeDlgOptions, _p('Digitize'), > digitizeUrl); > > ... > }, > corrigendum: should be ... PM.Dlg.createDnRDlg(...) ... armin ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ pmapper-users mailing list pmapper-users@... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
| Free embeddable forum powered by Nabble | Forum Help |