YasinOmer / ziggis

Automatically exported from code.google.com/p/ziggis
1 stars 2 forks source link

Cannot specify schema name when adding layers #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start ArcMap
2. Click zigGIS button
3. Navigate to zig file
4. Type a layer name using schema.view convention

What is the expected output? What do you see instead?
Expected: layer should appear in ArcMap.
Actual: Error message indicating index out of range.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by b...@zekiah.com on 10 Jan 2007 at 11:49

GoogleCodeExporter commented 8 years ago
Issue is at approximately line 462 of workspace.cs. The following line:

view = bits[2];

needs to be changed to:

view = bits[1];

The current code assumes the period [.] is part of resulting array after Split.

Original comment by b...@zekiah.com on 10 Jan 2007 at 11:58

GoogleCodeExporter commented 8 years ago

Original comment by b...@zekiah.com on 10 Jan 2007 at 11:59

GoogleCodeExporter commented 8 years ago
Shouldn't we place a "schema" 
parameter in
the zig
configuration file?
Or are we expecting the user type at the textbox the full schema name of 
PostGIS layer?
(somethingh like schemaname.layername)
Consider that we should implement a getlayers method and display all layers 
(from all
schema?) in a listbox in the add layer form.

Original comment by pco...@gmail.com on 11 Jan 2007 at 8:43

GoogleCodeExporter commented 8 years ago

Original comment by b...@zekiah.com on 11 Jan 2007 at 3:33

GoogleCodeExporter commented 8 years ago
done.

Original comment by pco...@gmail.com on 6 Mar 2007 at 5:04