Search the web
Sign In
New User? Sign Up
sw-gis · Smallworld Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 20172 - 20211 of 20211   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries   (Group by Topic) Sort by Date ^  
#20172 From: "rodrigo.aguerre" <rodrigo.aguerre@...>
Date: Mon Nov 16, 2009 7:26 pm
Subject: Re: Refresh SIAS client side image
rodrigo.aguerre
Offline Offline
Send Email Send Email
 
Did you tried to put this line "this.getCore().fireEvent("map-data-changed");"
after the line "wrapper.request();" on your delegate code?

--- In sw-gis@yahoogroups.com, "kitti_kadam" <kitti_kadam@...> wrote:
>
>
>
> Hi..
>
> thanks 4 d reply...
>
> The following lines of code myt help u understanding my problem...
>
> request method in Bean class is
>
> request()
> {
>     this.startMainRequest("HighlightObjects");
>     delegate.request();
>     this.endMainRequest("HighlightObjects");
> }
>
> request method in Delegate class
>
>  request()
>  {
>     wrapper.request();
>     return;
> }
>
> public void request()
> {
>
>   Hashtable<String, Object> params = new Hashtable<String, Object>();
>   ArrayList<String> objects=new ArrayList<String>();
>   objects.add("
swrefVrecordVdatasetZgisVcollectionZpub_restVkeysZThe$0020J5aebraQMaids$0020Caus\
eway ");
>
>    params.put("map_update","zoom");
>    params.put("map_name","Main-Map");
>    params.put("colour","green");
>    params.put("objects",objects);
>    params.put("name","testmap");
>
>   try
>   {
>    Response response = request("ejb/HighlightLocal", "highlightObjects",
params);
>   }
>   catch(Exception e)
>    {
>    }
>
>    return;
> }
>
> On executing these above LOC, an image is generated with pub being highlighted
in green color and is stored in a temp folder.
> how can i refresh SIAS client image with this new image??
> what myt b missing in my code???pls help me out...
>

#20173 From: "rationalrup2000" <rationalrup@...>
Date: Tue Nov 17, 2009 4:29 am
Subject: SIAS server on Virtual Machine
rationalrup2000
Offline Offline
Send Email Send Email
 
Hi,

Is there any customer using SIAS server (we will use SIAS 4.1.2) on a virtual
machine. I have heard SIAS relies heavily on the hardware graphic capability. If
hosts SIAS on virtual machine, the performance will have a big hit. Is that
correct? Anyone else has the same problem?

Thanks,

Jacques

#20174 From: Paul <paulmare@...>
Date: Tue Nov 17, 2009 11:23 am
Subject: Re: Re: HELP FOR DEVELOPING A NEW APPLICATION
paul_man12003
Offline Offline
Send Email Send Email
 
yes
just change the text method of the schematics nodes to display what you need  

On Tue, Nov 17, 2009 at 1:20 PM, gisadmin turbhe <gisadmin.turbhe.TTML@...> wrote:

hi

 

thanks for the reply

 

I have query regarding schematics, can we display multiple annotation for single object?

suppose, I have a building and I am able to display its name ,as shown in below snapshot.now, I need to display other fields related to that building also ex : lat-long values,nearby location etc. and these fields are available in field editor of  object building. Is it possible to display them?

 

 

 

 

 

 

 

 

 

 

Thanks & Regards

   PRATIKSHA

 


From: mazahir dohadwalla [mailto:dmazahir@...]
Sent: Tuesday, November 03, 2009 7:39 AM
To: gisadmin turbhe
Subject: Fw: Re: [sw-gis] HELP FOR DEVELOPING A NEW APPLICATION

 



--- On Tue, 3/11/09, Paul <paulmare@...> wrote:


From: Paul <paulmare@...>
Subject: Re: [sw-gis] HELP FOR DEVELOPING A NEW APPLICATION
To: sw-gis@yahoogroups.com
Date: Tuesday, 3 November, 2009, 12:15 AM

 

hi

 

I do not know if I understood correctly your question

 

I would check in your attached file

_method connectivity_ finder_gui_ plugin.build_ input_gui - see there the display trees - you have to change them. You can add there anything you want - you can create your own style dstring with a custom draw renderer or a raster image or any string you like in any colour - i think you will just want to change the values with a different string 

If you want to see how the schematics is creating labels - check for spni_label_text( ) - is just the name of building - then annotated with the name of collection 

good luck

 

 

 

 

On Mon, Nov 2, 2009 at 5:43 PM, mazahir dohadwalla <dmazahir@yahoo. co.in> wrote:

 

[Attachment(s) from mazahir dohadwalla included below]

 

Hi,

 
We are developing a tool which is intended to provide existing connectivity between two network buildings given by the user.
The engine which is actually finding out these connectivity and gui plugin for display and menu items  is attached.
Snapshot of the output is as shown below:
 
Snapshot 1:
 

 
Here source building : TATA_TELE_(M) _LTD-MUMBAI  is gis site .  
It is connected to various gis buildings and terminal enclousures through copper cables.
All these objects which are connected to source building are displayed in the window (route).    (objects like gis bldg,terminal enclousures and copper cables)
Menu item Goto and highlight is there to view the listed objects in  main  map view
i.e when we select TECHNOPOLIS_ RT in output list and click Goto and Highlight that object appear in main view as shown below.
 
 
Snapshot 2:
 
 

 
Our requirement is to display output in the form of schematics in floating window  instead of listed format as shown in snapshot 1.
Schematics will be as shown below:
 
 

 
i.e  instead of displaying names of the connected objects we need to display them in the form of symbols with annotation as shown above, and goto option should be there . Is it possible to do so ? plz suggest way of doing it.
 
 

 


From cricket scores to your friends. Try the Yahoo! India Homepage!

 




From cricket scores to your friends. Try the Yahoo! India Homepage!

======================================
i-choose online store at www.tataindicom.com
Your Comfort. Your Convenience. Your Choice.
======================================

DISCLAIMER:
The information contained in this message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and permanently delete this message and any attachments from your system. Any dissemination, use, review, distribution, printing or copying of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. TATA TELESERVICES LTD. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. TATA TELESERVICES LTD. (or its group companies) does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interferences.



#20185 From: "bastien.dousse" <bastien.dousse@...>
Date: Tue Nov 17, 2009 4:36 pm
Subject: Raster in SW 3.3 : Color map name not defined
bastien.dousse
Offline Offline
Send Email Send Email
 
Hi all,

I'm using SW 3.3

I have an object, with a raster field :
Geometry type raster
Mandatory False
Grid type physical
Data type ds_byte
Default compression type none
Default generalisation level 4

I'm trying to load a color raster tiff file in a new record of this object,
using the editor of the object, but I get an error "Color map name not defined"

I've convert the file from BMP to Tiff, without any compression, with gimp

I don't understand what is this color map name, and where it have to be defined

can anybody help me ?

thanks
Bastien

#20186 From: "kitti_kadam" <kitti_kadam@...>
Date: Tue Nov 17, 2009 4:43 pm
Subject: Re: Refresh SIAS client side image
kitti_kadam
Offline Offline
Send Email Send Email
 
Hi..
     Adding the line this.getCore().fireEvent("map-data-changed");" to the code
didnot make any difference..there z no change in the map...

I think, event "map-data-changed" automatically gets fired once after there is
change in the map...So can u tell me wats d need of explictly firing this
event??

#20187 From: "naran500" <travers.naran@...>
Date: Tue Nov 17, 2009 5:33 pm
Subject: Re: SIAS server on Virtual Machine
naran500
Offline Offline
Send Email Send Email
 
We have the mid-tier (JBoss) running on a virtual server.  It's a little bit
slower, but it works.

For our development environment, we have only one magik service provider (MSP)
server which is a Citrix running inside a VMWare virtual machine.  Performance
took a significant hit, but we can't be sure where the bottleneck is.

We've also had some problems on the MSP back-end where sometimes the service
hangs and we had to manually kill the processes and re-start the MSP back-end. 
We did have this problem before the server was virtualized, but it seems more
frequent now.

The thing is, our other Citrix apps on that server were also unacceptably slow. 
We will be devirtualizing that server soon.

--- In sw-gis@yahoogroups.com, "rationalrup2000" <rationalrup@...> wrote:
>
> Hi,
>
> Is there any customer using SIAS server (we will use SIAS 4.1.2) on a virtual
machine. I have heard SIAS relies heavily on the hardware graphic capability. If
hosts SIAS on virtual machine, the performance will have a big hit. Is that
correct? Anyone else has the same problem?
>
> Thanks,
>
> Jacques
>

#20188 From: "rodrigo.aguerre" <rodrigo.aguerre@...>
Date: Tue Nov 17, 2009 6:55 pm
Subject: Re: Refresh SIAS client side image
rodrigo.aguerre
Offline Offline
Send Email Send Email
 
When I was trying to develop a module in which I loaded a new image to display
on the map some time ago, I had a similar problem, I generated the image but the
map didn't refresh itself. When I fired the event myself it started to work, I
think you have to explicity fire this event when you change the map data in your
code. The only difference between your code and mine is that you make a service
invocation from your ServiceWrapper and I directly call the MapServiceWrapper, I
never made a service invocation to load a new image on the map like what you are
trying to do, but I don't see what's the problem with your code. Try using the
MapServiceWrapper insted and see if that works, here is a portion of code of my
delegate class:

// Obtengo las coordenadas
Double[] coords = wrapper.zoom_cruce(calle, cruce, dataset);

// MapDelegate
IMapDelegate mapDelegate = (IMapDelegate) getCore().getDelegate("MapDelegate");

// Creo el map wrapper
MapServiceWrapper mapWrapper = new MapServiceWrapper();
mapWrapper.setCore(this.getCore());

// Obtengo parametros del mapa para carga inicial
Hashtable<String, Object> params = mapDelegate.getInitialMapParams();

// Agrego parametro snap_to_scale
if (mapDelegate.isCached()) {
    	 params.put("snap_to_scale", Boolean.TRUE);
}

Double coord_x = coords[0];
Double coord_y = coords[1];

// Ejecuto la accion de ir
mapWrapper.requestMap(IMapDelegate.MAP_NAME, coord_x, coord_y, 1000, 0, params);
this.getCore().fireEvent("map-data-changed");

#20189 From: "Micahel J. Barrett" <michael@...>
Date: Wed Nov 18, 2009 2:38 am
Subject: RE: Re: SIAS server on Virtual Machine
michael@...
Send Email Send Email
 

We have run on Virtual Machines for some time, and have found that configuration of the hardware, software, and application is very important to have working together.  Hardware wise like most of the Smallworld applications SIAS is still behind what hardware is capable of , but the old thoughts of more RAM is better still holds.  However in virtual machines (VM or Virtual PC) you need the host machine to have enough memory available for it’s Host applications and the Virtual applications.  We have found Windows Server 2008 x64 the best stable Host. 64 bit opens up more than 3Gb of Ram, since the host should have 2Gb, and the Virtual should have 2Gb as minimums, and even more with Citrix since connections use Memory, 64bit is required.   Okay, GE may or may not recommend 64 bit, but after 11 months I can say it is much better than trying to squeeze a 32 bit system.  Next the CPU / Motherboard should have the VT options built in and TURNED ON, you will need to check the bios for that.  This means that you should be running the virtual machine on a mid-level server bought in the last 18 months.  There are many other tips that with some Google searches you should find.  We found roughly 10% performance gain in upgrading to Windows server 2008, vs 2003. We upgraded to Enterprise and it gave us about another 3% gain on HDD throughput.  I would recommend running the virtual machine with at least 2 Gb Ram, on an 6-8gb host, with RAID 0 or 10 for the speed increase.  Don’t forget to configure the SIAS environment to max memory at 1gb.  Then depending on number of clients, how they use SIAS, i.e. many small changes all the time, bursts in morning and evenings, or heavy use with traces, you need to tune the server to fit your requirements. 

 

I hope that you find this useful

 

Very Best Regards,

 

Michael J. Barrett

 

From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf Of naran500
Sent: Wednesday, November 18, 2009 00:34
To: sw-gis@yahoogroups.com
Subject: [sw-gis] Re: SIAS server on Virtual Machine

 

 

We have the mid-tier (JBoss) running on a virtual server. It's a little bit slower, but it works.

For our development environment, we have only one magik service provider (MSP) server which is a Citrix running inside a VMWare virtual machine. Performance took a significant hit, but we can't be sure where the bottleneck is.

We've also had some problems on the MSP back-end where sometimes the service hangs and we had to manually kill the processes and re-start the MSP back-end. We did have this problem before the server was virtualized, but it seems more frequent now.

The thing is, our other Citrix apps on that server were also unacceptably slow. We will be devirtualizing that server soon.

--- In sw-gis@yahoogroups.com, "rationalrup2000" <rationalrup@...> wrote:
>
> Hi,
>
> Is there any customer using SIAS server (we will use SIAS 4.1.2) on a virtual machine. I have heard SIAS relies heavily on the hardware graphic capability. If hosts SIAS on virtual machine, the performance will have a big hit. Is that correct? Anyone else has the same problem?
>
> Thanks,
>
> Jacques
>



__________ Information from ESET Smart Security, version of virus signature database 4614 (20091117) __________

The message was checked by ESET Smart Security.

http://www.eset.com


#20190 From: "Burt, Joseph (GE Infra, Energy)" <joseph.burt@...>
Date: Thu Nov 19, 2009 12:17 am
Subject: RE: Raster in SW 3.3 : Color map name not defined
jburt25
Offline Offline
Send Email Send Email
 

Colour Map Name is only required for the raster_loading_acp. If you are loading into a physical grid with no compression, you should not need a color, map.

 

Alternatively, you could try loading the file a the Magik prompt using the tiff_grid_input_stream.new() you would have to create the owning record and grid_tile as well.

 

From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf Of Dousse, Bastien (GE Infra, Energy, Non-GE, Non-US)
Sent: Tuesday, November 17, 2009 9:36 AM
To: sw-gis@yahoogroups.com
Subject: [sw-gis] Raster in SW 3.3 : Color map name not defined

 

 

Hi all,

I'm using SW 3.3

I have an object, with a raster field :
Geometry type raster
Mandatory False
Grid type physical
Data type ds_byte
Default compression type none
Default generalisation level 4

I'm trying to load a color raster tiff file in a new record of this object, using the editor of the object, but I get an error "Color map name not defined"

I've convert the file from BMP to Tiff, without any compression, with gimp

I don't understand what is this color map name, and where it have to be defined

can anybody help me ?

thanks
Bastien


#20191 From: "Goochy" <stv_gch@...>
Date: Thu Nov 19, 2009 6:23 am
Subject: Smallworld 3.3, seperate virtual servers, for client and swmfs and DS file
stv_gch
Offline Offline
Send Email Send Email
 
Greetings,

Has anyone had experience with setting up VMWare servers for the clients to
access that instigate an image that points to SWMFS and the data stores on other
virtual servers?

#20192 From: "chidduchiddu" <chidduchiddu@...>
Date: Thu Nov 19, 2009 2:11 pm
Subject: Smallworld Commit and System Licence
chidduchiddu
Offline Offline
Send Email Send Email
 
Please help me understanding the smallworld Commit & system Licences, How they
are different from Core licence, and also Smallwolrd View and read licences.

Where I will get the information about Smallworld licences and Licence costs.

Thanks,
Chiddu

#20193 From: "chidduchiddu" <chidduchiddu@...>
Date: Thu Nov 19, 2009 2:09 pm
Subject: Smallworld Commit and System Licence
chidduchiddu
Offline Offline
Send Email Send Email
 
Please help me understanding smallworld Commit & system Licences, How they are
different from Core licence, and also Smallwolrd View and read licences.

Where I will get the information about Smallworld licences and Licence costs.

Thanks,
Chiddu

#20194 From: Cesar Correa <cesar.correa@...>
Date: Thu Nov 19, 2009 6:29 pm
Subject: NIG 4.1: Only gis dataset?
cingallo
Offline Offline
Send Email Send Email
 
Hi all,
 
I like to know how to configure NIG 410 to see more than one dataset. I just can see only GIS dataset information. I am using a open image for NIG and using manage_soc() command for open a dataset with landbase information. ACE and STYLES are properly configured however I can't see that data in iexplore. Thanks in advance

Regards
Cesar A. Correa
cesar.correa@...


#20195 From: "vic.valdon_2006" <vic.valdon_2006@...>
Date: Thu Nov 19, 2009 6:59 pm
Subject: Need to get an RWO based from a coordinate x,y
vic.valdon_2006
Offline Offline
Send Email Send Email
 
Hi Group,

I need to get an RWO based from a given coordinate x,y
after getting an rwo, display the name in tooltip then highlight the rwo

I'll appreciate any idea on this.

TIA!

#20196 From: "cwellfair" <chris.wellfair@...>
Date: Fri Nov 20, 2009 2:01 pm
Subject: Re: Need to get an RWO based from a coordinate x,y
cwellfair
Offline Offline
Send Email Send Email
 
Have a look at gis_ds_view.geometry_within_radius().

One 'feature' I've noticed about this method: if you are looking for a point
object, then you can set the radius to 0. However, it doesn't always pick up
chains; I've found that increasing the radius slightly to 0.001 fixes this
problem.

If you are using a plugin to allow the user to input the coordinates, then you
can also use it to highlight the geometry. If you need an example, there's one
in the help documentation under:

Application Development -> Using the Application Framework Architecture -> 5.4
Highlighting geometry

For the tooltip, dependent on your needs I would either a) put a change selector
on the plugin, or b) select the rwo so that you get it for free at the bottom of
the map window.

Cheers,
Chris

--- In sw-gis@yahoogroups.com, "vic.valdon_2006" <vic.valdon_2006@...> wrote:
>
> Hi Group,
>
> I need to get an RWO based from a given coordinate x,y
> after getting an rwo, display the name in tooltip then highlight the rwo
>
> I'll appreciate any idea on this.
>
> TIA!
>

#20197 From: "Bruce Morehouse" <BruceM@...>
Date: Fri Nov 20, 2009 2:12 pm
Subject: RE: Re: Need to get an RWO based from a coordinate x,y
BruceM@...
Send Email Send Email
 

If you are not getting expected results from spatial scans, look at the value of the shared variable

            geometry_mixin.analysis_tolerance

 

Additionally, in rare cases, if there has been some low-level manipulation of a geometry without giving it a new spatial_id, spatial scans may find/not find it correctly.

 

Another interesting feature is when a linear geometry is not .straight?, then its bounding box can be weird sometimes (ie, control points quite distant from the “line”), leading to non-intuitive results from spatial scans.

 

Bruce Morehouse,

InMaps

 

 


From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf Of cwellfair
Sent: Friday, November 20, 2009 9:02 AM
To: sw-gis@yahoogroups.com
Subject: [sw-gis] Re: Need to get an RWO based from a coordinate x,y

 

 

Have a look at gis_ds_view.geometry_within_radius().

One 'feature' I've noticed about this method: if you are looking for a point object, then you can set the radius to 0. However, it doesn't always pick up chains; I've found that increasing the radius slightly to 0.001 fixes this problem.

If you are using a plugin to allow the user to input the coordinates, then you can also use it to highlight the geometry. If you need an example, there's one in the help documentation under:

Application Development -> Using the Application Framework Architecture -> 5.4 Highlighting geometry

For the tooltip, dependent on your needs I would either a) put a change selector on the plugin, or b) select the rwo so that you get it for free at the bottom of the map window.

Cheers,
Chris

--- In sw-gis@yahoogroups.com, "vic.valdon_2006" <vic.valdon_2006@...> wrote:
>
> Hi Group,
>
> I need to get an RWO based from a given coordinate x,y
> after getting an rwo, display the name in tooltip then highlight the rwo
>
> I'll appreciate any idea on this.
>
> TIA!
>


#20198 From: "cwellfair" <chris.wellfair@...>
Date: Fri Nov 20, 2009 2:36 pm
Subject: Re: Need to get an RWO based from a coordinate x,y
cwellfair
Offline Offline
Send Email Send Email
 
Hi Bruce,

geometry_mixin.analysis_tolerance seems to be set to 1 by default. I've changed
this to values ranging from 0 (which actually sets it to 0.001) to 1000000, and
have never seen a difference with this method. However, I can increase the
radius by a very small amount, and all of a sudden geomtry is found:

MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0, :chain )
_loop
	 write ( i )
_endloop
$

MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0.000000001, :chain )
_loop
	 write ( i )
_endloop
$
chain:(gis_id(5698373,917968750,548185470))
chain:(gis_id(5698373,917968750,578817781))

As mentioned, this doesn't seem to be a problem for points:

MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0, :point )
_loop
	 write ( i )
_endloop
$
point:(gis_id(5729747,417843697,2506442))


In the instance above I have grabbed the coordinate from a point object that is
snapped and topologically connected to the chains, and the chains return
.straight? = True.

I've never spotted any issue when setting up a 'regular' spatial scan, and so
always assumed that it was an issue with this method. I may even have raised a
call with the helpdesk in the dim and distant past, but as I had a work around
it never bothered me that much.

Cheers,
Chris

--- In sw-gis@yahoogroups.com, "Bruce Morehouse" <BruceM@...> wrote:
>
> If you are not getting expected results from spatial scans, look at the
> value of the shared variable
>
>             geometry_mixin.analysis_tolerance
>
>
>
> Additionally, in rare cases, if there has been some low-level
> manipulation of a geometry without giving it a new spatial_id, spatial
> scans may find/not find it correctly.
>
>
>
> Another interesting feature is when a linear geometry is not .straight?,
> then its bounding box can be weird sometimes (ie, control points quite
> distant from the "line"), leading to non-intuitive results from spatial
> scans.
>
>
>
> Bruce Morehouse,
>
> InMaps
>
>
>
>
>
> ________________________________
>
> From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf
> Of cwellfair
> Sent: Friday, November 20, 2009 9:02 AM
> To: sw-gis@yahoogroups.com
> Subject: [sw-gis] Re: Need to get an RWO based from a coordinate x,y
>
>
>
>
>
> Have a look at gis_ds_view.geometry_within_radius().
>
> One 'feature' I've noticed about this method: if you are looking for a
> point object, then you can set the radius to 0. However, it doesn't
> always pick up chains; I've found that increasing the radius slightly to
> 0.001 fixes this problem.
>
> If you are using a plugin to allow the user to input the coordinates,
> then you can also use it to highlight the geometry. If you need an
> example, there's one in the help documentation under:
>
> Application Development -> Using the Application Framework Architecture
> -> 5.4 Highlighting geometry
>
> For the tooltip, dependent on your needs I would either a) put a change
> selector on the plugin, or b) select the rwo so that you get it for free
> at the bottom of the map window.
>
> Cheers,
> Chris
>
> --- In sw-gis@yahoogroups.com <mailto:sw-gis%40yahoogroups.com> ,
> "vic.valdon_2006" <vic.valdon_2006@> wrote:
> >
> > Hi Group,
> >
> > I need to get an RWO based from a given coordinate x,y
> > after getting an rwo, display the name in tooltip then highlight the
> rwo
> >
> > I'll appreciate any idea on this.
> >
> > TIA!
> >
>

#20199 From: "vic.valdon_2006" <vic.valdon_2006@...>
Date: Fri Nov 20, 2009 4:37 pm
Subject: Re: Need to get an RWO based from a coordinate x,y
vic.valdon_2006
Offline Offline
Send Email Send Email
 
Hi Guys,

Thanks for this helpful tip. I'll give it a shot.

Many Thanks!

Vic

--- In sw-gis@yahoogroups.com, "cwellfair" <chris.wellfair@...> wrote:
>
>
>
> Hi Bruce,
>
> geometry_mixin.analysis_tolerance seems to be set to 1 by default. I've
changed this to values ranging from 0 (which actually sets it to 0.001) to
1000000, and have never seen a difference with this method. However, I can
increase the radius by a very small amount, and all of a sudden geomtry is
found:
>
> MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0, :chain )
> _loop
>  write ( i )
> _endloop
> $
>
> MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0.000000001, :chain
)
> _loop
>  write ( i )
> _endloop
> $
> chain:(gis_id(5698373,917968750,548185470))
> chain:(gis_id(5698373,917968750,578817781))
>
> As mentioned, this doesn't seem to be a problem for points:
>
> MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0, :point )
> _loop
>  write ( i )
> _endloop
> $
> point:(gis_id(5729747,417843697,2506442))
>
>
> In the instance above I have grabbed the coordinate from a point object that
is snapped and topologically connected to the chains, and the chains return
.straight? = True.
>
> I've never spotted any issue when setting up a 'regular' spatial scan, and so
always assumed that it was an issue with this method. I may even have raised a
call with the helpdesk in the dim and distant past, but as I had a work around
it never bothered me that much.
>
> Cheers,
> Chris
>
> --- In sw-gis@yahoogroups.com, "Bruce Morehouse" <BruceM@> wrote:
> >
> > If you are not getting expected results from spatial scans, look at the
> > value of the shared variable
> >
> >             geometry_mixin.analysis_tolerance
> >
> >
> >
> > Additionally, in rare cases, if there has been some low-level
> > manipulation of a geometry without giving it a new spatial_id, spatial
> > scans may find/not find it correctly.
> >
> >
> >
> > Another interesting feature is when a linear geometry is not .straight?,
> > then its bounding box can be weird sometimes (ie, control points quite
> > distant from the "line"), leading to non-intuitive results from spatial
> > scans.
> >
> >
> >
> > Bruce Morehouse,
> >
> > InMaps
> >
> >
> >
> >
> >
> > ________________________________
> >
> > From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf
> > Of cwellfair
> > Sent: Friday, November 20, 2009 9:02 AM
> > To: sw-gis@yahoogroups.com
> > Subject: [sw-gis] Re: Need to get an RWO based from a coordinate x,y
> >
> >
> >
> >
> >
> > Have a look at gis_ds_view.geometry_within_radius().
> >
> > One 'feature' I've noticed about this method: if you are looking for a
> > point object, then you can set the radius to 0. However, it doesn't
> > always pick up chains; I've found that increasing the radius slightly to
> > 0.001 fixes this problem.
> >
> > If you are using a plugin to allow the user to input the coordinates,
> > then you can also use it to highlight the geometry. If you need an
> > example, there's one in the help documentation under:
> >
> > Application Development -> Using the Application Framework Architecture
> > -> 5.4 Highlighting geometry
> >
> > For the tooltip, dependent on your needs I would either a) put a change
> > selector on the plugin, or b) select the rwo so that you get it for free
> > at the bottom of the map window.
> >
> > Cheers,
> > Chris
> >
> > --- In sw-gis@yahoogroups.com <mailto:sw-gis%40yahoogroups.com> ,
> > "vic.valdon_2006" <vic.valdon_2006@> wrote:
> > >
> > > Hi Group,
> > >
> > > I need to get an RWO based from a given coordinate x,y
> > > after getting an rwo, display the name in tooltip then highlight the
> > rwo
> > >
> > > I'll appreciate any idea on this.
> > >
> > > TIA!
> > >
> >
>

#20200 From: "Bruce Morehouse" <BruceM@...>
Date: Fri Nov 20, 2009 8:29 pm
Subject: RE: Re: Need to get an RWO based from a coordinate x,y
BruceM@...
Send Email Send Email
 

My experience with tolerance has been a bit different.  I first noticed it with unexpected results from calls to

a_geom.spatial_relation_with( another_geom ) and spatial predicates on collections

 

By playing with the tolerance (usually setting it to zero, or near zero, as you noted) the expected results were achieved.  I would then set it back after the method call because it changed the behavior of other core methods.  It was rare that it made a difference (a few times in 10s of thousands of comparisons), but, in those cases, setting the tolerance to zero did the trick.

 

Finding those problematic cases is nigh impossible because the method to use is the method broken.  I first noted them, though they are extremely rare, because the incorrect value resulted in visually glaring errors.  There are some registered Smallworld bugs still rolling around out there with respect to these, rare but repeatable, cases.

 

Bruce

 


From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf Of cwellfair
Sent: Friday, November 20, 2009 9:37 AM
To: sw-gis@yahoogroups.com
Subject: [sw-gis] Re: Need to get an RWO based from a coordinate x,y

 

 



Hi Bruce,

geometry_mixin.analysis_tolerance seems to be set to 1 by default. I've changed this to values ranging from 0 (which actually sets it to 0.001) to 1000000, and have never seen a difference with this method. However, I can increase the radius by a very small amount, and all of a sudden geomtry is found:

MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0, :chain )
_loop
write ( i )
_endloop
$

MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0.000000001, :chain )
_loop
write ( i )
_endloop
$
chain:(gis_id(5698373,917968750,548185470))
chain:(gis_id(5698373,917968750,578817781))

As mentioned, this doesn't seem to be a problem for points:

MagikSF> _for i _over v.geometry_within_radius ( my_coord, 0, :point )
_loop
write ( i )
_endloop
$
point:(gis_id(5729747,417843697,2506442))

In the instance above I have grabbed the coordinate from a point object that is snapped and topologically connected to the chains, and the chains return .straight? = True.

I've never spotted any issue when setting up a 'regular' spatial scan, and so always assumed that it was an issue with this method. I may even have raised a call with the helpdesk in the dim and distant past, but as I had a work around it never bothered me that much.

Cheers,
Chris

--- In sw-gis@yahoogroups.com, "Bruce Morehouse" <BruceM@...> wrote:
>
> If you are not getting expected results from spatial scans, look at the
> value of the shared variable
>
> geometry_mixin.analysis_tolerance
>
>
>
> Additionally, in rare cases, if there has been some low-level
> manipulation of a geometry without giving it a new spatial_id, spatial
> scans may find/not find it correctly.
>
>
>
> Another interesting feature is when a linear geometry is not .straight?,
> then its bounding box can be weird sometimes (ie, control points quite
> distant from the "line"), leading to non-intuitive results from spatial
> scans.
>
>
>
> Bruce Morehouse,
>
> InMaps
>
>
>
>
>
> ________________________________
>
> From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf
> Of cwellfair
> Sent: Friday, November 20, 2009 9:02 AM
> To: sw-gis@yahoogroups.com
> Subject: [sw-gis] Re: Need to get an RWO based from a coordinate x,y
>
>
>
>
>
> Have a look at gis_ds_view.geometry_within_radius().
>
> One 'feature' I've noticed about this method: if you are looking for a
> point object, then you can set the radius to 0. However, it doesn't
> always pick up chains; I've found that increasing the radius slightly to
> 0.001 fixes this problem.
>
> If you are using a plugin to allow the user to input the coordinates,
> then you can also use it to highlight the geometry. If you need an
> example, there's one in the help documentation under:
>
> Application Development -> Using the Application Framework Architecture
> -> 5.4 Highlighting geometry
>
> For the tooltip, dependent on your needs I would either a) put a change
> selector on the plugin, or b) select the rwo so that you get it for free
> at the bottom of the map window.
>
> Cheers,
> Chris
>
> --- In sw-gis@yahoogroups.com <mailto:sw-gis%40yahoogroups.com> ,
> "vic.valdon_2006" <vic.valdon_2006@> wrote:
> >
> > Hi Group,
> >
> > I need to get an RWO based from a given coordinate x,y
> > after getting an rwo, display the name in tooltip then highlight the
> rwo
> >
> > I'll appreciate any idea on this.
> >
> > TIA!
> >
>


#20201 From: "bryanjkdelossantos" <bryanjkdelossantos@...>
Date: Mon Nov 23, 2009 11:20 pm
Subject: Network Follower
bryanjkdelos...
Offline Offline
Send Email Send Email
 
Hi to all!

Im having problems with network follower. I dont get any results by using
shortest path.

nf.shortest_path(a_pseudo_point,node)

What could be the problem?


Biggs

#20202 From: Olivier Gagnon <mcnolii@...>
Date: Tue Nov 24, 2009 12:23 am
Subject: RE: Network Follower
olystersw
Offline Offline
Send Email Send Email
 
Biggs,
 
I did a lot of work with the network_follower and I encoutered this problem a few times ... 
 
First, you need two nodes to perform a shortest_path query.
 
Try :
 
nf.shortest_path(node,a_pseudo_point.node)
 
If you still get no results, try doing the trace in reverse :
 
nf.shortest_path(a_pseudo_point.node,node)
 

 

To: sw-gis@yahoogroups.com
From: bryanjkdelossantos@...
Date: Mon, 23 Nov 2009 23:20:52 +0000
Subject: [sw-gis] Network Follower

 
Hi to all!

Im having problems with network follower. I dont get any results by using shortest path.

nf.shortest_path(a_pseudo_point,node)

What could be the problem?

Biggs




Get a great deal on Windows 7 and see how it works the way you want. Check out the offers on Windows 7now.

#20203 From: "zeo143" <zeo143@...>
Date: Tue Nov 24, 2009 7:05 am
Subject: Command Line arguments - read args and adding new parameter
zeo143
Offline Offline
Send Email Send Email
 
Hi all

I need to add a new paramter/variable to the startup command line.
eg:
  [%HOME%] sw_magik_win32 -Mextdir $TEMP -image ${SMALLWORLD_GIS}/images/swaf.msf
-cli "-run"

I then need to read the command line and determine if the new paramter "run" is
in the startup command

Thanks in advance

#20204 From: "maam Gazeta.pl" <maam@...>
Date: Tue Nov 24, 2009 9:29 am
Subject: Re: Command Line arguments - read args and adding new parameter
marcin.malicki
Offline Offline
Send Email Send Email
 
Would You please describe more?
What is your purpose?

2009/11/24 zeo143 <zeo143@...>
 

Hi all

I need to add a new paramter/variable to the startup command line.
eg:
[%HOME%] sw_magik_win32 -Mextdir $TEMP -image ${SMALLWORLD_GIS}/images/swaf.msf -cli "-run"

I then need to read the command line and determine if the new paramter "run" is in the startup command

Thanks in advance




--

pozdrawiam,
Marcin Malicki
tel. +48 600 41 30 20

#20205 From: Zain Ahmed <zeo143@...>
Date: Tue Nov 24, 2009 10:17 am
Subject: Re: Command Line arguments - read args and adding new parameter
zeo143
Offline Offline
Send Email Send Email
 
i want to run a specific startup proc only if this certain arg is in the startup command.
 
I managed to figure it out though
i added the new arg to the command line and loop
through system.args.elements() to see if its it that simple_vector

On Tue, Nov 24, 2009 at 11:29 AM, maam Gazeta.pl <maam@...> wrote:
 

Would You please describe more?
What is your purpose?

2009/11/24 zeo143 <zeo143@...>

 

Hi all

I need to add a new paramter/variable to the startup command line.
eg:
[%HOME%] sw_magik_win32 -Mextdir $TEMP -image ${SMALLWORLD_GIS}/images/swaf.msf -cli "-run"

I then need to read the command line and determine if the new paramter "run" is in the startup command

Thanks in advance




--

pozdrawiam,
Marcin Malicki
tel. +48 600 41 30 20



#20206 From: Paul <paulmare@...>
Date: Tue Nov 24, 2009 11:51 am
Subject: Re: Command Line arguments - read args and adding new parameter
paul_man12003
Offline Offline
Send Email Send Email
 
hello

try system.args

On Tue, Nov 24, 2009 at 9:05 AM, zeo143 <zeo143@...> wrote:
 

Hi all

I need to add a new paramter/variable to the startup command line.
eg:
[%HOME%] sw_magik_win32 -Mextdir $TEMP -image ${SMALLWORLD_GIS}/images/swaf.msf -cli "-run"

I then need to read the command line and determine if the new paramter "run" is in the startup command

Thanks in advance



#20207 From: "mahmood" <mhussain1986@...>
Date: Tue Nov 24, 2009 1:56 pm
Subject: Automated Conduit Adapter placement- Reg
mhussain1986
Offline Offline
Send Email Send Email
 
Hi,

I am working on PNI. My requirement involves placing a Conduit Adapter inside a
structure (UUB) and then connecting two conduits through code. I have been able
to place the conduit adapter inside the UUB, but i am not able to retrieve the
correct method for connecting the two conduits.
I dont have the source code for the methods.

Can someone guide me on the appropriate methods for connecting the conduit
adapter?

Thank you,

Regards,

M. Hussain

#20208 From: "Chiddu" <chidduchiddu@...>
Date: Wed Nov 25, 2009 4:25 am
Subject: smallworld Commit & system Licences
chidduchiddu
Offline Offline
Send Email Send Email
 
Is it the right group to post this question?
I'm new to Smallworld.
Please help me understanding smallworld Commit & system Licences, How they are
different from Core licence, and also Smallwolrd View and read licences.

Where I will get the information about Smallworld licences and Licence costs.

Thanks,
Chiddu

#20209 From: "bryanjkdelossantos" <bryanjkdelossantos@...>
Date: Wed Nov 25, 2009 4:23 pm
Subject: Cost methods
bryanjkdelos...
Offline Offline
Send Email Send Email
 
Hi to all,

Im working right now on a pilot project. I have created some road objects. I
have associated some "cost of travel"(Logical) based on going from one point to
another. I want to perform a shortest path trace from one end to another. but
instead of using the length as a basis, i want to use the logical field I
created.

Ive already heard of the "cost" factor for tracing. The thing is Im having
problems understanding it. Can you guys help me out?

Biggs

#20210 From: "Arter, Tom" <tarter@...>
Date: Wed Nov 25, 2009 4:38 pm
Subject: RE: smallworld Commit & system Licences
arter57
Offline Offline
Send Email Send Email
 
For pricing and product details you must contact GE, however here is my
understanding for how it works in non-technical terms:

When you buy Smallworld you will get a license file with a number of component
licenses but when it comes down to making a purchase you basically have the
option to buy as follows:

Read - This is the core Smallworld product (aka Core Spatial Technology 'CST')
but readonly
Commit - This is the core product but adds commit
System - This is the core product plus commit and system functions such as case
tool

Smallworld View is a separate product. We have a copy of it but have never found
a place where it fit better than core.

There are also additional products that can be added like the Oracle connector,
GE's internet server & SAP interface.

Tom Arter

Tacoma Power - T&D Planning

253-502-8509

-----Original Message-----
From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf Of Chiddu
Sent: Tuesday, November 24, 2009 8:26 PM
To: sw-gis@yahoogroups.com
Subject: [sw-gis] smallworld Commit & system Licences

Is it the right group to post this question?
I'm new to Smallworld.
Please help me understanding smallworld Commit & system Licences, How they are
different from Core licence, and also Smallwolrd View and read licences.

Where I will get the information about Smallworld licences and Licence costs.

Thanks,
Chiddu




------------------------------------

Yahoo! Groups Links

#20211 From: "Chiddu" <chidduchiddu@...>
Date: Thu Nov 26, 2009 12:32 pm
Subject: Re: smallworld Commit & system Licences
chidduchiddu
Offline Offline
Send Email Send Email
 
Thanks Tom.

Regards
Chiddu



--- In sw-gis@yahoogroups.com, "Arter, Tom" <tarter@...> wrote:
>
> For pricing and product details you must contact GE, however here is my
understanding for how it works in non-technical terms:
>
> When you buy Smallworld you will get a license file with a number of component
licenses but when it comes down to making a purchase you basically have the
option to buy as follows:
>
> Read - This is the core Smallworld product (aka Core Spatial Technology 'CST')
but readonly
> Commit - This is the core product but adds commit
> System - This is the core product plus commit and system functions such as
case tool
>
> Smallworld View is a separate product. We have a copy of it but have never
found a place where it fit better than core.
>
> There are also additional products that can be added like the Oracle
connector, GE's internet server & SAP interface.
>
> Tom Arter
>
> Tacoma Power - T&D Planning
>
> 253-502-8509
>
> -----Original Message-----
> From: sw-gis@yahoogroups.com [mailto:sw-gis@yahoogroups.com] On Behalf Of
Chiddu
> Sent: Tuesday, November 24, 2009 8:26 PM
> To: sw-gis@yahoogroups.com
> Subject: [sw-gis] smallworld Commit & system Licences
>
> Is it the right group to post this question?
> I'm new to Smallworld.
> Please help me understanding smallworld Commit & system Licences, How they are
> different from Core licence, and also Smallwolrd View and read licences.
>
> Where I will get the information about Smallworld licences and Licence costs.
>
> Thanks,
> Chiddu
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>

Messages 20172 - 20211 of 20211   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help