Re: VS: [mapserver-users] Mapserver search performance

2011-05-04 Thread Varun saraf
Hi Andreas, I have looked and looked but could not find how to use ogr2ogr to do the operation I am interested in. Could you point me in the right direction here as to how can ogr2ogr be used to add new fields to an existing dbf file from another dbf file. The external dbf file from which I need

Re: VS: [mapserver-users] Mapserver search performance

2011-05-03 Thread Varun saraf
Hi, Thanks a lot Andreas. That JOIN was the culprit as you rightly suggested. Once I removed the join, the performance increased exponentially. The 5 minute cgi run now took under 5 seconds which is simply amazing. I just need one more help. Is there a DBF editor out there that can be used to

Re: VS: [mapserver-users] Mapserver search performance

2011-05-03 Thread Varun saraf
On Tue, May 3, 2011 at 4:42 PM, Mr. Puneet Kishor punk.k...@gmail.com wrote: On May 3, 2011, at 3:36 PM, Varun saraf wrote: Hi Puneet, Thanks a lot for the prompt reply. I tried using Excel 2007 and was not able to re-save the dbf file after editing. Also, I am having DBF files with about

Re: VS: [mapserver-users] Mapserver search performance

2011-04-14 Thread Varun saraf
32.474433 -99.758005 32.450679 -99.726591 32.447637 -99.727621 32.474723 Any help in this regard is greatly appreciated. Let me know if you need any more information. Thanks, Varun On Mon, Apr 11, 2011 at 3:06 PM, Varun saraf vsaraf@gmail.com wrote: Thanks a lot for the quick reply. I

[mapserver-users] Mapserver search performance

2011-04-11 Thread Varun saraf
Hello Everyone, I have programmed a GIS application using Mapserver, Google maps and Tilecache. The functionality of this GIS application is to extract the data (from the dbf file) for all features (Points) within a randomly drawn user shape and doing some statistical operation on that data. I

Re: VS: [mapserver-users] Mapserver search performance

2011-04-11 Thread Varun saraf
the speed of disk access and memory cache access and not the effect of having spatial index. By adding DEBUG 5 for your layer you don't need stopwatch but you'll get timings into ms_errorfile. -Jukka Rahkonen- Varun saraf wrote: Hello Everyone, I have programmed a GIS application using

[mapserver-users] Boundary overlay shift

2010-12-13 Thread Varun saraf
Hello, I have been using Mapserver with Tilecache and Google maps to display polygon boundary overlays for some time now. However, the users complain that the overlay is not accurate if they zoom in to the map (zoom level 14 onwards). Is this a problem with the projection scheme being used? I

[mapserver-users] Google Maps Tile overlay shift

2010-11-30 Thread Varun saraf
Hi, For some time now, I have been using Mapserver with Tilecache and Google maps to display census tract overlays to users. However, the users complain that the overlay is not accurate if they zoom into the map (say level 13 onwards). Is this a problem with the projection scheme being used? I

[mapserver-users] Custom Draw Shape by User

2010-04-05 Thread Varun saraf
Hi, I am using mapserver as tile layer (USA county boundaries) on google maps. I have been given a requirement where a user, can go to a specific zoom level on the maps and draw a custom shape (mostly a poygon Using GPolygon) on google maps. I then need to provide the user with an average data of

[mapserver-users] Class level Transparency/Opacity

2009-08-19 Thread Varun saraf
Hello, Is it possible to set a transparency rate for the CLASS level Color? Below is my mapfile. I am using this layer on google maps in tile mode. When I do so, the base map is getting completely overlapped by the colored polygons. I need a level of transparency so that the base map's roads and

[mapserver-users] Class level Transparency/Opacity

2009-08-19 Thread Varun saraf
Hello, Is it possible to set a transparency rate for the CLASS level Color? Below is my mapfile. I am using this layer on google maps in tile mode. When I do so, the base map is getting completely overlapped by the colored polygons. I need a level of transparency so that the base map's roads and

Re: [mapserver-users] Precache

2009-06-19 Thread Varun saraf
Hi Roger, I am trying to get my mapserver and tilecache work together but its somehow not working. I am using the same projection as you in all my layers and the mapfile. (This works when I call my mapserver directly from google and hence the projection is right). Here is my mapfile (Only things

Re: [mapserver-users] Precache

2009-06-19 Thread Varun saraf
Hello, I have got this (tilecache with mapserver on google maps) working finally after a lot of problems but I now really need to know about how to do a pre-cache of all the tiles from mapserver. I am running tilecache 2.10 on Windows with mapserver ms4w from maptools.org. I tried running

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Varun saraf
or MapScript, do an attribute query and return whatever you'd need. Steve On 5/29/2009 at 9:32 AM, in message 6db14d250905290732pb01747wce200eddfe73d...@mail.gmail.com, Varun saraf vsaraf@gmail.com wrote: I am using mapserver 5.0 with google maps and the data source is the US Census tracts

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Varun saraf
6db14d250906021017kb56f49ak36b4d0e4be417...@mail.gmail.com, Varun saraf vsaraf@gmail.com wrote: Center of the geometry works perfect. I need to get access to any point inside the polygon feature. I believe I can use an itemQuery on mapserver to query the attribute but how does mapserver return the center point? Do I need

Re: [mapserver-users] Finding the centroid given the feature

2009-06-02 Thread Varun saraf
I had my mapfile extent changed and it worked Perfect. Thanks a lot Steve. It was a great help! On Tue, Jun 2, 2009 at 4:16 PM, Varun saraf vsaraf@gmail.com wrote: Thanks a lot Steve. I am able to use the itemquery to fetch the other attributes correctly but somehow, the center of polygon

Re: [mapserver-users] Finding the centroid given the feature

2009-05-29 Thread Varun saraf
6db14d250905280801q3660a6a7ycbcd5f5a238c5...@mail.gmail.com, Varun saraf vsaraf@gmail.com wrote: Hi, I know mapserver uses a point-in-polygon method to find a feature given a set of co-ordinates, but can it do the same thing reversed? For example. Each polygon I draw has a number associated

[mapserver-users] Finding the centroid given the feature

2009-05-28 Thread Varun saraf
Hi, I know mapserver uses a point-in-polygon method to find a feature given a set of co-ordinates, but can it do the same thing reversed? For example. Each polygon I draw has a number associated with it which is in a dbf file with the same name as the shp file that mapserver uses to draw the

Re: [mapserver-users] Re: Dynamic data loading using Google maps andMapserver

2009-05-07 Thread Varun saraf
:30 PM, Varun saraf vsaraf@gmail.com wrote: Hi Steve, If I provide Mapserver with a point x,y in WGS84 projection (from google maps) as a query, can mapserver give me the enclosing polygon information (using point-in-polygon method or something else)? If yes, how? I have already drawn

Re: [mapserver-users] Re: Dynamic data loading using Google maps andMapserver

2009-05-07 Thread Varun saraf
: Something's backwards, you're mapxy is 38.87795, -77.098617 but your extents are neg,pos,neg,pos? Also is your data in lat/lon? Steve On 5/7/2009 at 12:27 PM, in message 6db14d250905071027j7ff0aac8j30edeb7f8c938...@mail.gmail.com, Varun saraf vsaraf@gmail.com wrote: Hi All, I am

Re: [mapserver-users] Re: Dynamic data loading using Google maps andMapserver

2009-05-04 Thread Varun saraf
probably be easiest. Steve Varun saraf vsaraf@gmail.com 05/02/09 1:34 PM Hi, Thanks a lot Jim and Steve. These are great examples but I am dividing each state of USA into about 1300 polygons and I need a way to find which polygon is selected by the user. I tried building Gpolygons

Re: [mapserver-users] Re: Dynamic data loading using Google maps andMapserver

2009-05-02 Thread Varun saraf
are used to present the information. Steve Varun saraf vsaraf@gmail.com 05/01/09 11:54 AM Hi, I just had a look at ImageMap Template on Output generation...Can this be used on google maps to get information pooped up on a mouseover or mouseclick in tile mode? If not, what is it that I

[mapserver-users] Dynamic data loading using Google maps and Mapserver

2009-04-30 Thread Varun saraf
Hi, I have successfully drawn layers on of google maps as base using mapserver. However, I am trying to figure out how to get data dynamically displayed on the web page when a user clicks on a certain area. For example, I have divided the entire state of virginia into many sectors (using a