[gdal-dev] GSoC 2014 Weekly Report 13 : GDAL PostGIS Raster driver

2014-08-18 Thread Varun Saraf
Hi, Below is my thirteenth weekly report. *What did I do this week?* - There was a issue with some variables which were getting overwritten somewhere between method calls. The destructor for the PostGISDataset class was being called before PostGISRasterRasterBand::IWriteBlock(). We mad

[gdal-dev] GSoC 2014 Weekly Report 12 : GDAL PostGIS Raster driver

2014-08-11 Thread Varun Saraf
Hi, Below is my twelfth weekly report. *What did I do this week?* - The basic version (only inserts, no update) of the driver with write capabilities is almost good to go. - There is a minor issue with some variables which are getting overwritten somewhere between method calls. Need

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-08 Thread Jorge Arevalo
Hello, On Fri, Aug 8, 2014 at 10:40 AM, Even Rouault wrote: > Le vendredi 08 août 2014 10:26:27, Jorge Arevalo a écrit : > > On Thu, Aug 7, 2014 at 10:28 PM, Even Rouault < > even.roua...@spatialys.com> > > > > wrote: > > > Le jeudi 07 août 2014 22:26:07, Varun Saraf a écrit : > > > > Hello, >

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-08 Thread Even Rouault
Le vendredi 08 août 2014 10:26:27, Jorge Arevalo a écrit : > On Thu, Aug 7, 2014 at 10:28 PM, Even Rouault > > wrote: > > Le jeudi 07 août 2014 22:26:07, Varun Saraf a écrit : > > > Hello, > > > > > > Thanks. I will use that. > > > > > > When the PostGISRasterDataset::SetProjection method retur

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-08 Thread Jorge Arevalo
On Thu, Aug 7, 2014 at 10:28 PM, Even Rouault wrote: > Le jeudi 07 août 2014 22:26:07, Varun Saraf a écrit : > > Hello, > > > > Thanks. I will use that. > > > > When the PostGISRasterDataset::SetProjection method returns, a > segmentation > > fault is being shown. The methods I have made changes

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-07 Thread Even Rouault
Le jeudi 07 août 2014 22:26:07, Varun Saraf a écrit : > Hello, > > Thanks. I will use that. > > When the PostGISRasterDataset::SetProjection method returns, a segmentation > fault is being shown. The methods I have made changes to IWriteBlock, > IRasterIO are not being called. What is the followi

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-07 Thread Varun Saraf
Hello, Thanks. I will use that. When the PostGISRasterDataset::SetProjection method returns, a segmentation fault is being shown. The methods I have made changes to IWriteBlock, IRasterIO are not being called. What is the following flow of methods that are called? What could be the issue? Regard

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-07 Thread Even Rouault
Le jeudi 07 août 2014 21:26:31, Varun Saraf a écrit : > http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/postgisraster/postgisra > sterdataset.cpp#L3024 I suggested you to look at OGRPGDataSource::FetchSRSId() ( http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/pg/ogrpgdatasource.

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-07 Thread Varun Saraf
Hello, When I execute the following query [1], the return value is NULL as there is no exact match. What query should I use, instead of this one. [1] http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/postgisraster/postgisrasterdataset.cpp#L3024 Regards, Varun Saraf On Fri, Aug 8, 2014 at 12:5

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-07 Thread Even Rouault
Le jeudi 07 août 2014 21:11:13, Varun Saraf a écrit : > Hello, > > After Create() exists, SetProjection is called. For my given input, the > variable pszProjectionRef has a value : > PROJCS["WGS 84 / UTM zone 44N",GEOGCS["WGS > 84",DATUM["WGS_1984",SPHEROID["WGS > 84",6378137,298.257223563,AUTHORI

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-07 Thread Varun Saraf
Hello, After Create() exists, SetProjection is called. For my given input, the variable pszProjectionRef has a value : PROJCS["WGS 84 / UTM zone 44N",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0],U

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Even Rouault
Le lundi 04 août 2014 22:53:03, Varun Saraf a écrit : > Hello, > > Commenting poDriver->pfnCreateCopy doesn't seem to work. It is still > calling the CreateCopy() method. Check twice... How could GDAL call PostgisRasterDataset::CreateCopy() is nothing points to it ? > I will try doing the testi

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Varun Saraf
Hello, Commenting poDriver->pfnCreateCopy doesn't seem to work. It is still calling the CreateCopy() method. I will try doing the testing with a script and get back to you. Regards, Varun Saraf On Tue, Aug 5, 2014 at 2:12 AM, Even Rouault wrote: > Le lundi 04 août 2014 22:38:20, Varun Saraf a

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Even Rouault
Le lundi 04 août 2014 22:38:20, Varun Saraf a écrit : > Hello, > > Thank you for this information. I will explicitly call Create() using a > script. Is the IWriteBlock method to be tested in a similar manner? Note > that pData buffer is passed to this method as an argument, which I will > have to

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Varun Saraf
Hello, Thank you for this information. I will explicitly call Create() using a script. Is the IWriteBlock method to be tested in a similar manner? Note that pData buffer is passed to this method as an argument, which I will have to generate and pass to it. Any suggestions how I should generate thi

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Even Rouault
Le lundi 04 août 2014 21:38:36, Varun Saraf a écrit : > Hello, > > Yes, the code on the github repository is the latest state. I was trying > the following input queries : > > (1) Assuming that my Create() will be called. > gdal_translate --debug ON -of PostGISRaster ~/GSoC/ap_clip5x5.tif > PG:"

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Varun Saraf
Hello, Yes, the code on the github repository is the latest state. I was trying the following input queries : (1) Assuming that my Create() will be called. gdal_translate --debug ON -of PostGISRaster ~/GSoC/ap_clip5x5.tif PG:"host=localhost port=5432 user=postgres password=postgres dbname=test12

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Even Rouault
Le lundi 04 août 2014 14:39:52, Varun Saraf a écrit : > Hi, > > Below is my eleventh weekly report. > > *What did I do this week?* > >- There are some issues with the calling of different methods. My method >PostGISRasterDataset::Create() is not being called. Tried to resolve > that. V

[gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-04 Thread Varun Saraf
Hi, Below is my eleventh weekly report. *What did I do this week?* - There are some issues with the calling of different methods. My method PostGISRasterDataset::Create() is not being called. Tried to resolve that. - Fixed some small bugs and removed unnecessary variables that were

[gdal-dev] GSoC 2014 Weekly Report 10 : GDAL PostGIS Raster driver

2014-07-27 Thread Varun Saraf
Hi, Below is my tenth weekly report. *What did I do this week?* - - Inserted an empty raster in the table via PostGISRasterDataset::Create(). - On subsequent PostGISRasterRasterBand::IRasterIO calls, the default implementation of GDALRasterBand::IRasterIO is called which in turn

[gdal-dev] GSoC 2014 Weekly Report 9 : GDAL PostGIS Raster driver

2014-07-21 Thread Varun Saraf
Hi, Below is my ninth weekly report. *What did I do this week?* - Implemented the Create() method which creates/appends a table. - I had planned to handle the layer creation/configuration options in the next week. Instead, I implemented them this week and plan on doing the overviews

[gdal-dev] GSoC 2014 Weekly Report 8 : GDAL PostGIS Raster driver

2014-07-13 Thread Varun Saraf
Hi, Below is my eighth weekly report. *What did I do this week?* - Implemented calls from IRasterIO to the methods which are writing the query. *What do I plan on doing next week?* - Processing of raster(s) and querying/updating the tiles already inserted with new band data. -

[gdal-dev] GSoC 2014 Weekly Report 7 : GDAL PostGIS Raster driver

2014-07-07 Thread Varun Saraf
Hi, Below is my seventh weekly report and link to the revised project timeline. *What did I do this week?* - Implemented calls from IRasterIO to the methods which are writing the query. - I have decided to work on the overviews later on when the rest of the code cycle is working fin

[gdal-dev] GSoC 2014 Weekly Report 6 : GDAL PostGIS Raster driver

2014-06-30 Thread Varun Saraf
Hi, Sorry for the delay in submitting my weekly report. Below is my sixth weekly report. *What did I do this week?* - Implemented calls from IRasterIO to the methods which are writing the query. - Worked on the method for creating overviews and writing them to table. *What do I plan on

[gdal-dev] GSoC 2014 Weekly Report 5 : GDAL PostGIS Raster driver

2014-06-21 Thread Varun Saraf
Hi, Below is my fifth weekly report: *What did I do this week?* - Made some modifications to the already written code. - Worked on the method for creating overviews and writing them to table. *What do I plan on doing next week?* - - Modify IRaterIO method to be able to call differe

[gdal-dev] GSoC 2014 Weekly Report 4 : GDAL PostGIS Raster driver

2014-06-13 Thread Varun Saraf
Hi, Below is my fourth weekly report: *What did I do this week?* - Implemented the following methods which create the query : DropTable, CreateTable, CopyFrom, CreateIndex, AnalyzeTable, VacuumTable, AddRasterConstraints. *What do I plan on doing next week?* - Continue to write met

[gdal-dev] GSoC 2014 Weekly Report 3 : Implement write support for GDAL PostGIS Raster driver for GDAL

2014-06-06 Thread Varun Saraf
Hi, Below is my third weekly report: *What did I do this week?* - Modified the PostGISRasterRasterBand::IRasterIO method, enabling it to process the buffer(pData) containing the raster data for write mode(GF_Write). After the datatype conversion it is ready to be written to the query

[gdal-dev] GSoC 2014 Weekly Report 2 : Implement write support for GDAL PostGIS Raster driver for GDAL

2014-05-31 Thread Varun Saraf
Hi, Below is my second weekly report: *What did I do this week?* - Learnt more about the different sets of API in GDAL : Create(), CreateCopy() and IRasterIO(). - Tried to map different variables/functions in raster2pgsql to the ones in GDAL PostGISRaster driver. *What do I plan on

[gdal-dev] GSoC 2014 Weekly Report 1 : Implement write support for GDAL PostGIS Raster driver for GDAL

2014-05-23 Thread Varun Saraf
Hi, Below is my first weekly report: *What did I do this week?* - Tried to understand and familiarize myself with the I/O system in GDAL. - Learnt more about the different sets of API in GDAL : Create(), CreateCopy() and IRasterIO(). *What do I plan on doing next week?* - Learn mor

Re: [gdal-dev] GSoC 2014

2014-02-18 Thread Михаил Гусев
Thanks everyone for the responding and for some interesting ideas. I will try to think what I can do with them. 2014-02-17 18:56 GMT+04:00 Even Rouault : > Also of potential interest : > - Virtual Network, a module of Spatialite : > https://www.gaia-gis.it/spatialite-2.3.0/spatialite-network-2.3

Re: [gdal-dev] GSoC 2014

2014-02-17 Thread Even Rouault
Also of potential interest : - Virtual Network, a module of Spatialite : https://www.gaia-gis.it/spatialite-2.3.0/spatialite-network-2.3.0.html - GraphServer : https://github.com/graphserver/graphserver/tree/master - OpenTripPlanner : http://opentripplanner.com/ > Mikhail, > > This is a very inte

Re: [gdal-dev] GSoC 2014

2014-02-17 Thread Stephen Woodbridge
Mikhail, This is a very interesting idea. You might want to add specific support pgRouting which already supports building graphs, creating routing topology and solving various graph problem using postgis for geometry and tables for building and linking the topology. You might also want to

Re: [gdal-dev] GSoC 2014

2014-02-17 Thread Dmitriy Baryshnikov
Hi Mikhai, Great! Nice to see such interesting to GSoC this year. Best regards, Dmitry 17.02.2014 14:13, ?? ? ?: Hello everyone. I am a last year student at Moscow Power Engineering Institute, Russia. For GSoC 2014 I would like to work on networking capabilities in GDAL/OGR

[gdal-dev] GSoC 2014

2014-02-17 Thread Михаил Гусев
Hello everyone. I am a last year student at Moscow Power Engineering Institute, Russia. For GSoC 2014 I would like to work on networking capabilities in GDAL/OGR. *Overall idea* I would like to try to implement a universal network model. The universality of the model would reflect not only in t