Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

Does anyone know how to write contour using java language ?

 
motress zlting
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Report post to moderator
Does anyone know how to write contour to show wifi signal strength using java language ?
 
Rob Spoor
Sheriff
Pie
Posts: 20608
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please Use One Thread Per Question. You already have asked this here.
 
Rob Spoor
Sheriff
Pie
Posts: 20608
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 49783
69
  • Mark post as helpful
  • send pies
  • Report post to moderator
Not a beginning question. Moving thread.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
f.png
[Thumbnail for f.png]
contour
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?
 
motress zlting
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Bartender
Posts: 1306
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Report post to moderator
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/
 
Campbell Ritchie
Sheriff
Pie
Posts: 49783
69
  • Mark post as helpful
  • send pies
  • Report post to moderator
I think only two of those are cross-posts, and have closed them. Thank you for noticing.
 
salvin francis
Bartender
Posts: 1306
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
@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
Pie
Posts: 15438
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49783
69
  • Mark post as helpful
  • send pies
  • Report post to moderator
Re-opening to thank Salvin Francis for noticing; I thought I had closed enough threads, but was obviously mistaken.
 
    Bookmark Topic Watch Topic
  • New Topic