[JPP-Devel] save dataset as / save selected datasets - dialog
hi all! here is just a little proposal: if you add a new layer and want to save it (right-mouse-menu on layer -> "save selected datasets"), it would be nice if there would be opened a save-dialog (only for new "unsaved" layers) to store the layer. i know, you should save it first with the "save dataset as"-menu, but it would be more user-friendly, like the save-dialog in the windows notepad (automatically "save as"-dialog). greetings, carl- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] save dataset as / save selected datasets - dialog
i've totally forgotten my question :-) is it possible to save the layer with a simple function from a plugin? ( layer.saveall() or something like that?) if you are editing the schema and attributes of a layer, the plugin should save the changes, not save by clicking mouse-menu... carl - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] make own extension / plugin dependencies
ok thanks, i think the blackboard is what i need! carl - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] fieldnames in attribu ttable limitted to 11 chars?
hi, is there any reason why you can only create fieldnames with max. 11 characters in the attribut table? ok, you can create one with more than 11, but when you save and re-open the layer, the fieldname is cut to 11 characters... carl- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] fieldnames in attribu ttable limitted to 11 chars?
hi, yes, the other formats don't cut off the fieldnames. but it's not a general problem because in arcview you can create shps with longer fieldnames. does anybody know if it's set somewhere in the shapefilewriter in openjump or somewhere else? otherwise i'm not really able to work with oj because i need these longer fieldnames. carl - Original Message - From: Rahkonen Jukka To: OpenJump develop and use Sent: Wednesday, April 16, 2008 11:26 AM Subject: Re: [JPP-Devel] fieldnames in attribu ttable limitted to 11 chars? Hi, Did you try saving in JUMP GML format? ESRI shapefiles have their own limits which do not come from JUMP. -Jukka Rahkonen- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Carl Grönniger (entera) Lähetetty: 16. huhtikuuta 2008 11:44 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: [JPP-Devel] fieldnames in attribu ttable limitted to 11 chars? hi, is there any reason why you can only create fieldnames with max. 11 characters in the attribut table? ok, you can create one with more than 11, but when you save and re-open the layer, the fieldname is cut to 11 characters... carl -- - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] add new Layer
Hi all, I want to add a new layer with some attributes on buttonclick. The BeanTools -> NewLayer.bsh makes the same in principle. When I click the button, the new layer is added with the desired attributes. But when I edit the layer, e.g. draw a line, I got this error: -1 (Array Index Out Of Bounds Exception) Where is my mistake? It's just the same like the bsh script..., or not?? this method is called when I click the button: public void newTLayer(PlugInContext context, String string) { FeatureSchema fs = new FeatureSchema(); fs.addAttribute("ID", AttributeType.STRING); fs.addAttribute("Test", AttributeType.STRING); fs.addAttribute("BlaBla", AttributeType.STRING); FeatureDataset fc = new FeatureDataset(fs); context.addLayer("Projekt", string, fc); } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] add new Layer
Hi Larry, thank you! It works... perhaps I should make a pause... ;-) regards, Carl - Original Message - From: Larry Becker To: OpenJump develop and use Sent: Thursday, May 15, 2008 3:10 PM Subject: Re: [JPP-Devel] add new Layer Hi Carl, Don't forget the geometry. You need to add something like: fs.addAttribute("GEOMETRY", AttributeType.GEOMETRY); regards, Larry Becker On Thu, May 15, 2008 at 3:59 AM, Carl Grönniger (entera) <[EMAIL PROTECTED]> wrote: Hi all, I want to add a new layer with some attributes on buttonclick. The BeanTools -> NewLayer.bsh makes the same in principle. When I click the button, the new layer is added with the desired attributes. But when I edit the layer, e.g. draw a line, I got this error: -1 (Array Index Out Of Bounds Exception) Where is my mistake? It's just the same like the bsh script..., or not?? this method is called when I click the button: public void newTLayer(PlugInContext context, String string) { FeatureSchema fs = new FeatureSchema(); fs.addAttribute("ID", AttributeType.STRING); fs.addAttribute("Test", AttributeType.STRING); fs.addAttribute("BlaBla", AttributeType.STRING); FeatureDataset fc = new FeatureDataset(fs); context.addLayer("Projekt", string, fc); } - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- http://amusingprogrammer.blogspot.com/ -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel