aspose file tools*
The moose likes Java in General and the fly likes Does anyone know how to write contour using java language ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Does anyone know how to write contour using java language ?

motress zlting
Ranch Hand

Joined: Jan 10, 2010
Posts: 55
Does anyone know how to write contour to show wifi signal strength using java language ?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

Please Use One Thread Per Question. You already have asked this here.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

Rob Prime wrote:Please Use One Thread Per Question. You already have asked this here.


Edit: since your other thread seems to have disappeared this one is open again.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38398
    
  23
Not a beginning question. Moving thread.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Assuming you mean the graphical problem of creating smooth curves from point data, a search for "2d curve fitting java" found plenty of resources.

If thats not what you mean, please elaborate.

Bill
motress zlting
Ranch Hand

Joined: Jan 10, 2010
Posts: 55
the contour i wish to have is showing the signal strength with its coverage area.
different colour for different signal strength.
The contour will be the same as picture shown.



[Thumbnail for f.png]

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I have seen similar patterns, but I think they are based on complex calculations from the broadcast antenna(s) positions combined with topographic information rather that an array of point measurements of actual signal.

That is certainly not a simple problem like the 2d curve fitting.

Alas, the signal strength contours show my house can't reliably get 4G wireless, verified in my case by some guy with a signal strength meter.

Bill
motress zlting
Ranch Hand

Joined: Jan 10, 2010
Posts: 55
I'm new in java programming,hence can you suggest any idea how to do this ?
I'm totally lost !
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

What are you starting with? Do you have data, or some way to take measurements? Do you want to just plot data you already have, or do you want to collect data? Do you work for a cell phone company, or some other web site? Or is this a student project, or a personal project?

Maybe you're just saying "I want to make maps of cell tower signal strength", and that's all you know about the problem?


[Jess in Action][AskingGoodQuestions]
motress zlting
Ranch Hand

Joined: Jan 10, 2010
Posts: 55
Actually the title for my project is related to wireless ap detection. I'm a student and
my group of 2 is trying developing a project.
It is something like display the access point in a list and show those beacons
on a floor map(example 4th floor of a building).
Hence, on that map,it will display those detected access point and its signal coverage area.
Using different colour to show different signal.
Honestly, what is level of difficulty of this project ? (hard ? moderate ?)
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

I would say pretty hard, especially so in Java, which has no programming interfaces of its own for dealing with wireless signal detection. To be perfectly honest, drawing the contour plots would be the easiest part. Did you have any kind of plan for collecting the geospatial data? Maybe with a GPS unit connected to a laptop, you could walk all around the building collecting data for signal strength from access points. Civilian GPS isn't terribly accurate, but it's better than nothing. Alternatively, you could enter your location into a map by clicking on a spot, and then explicitly measure signal strength at that point.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

motress zlting wrote:I'm new in java programming,hence can you suggest any idea how to do this ?
I'm totally lost !


I really suggest against doing a program like this. Start with simple examples and then move up to complicated stuff.

My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
I think Ernest is on the right track (as usual) - concentrate on a way of gathering the signal strength vs location data efficiently.

Once it is in a usable form you should be able to find 2D and 3D curve fitting tools on the net.

Bill
motress zlting
Ranch Hand

Joined: Jan 10, 2010
Posts: 55
Ernest Friedman-Hill wrote:I would say pretty hard, especially so in Java, which has no programming interfaces of its own for dealing with wireless signal detection. To be perfectly honest, drawing the contour plots would be the easiest part. Did you have any kind of plan for collecting the geospatial data? Maybe with a GPS unit connected to a laptop, you could walk all around the building collecting data for signal strength from access points. Civilian GPS isn't terribly accurate, but it's better than nothing. Alternatively, you could enter your location into a map by clicking on a spot, and then explicitly measure signal strength at that point.


Actually i'm trying using placelab in this project. Placelab is a open source which include wifi detection in java language.
But i'm not sure the contour is included or not.
If dont mind, kindly help me take a look on http://www.placelab.org/
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

cross post:
http://www.coderanch.com/t/491417/Java-General/java/plot-this-contour
http://www.coderanch.com/t/491331/Java-General/java/Please-help-me-image-as
http://www.coderanch.com/t/490774/Java-General/java/Draw-curve-Java-if-only
http://www.coderanch.com/t/490896/Java-General/java/have-picture-as-background-have

Admins Please note, there are multiple cross questions possibly based on the same issue...
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38398
    
  23
I think only two of those are cross-posts, and have closed them. Thank you for noticing.
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

@Campbell Ritchie

This post is same as http://www.coderanch.com/t/491417/Java-General/java/plot-this-contour

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

Indeed. Please do not post the same question multiple times (in the same forum or in different forums).

I'm locking this one. Continue in your other topic.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38398
    
  23
Re-opening to thank Salvin Francis for noticing; I thought I had closed enough threads, but was obviously mistaken.
 
 
subject: Does anyone know how to write contour using java language ?