Network.addNode (arg1,arg2,arg3) is there a bug in Spatial Java API ?
Hi
when I try to add a Node on a Link to the Network - I'm really confused. I have a LinearLineString {0 0 10 0). When I try to add a Node on the position (2,0) my first new Link have the right coordinates (0,0,2,0) but the second new link have the coordinates (2,0,8,0) when I expected (2,0,10,0)?
maybe somebody have any idea?
Thanks Jens
//new SDONetwork
Network net = NetworkFactory.createSDONetwork("myNetwork", 0, false, 0,
2);
Node start = NetworkFactory.createSDONode(1, "start", 0, 0);
Node end = NetworkFactory.createSDONode(2, "end", 10, 0);
// LinkGeometry x=0 y=0 x=10 y=0
JGeometry linkGeom = JGeometry.createLinearLineString(new double[] { 0,0,10, 0 }, 2, 0);
try {
net.addNode(start);
net.addNode(end);
net.addLink(NetworkFactory.createSDOLink(1, "firstLink", start,end, 1, linkGeom));
//add new SDONode to Link
Node n = net.addNode(net.getLink(1), 0.2, false);
//all new Links on Node
for (int i = 0; i < net.getNode(n.getID()).getIncidentLinks().length; i++) {
for (int j = 0; j < net.getNode(n.getID()).getIncidentLinks()
.getGeometry().getOrdinatesArray().length; j++) {
System.out.println(net.getNode(n.getID())
.getIncidentLinks()[i].getGeometry()
.getOrdinatesArray()[j]);
System.out.println("----");
} catch (NetworkDataException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Hi,
This has been verified as a bug in 10203.
You can track this bug in Oracle bug database.
The bug number is 6070333.
Regards,
-Jack
Similar Messages
-
Is there any Documentation about MDM4J (Java API) ?
Hello to all,
I was wondering... Is there any possibility to get documentation about the classes in the MDM4J.jar ?
We can not use the other Java Api, and we need to understand this one.
Thanks in advance,
Mariano.-Dee Bishnu wrote:
You're looking for documentation in addition to the javadoc included with MDM4J, right?.-
Exactly, but, I don't have the javadoc that are included with MDM4J. Are the javadocs always shipped with the MDM4J.jar?
RDNPrasad wrote:
Hi Mariano,
all the documentation is available via the MDM documentation center on SAP Service Marketplace:
http://service.sap.com/installMDM
Yes, but in that adress you only see the last documentation, and I want an old documentation that isn't found there.
Nico Razlow wrote:
hier is the link to the Java API SP3 (mdm4j):
https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700007403222005E
Thanks !! That PDF was really helpful !!!
Sudheendra Puth wrote:
To work on java api using MDM4J use the below link on javadoc
http://help.sap.com/javadocs/MDM/SP06P2/index.html
Kindly award points if it was helpful
That adress is the documentation for the "New Java API", not the MDM4J.
I'm going to put the question as answered because the PDF that Nico provided is like a javadoc. If anyone has any more information, please contact me privately.
Thanks to all for the Answers !!!
Mariano.- -
Has anyone used the Entity Manager findEntities or findChildEntities method. I am trying to find out what each of the input parameters represent.
There is no documentation for EntityManager in the OIM API documentation.
Thanks in advanceThank you very much for that and the quick response.
I am hoping I can fill in the description for these parameters. I got the description from the oracle.iam.identity.usermgmt.api.UserManager.Search() function, so they more or less they should match the description for the entity manager.findentities() parameters.
The only thing missing here would be the EntityType which can be "User" this is to retrieve a user entity. or you can do orchestration.getTarget().getType() if you have the orchestration object
Parameters:
criteria - The search criteria based on which entries will be retrieved from the backend. The SearchCriteria Operators supported are AND, OR, NOT, GREATER_THAN, GREATER_EQUAL, LESS_THAN, LESS_EQUAL, EQUAL and NOT_EQUAL. For additional comparisons like contains the SearchCriteria Operator will be EQUAL with value to be searched will be '*<value>*'
retAttrs - The list of attributes which are to be returned for each user.
There are four configuration parameters. STARTROW, ENDROW, SORTEDBY and SORTORDER.
The STARTROW and ENDROW search configuration parameters indicates which subset of the complete search result is to be fetched.
The SORTEDBY search configuration parameter indicates the attribute on which search result is to be sorted.
The SORTORDER search configuration parameter indicates the order of sorting. There are two possible values for this parameter. To sort the result in ascending order use SortOrder.ASCENDING and to sort the result in descending order use SortOrder.DESCENDING. This parameter is optional and is set to SortOrder.ASCENDING by default.
Returns:
the list of users which matched the search criteria. This list is filtered based on the attribute and entity permissions of the logged-in User. -
Is there way get download offline java API
Hello Folks ,
I am new to Java Programming please let me where can I download jdk, j2sdk API to work offline. I am looking for a HTML file which have three windows.
Thank you
Msmk_511 wrote:
Hello Folks ,
I am new to Java Programming please let me where can I download jdk, j2sdk API to work offline. I am looking for a HTML file which have three windows.
Thank you
MWhat? I couldn't make sense of this at all!
Do you want the JDK? Or the documentation?
Look for everything here: http://java.sun.com/javase/downloads/index.jsp
People on the forum help others voluntarily, it's not their job.
Help them help you.
Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
(Yes I know it's on JavaRanch but I think it applies everywhere)
---------------------------------------------------------------- -
I have to keep turning on an off the wi-fi connection to connect to my network after system shutdown with mountain lion, I did not have to do this with 10.6.8 before I upgraded, is there a bug fix in the works?
Many have posted this fix:
Go to System Preferences > Energy Saver > Computer Sleep ... set to anything greater than the 15 min. default setting. -
Programs that require a network connection won't work because there is no virtual IP address available for this session. Per application IP virtualization is enabled.
There are in fact available IP address's within the dhcp scope. Before I dig to deep into root cause.. Could the problem be RDS CAL licensing running out, or isn't that not a symptom of my error message?Hi,
Thank you for posting in Windows Server Forum.
As per my research, there is no any issue related to RDS CAL licensing. Prior to the issue which you are facing, there are some basic setting which need to configure.
Application Compatibility – Turn on Remote Desktop IP virtualization
Some applications require a unique IP address, which is by default logically not the case if the application is running on RD Session Host. To solve this issue, Remote Desktop IP Virtualization is introduced. With this setting you enable the IP virtualization
feature. When enabling this setting you need to specify if the virtual IP is provided per session or per program. When using per program you need to define the executable to which an IP address should be configured. Desktop IP virtualization also needs the
configuration of the next setting.
Application Compatibility – Select the network adapter to be used for Remote Desktop IP Virtualization
When you need to use Remote Desktop IP virtualization configuring this setting is mandatory. You need to specify the IP address of the Network Interface Card which should be used for this feature. Besides the IP address you need also to specify the network
mask using the slash notation, for example 192.168.77.201/24.
Application Compatibility – Do not use Remote Desktop Session Host server IP address when virtual IP address is not available
More information:
Microsoft RDS Policies explained (Part 2)
http://www.virtualizationadmin.com/articles-tutorials/vdi-articles/microsoft-hyper-v/microsoft-rds-policies-explained-part2.html
Configuring Remote Desktop IP Virtualization II
http://blogs.msdn.com/b/rds/archive/2009/07/15/configuring-remote-desktop-ip-virtualization-ii.aspx
Hope it helps!
Thanks.
Dharmesh Solanki -
Trusted Network Zone Configuration Tool is not there!
I've installed Solaris 10 x86 11/06 and Trusted Extensions, and when I open SMC and try to navigate to the "Trusted Network Zone Configuration Tool" that is supposed to be in the "Computers And Networks" section, it's just not there. Trusted Extensions are installed, I get the special Trusted dialogs during login, but this tool is missing. I've verified that all related packages were installed with Trusted Extensions. This is a stand alone machine (for development). Does anyone have suggestions as to why this tool is missing and how to get it working?
Found the problem, I feel stupid, I was opening the non-TSOL toolbox in SMC.
-
suddenly my iphone 4 stopped connecting to the 3g network although the 3g symbol is there on the left of the screen did this happen with anyone ??
Try turning on Airplane mode for 30 seconds (Settings>Airplane Mode>ON), then off. See if you can connect to 3G now.
-
I am a newby at this beast. While most of it is self ex.the FaceTime problem of not signing in and asking to check network connection is driving me crazy. there seem to be as many solutions as I have years. There must be an easy way to check where the problem is??????
That is a legitimate Mozilla newsletter. As it says in the email:
You're receiving this email because you subscribed to receive email newsletters and information from Mozilla. If you do not wish to receive these newsletters, please click the Unsubscribe link below.
Unsubscribe https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/
Modify your preferences https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/ " -
Is there a goto statement in java??
is ther a goto statement in java
if yes how is it
and if no wat we use instead of it , if we want to redirect to control flow??
thanking you
rose!!!But he did not say it with three exclamation
points!!!
yes, I'm trying to restrict my usage of the exclamation mark as part of my attempts to be more even tempered (which aren't succeeding that well, but I may just need more practice). -
When my iPod Touch is connected to my Mac, and I select Update to update the software of my iPod Touch, I get a message saying that my iTunes software is current, but it will not update my iPod Touch software. Is there a bug in the iPod program?
If you have the first gen ipod touch as your information shows, then you would have to buy a software update:
Purchasing iOS 3.1 Software Update for iPod touch (1st generation) -
My JPEGS are no longer being copied over to Finder. Only a random fraction are copied. It use to work perfect. I can move them 4 or 5 at a time, but it is very time consuming. Is there a bug in the updated versions of iPhoto?
OK - here is what I've done in the past. As I want to be able to save my photos on a DVD that can be read by both a PC and a Mac, I am burning them in Finder. I start by downloading into IPhoto. I'll flag and edit the ones I want to print or post to the web. After that I want to take all the keepers and move them from IPhoto to various files I create in the document section of Finder. I've done it both ways in the past, copy and paste or just drag over, all the files would transfer over. Now there may be dozens of pictures that do not move over - very random, in one case there were only 6 photos and the 3 vertical ones did not copy over.
I'm wondering if this is a software issue or if there is just too much data being moved around. FYI there are 2 Nikon cameras I use and the files from both do this.
Thanks -
After updating to IOS 8.0.2 on my IPAD2, I cannot print to my Samsung Wireless Printer. It worked great with last IOS version. Is there a bug fix?
Try this:
1. Turn the router, iPad and printer off
2. Turn on the router and then wait 30 seconds
3. Turn on printer and then wait 30 seconds
4. Turn on your iPad and test print. -
In Numbers 09 there was 'rearrange' which worked perfectly. New Numbers 13 has Sort by column but I can't get it to work. is there a bug?
Numbers '09 has a Reorganize panel and the top section of that panel is for sorting. Numbers 3 also has the ability to sort and it works. However, Numbers '09 and Numbers 3 sort differently.
In Numbers '09, if you had a formula such as =Table 1::A1 and if a sort of Table 1 moved cell A1 to A20, the formula would change to =Table 1::A20. In Numbers 3, the formula would stay =Table1::A1. -
Hi. Whenever I go through one of the menus in firefox, the links remain highlighted after my mouse passes over them. Is there a bug fix for this or is there something wrong with my computer? I am running windows 7 if that helps. This problem started ever since I upgraded to version 5.
I have downloaded and used the iPod Reset Utility, alot that did. My current state is iTunes on my XP Home with SP3 sees the iPod. When I drag a song to the iPod, the Sync message appears for about 5 minutes, then the Apple symbol appears. But no song has been transferred to the iPod.
I tried to tap into the XP iTunes database from my iBook, but although it acted like it would add the XP library to the iBook library, it did not. I've got 19 Gs of songs on the XP. If I have to load each song from its original CD to get it on my iBook I'm going to start looking for some other app or device so that I can listen to my music.
It is a shame, in the old days, Apple techs use to look at what was going on, now it appears they don't, so they never know they have problems until Apple's profits fall.
Maybe you are looking for
-
ITunes 11.0.2.26 will not start in Windows 7
I keep getting the following error. The item referred to by this shortcut cannot be accessed. You may not have the appropriate permissions. If I go to the folder and click on the exe I get the same thing (without the shortcut part) I am the only
-
Itunes won't sync music to my iPhone5!!
I just updated to OSX Mavericks and I have the latest update for iTunes, but when i sync my phone to my macbook pro and try to put my music on it, nothing happens. When it gets to part 4 or 5 (whichever one is the part where the music get's sync'd) i
-
Many many many BusinessEventRetriableException errors in logs
Hi I am infuriated by the never ending error message below in my OC4J logs. They happen almost constantly and I'm now on OC4J log number 669 which is ridiculous. The error is: oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: F
-
Install Oracle BI 11g 11.1.1.5.0 Configuring OCM failed
Hi all, I'm installing Oracle BI 11g on Window7 32 bit. It's almost done. But I have an error at Configuration Progess / Configuring OCM failed. The message is: "Error encountered in deploying OCM instance. Exit code =1" I check the install Log: [201
-
I downloaded Piezo to my iMac about a month ago. Now I can't download it to my laptop even though I have authorized the MacBook Pro in iTunes. When I open the App Store, the Piezo app indicates that I have to pay. How do I download Piezo to my laptop