Click here to get back home

Clipping in World domain

 HomeNewsGroups | Search | About
 comp.infosystems.gis    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Clipping in World domain Japjeet 02-27-2007
Get Chitika Premium
Posted by Japjeet on February 27, 2007, 12:46 pm
Please log in for more thread options
I am building a Gis for road navigation When diplaying gthe poylines
To clip According to me there are two ways;
Which i have come about:

1:) to clip the polylines in the world domain ie when they are still
defined in terms of longitudes and latitudes.


2:) To clip the polylines in the page domain that is after converting
the polylines into the page cordinates(a Picture box)


I think the second way is better and efficient in my case as it will
be more efficient because unessary points need not to be converted
and
as the i m going to see an area of about 60 * 60 meters usually
(ususally the case with road navigation)


1:) Can anyone tell me if im right or wrong??


2:)How to clip in the world domain (im stuck how to get the
intersection of the polyline with the clip rectangle


Posted by ujaval@gmail.com on February 28, 2007, 3:58 am
Please log in for more thread options
> I am building a Gis for road navigation When diplaying gthe poylines
> To clip According to me there are two ways;
> Which i have come about:
>
> 1:) to clip the polylines in the world domain ie when they are still
> defined in terms of longitudes and latitudes.
>
> 2:) To clip the polylines in the page domain that is after converting
> the polylines into the page cordinates(a Picture box)
>
> I think the second way is better and efficient in my case as it will
> be more efficient because unessary points need not to be converted
> and
> as the i m going to see an area of about 60 * 60 meters usually
> (ususally the case with road navigation)
>
> 1:) Can anyone tell me if im right or wrong??
>
> 2:)How to clip in the world domain (im stuck how to get the
> intersection of the polyline with the clip rectangle

i assume you are talking about clipping the file in real time for
display in road navigation. To answer your question, I think clipping
the vectors in real time and displaying them would be very inefficient
and result in bad user experience. You may create predefined tiles of
60m x 60m and display them when required. You can use OGR library for
doing the clipping offline. ( www.gdal.org )


Posted by Japjeet on March 3, 2007, 12:25 am
Please log in for more thread options
>
>
>
>
>
> > I am building a Gis for road navigation When diplaying gthe poylines
> > To clip According to me there are two ways;
> > Which i have come about:
>
> > 1:) to clip the polylines in the world domain ie when they are still
> > defined in terms of longitudes and latitudes.
>
> > 2:) To clip the polylines in the page domain that is after converting
> > the polylines into the page cordinates(a Picture box)
>
> > I think the second way is better and efficient in my case as it will
> > be more efficient because unessary points need not to be converted
> > and
> > as the i m going to see an area of about 60 * 60 meters usually
> > (ususally the case with road navigation)
>
> > 1:) Can anyone tell me if im right or wrong??
>
> > 2:)How to clip in the world domain (im stuck how to get the
> > intersection of the polyline with the clip rectangle
>
> i assume you are talking about clipping the file in real time for
> display in road navigation. To answer your question, I think clipping
> the vectors in real time and displaying them would be very inefficient
> and result in bad user experience. You may create predefined tiles of
> 60m x 60m and display them when required. You can use OGR library for
> doing the clipping offline. (www.gdal.org)- Hide quoted text -
>
> - Show quoted text -

I needed to give a zoom facility what about that if i break it into
slides 60 * 60 m


Posted by ujaval@gmail.com on March 3, 2007, 4:16 am
Please log in for more thread options
>
>
>
>
> > > I am building a Gis for road navigation When diplaying gthe poylines
> > > To clip According to me there are two ways;
> > > Which i have come about:
>
> > > 1:) to clip the polylines in the world domain ie when they are still
> > > defined in terms of longitudes and latitudes.
>
> > > 2:) To clip the polylines in the page domain that is after converting
> > > the polylines into the page cordinates(a Picture box)
>
> > > I think the second way is better and efficient in my case as it will
> > > be more efficient because unessary points need not to be converted
> > > and
> > > as the i m going to see an area of about 60 * 60 meters usually
> > > (ususally the case with road navigation)
>
> > > 1:) Can anyone tell me if im right or wrong??
>
> > > 2:)How to clip in the world domain (im stuck how to get the
> > > intersection of the polyline with the clip rectangle
>
> > i assume you are talking about clipping the file in real time for
> > display in road navigation. To answer your question, I think clipping
> > the vectors in real time and displaying them would be very inefficient
> > and result in bad user experience. You may create predefined tiles of
> > 60m x 60m and display them when required. You can use OGR library for
> > doing the clipping offline. (www.gdal.org)-Hide quoted text -
>
> > - Show quoted text -
>
> I needed to give a zoom facility what about that if i break it into
> slides 60 * 60 m

What program are you using to generate the image from the vector data?
If you can use Mapserver, all the zoom, tile generation, clipping
facilities are built in. If you are writing your own server, you can
decide predetermined zoom levels and generate the tiles. 30x30, 15x15
etc.

-ujaval
http://gisindia.blogspot.com


Similar ThreadsPosted
Clipping Coverages for inexperienced user March 22, 2007, 1:15 pm
Any suggestions on the best program for clipping/trimming DRG's? June 16, 2006, 10:56 pm
Public domain map... June 20, 2005, 5:03 pm
Any public domain map/boundary for the UK? August 9, 2005, 9:56 am
Clippinhg inworld domain February 27, 2007, 12:41 pm
Require Sr. GIS Engr/APM/PM (GIS TELECOM DOMAIN) March 13, 2008, 9:23 am
Time domain and simultaneously spacial data handling GIS software February 10, 2005, 2:37 pm
Looking for public domain grid references for towns in England & Wales July 20, 2005, 9:45 am
Lat/lon map of the world, (and the .e00 format). April 8, 2004, 10:23 am
CURIOUS WORLD MAPS V4.5H [5 CDs] - new ! March 27, 2004, 5:56 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap