2025/10/04 15:02:56 Loading environment variables... 2025/10/04 15:02:56 Environment variables loaded successfully 2025/10/04 15:02:56 -------------------------------- 2025/10/04 15:02:56 nithishUrl: https://prod-api.sreeragu.com/api/v2/MobileSurvey/getById 2025/10/04 15:02:56 a0Url: https://a0-fmb.mypropertyqr.in/rurals/ 2025/10/04 15:02:56 sreeraguUrl: https://prod-api.sreeragu.com/api/v2/MobileSurvey/updat 2025/10/04 15:02:56 s3Url: https://mypropertyproduction.s3.amazonaws.com/fmb_refixing/ 2025/10/04 15:02:56 inputDir: /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/inputs/ 2025/10/04 15:02:56 outputDir: /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/outputs/ 2025/10/04 15:02:56 s3jsonDir: dev/inputs/ 2025/10/04 15:02:56 s3pdfDir: dev/outputs/ 2025/10/04 15:02:56 s3satPdfDir: dev/satPdf/ 2025/10/04 15:02:56 surveyUrl: https://survey.mypropertyqr.in/village/ 2025/10/04 15:02:56 -------------------------------- Server started at :5001 [2025-10-04 15:03:06] POST /extractdata from [::1] 2025/10/04 15:03:06 -------------------------------- 2025/10/04 15:03:06 Starting Extractdata for id: 0197fe87-19d4-7a38-881d-412d96f48ea9, memberId: 0197fe76-2eb9-7398-a85f-0f8e2ad32b18 2025/10/04 15:03:06 Getting Nithish data for id: 0197fe87-19d4-7a38-881d-412d96f48ea9, memberId: 0197fe76-2eb9-7398-a85f-0f8e2ad32b18 2025/10/04 15:03:06 Making POST request to: https://prod-api.sreeragu.com/api/v2/MobileSurvey/getById 2025/10/04 15:03:06 Request body: map[id:0197fe87-19d4-7a38-881d-412d96f48ea9 memberId:0197fe76-2eb9-7398-a85f-0f8e2ad32b18] 2025/10/04 15:03:07 Response status: 200 2025/10/04 15:03:07 POST request completed successfully 2025/10/04 15:03:07 Nithish data retrieved successfully: map[district:SALEM latitude:11.543782746446706 longitude:78.00008587539196 noOfSubdivision:2 surveyStatus:Ready to Survey survey_no:114 taluk:Sankari village:Gudalur] 2025/10/04 15:03:07 Retrieved details: map[district:SALEM latitude:11.543782746446706 longitude:78.00008587539196 noOfSubdivision:2 surveyStatus:Ready to Survey survey_no:114 taluk:Sankari village:Gudalur] 2025/10/04 15:03:07 Starting concurrent Raja data retrieval 2025/10/04 15:03:07 PdfName: 0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf 2025/10/04 15:03:07 JsonName: 0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.json 2025/10/04 15:03:07 Local filename: /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/inputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf 2025/10/04 15:03:07 S3 filename: dev/outputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf 2025/10/04 15:03:07 Local JSON name: /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/outputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.json 2025/10/04 15:03:07 S3 JSON name: dev/inputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.json jsonURL dev/inputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.json 2025/10/04 15:03:08 JSON exists in S3: false 2025/10/04 15:03:08 Getting Raja data for lat: 11.543782746446706, lon: 78.00008587539196 2025/10/04 15:03:08 Making GET request to: https://survey.mypropertyqr.in/village/?lat=11.543782746446706&lon=78.00008587539196 2025/10/04 15:03:09 PDF exists in S3: false 2025/10/04 15:03:09 PDF not in S3, fetching from A0 2025/10/04 15:03:09 Getting A0 data from: https://a0-fmb.mypropertyqr.in/rurals/SALEM/Sankari/Gudalur/114 2025/10/04 15:03:09 Making GET request to: https://a0-fmb.mypropertyqr.in/rurals/SALEM/Sankari/Gudalur/114 2025/10/04 15:03:11 GET request completed successfully 2025/10/04 15:03:11 A0 data retrieved successfully 2025/10/04 15:03:11 A0 data retrieved successfully, updating status 2025/10/04 15:03:11 Making POST request to: https://prod-api.sreeragu.com/api/v2/MobileSurvey/updat 2025/10/04 15:03:11 Request body: map[downloadDocument:https://mypropertyproduction.s3.amazonaws.com/fmb_refixing/dev/outputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf id:0197fe87-19d4-7a38-881d-412d96f48ea9 memberId:0197fe76-2eb9-7398-a85f-0f8e2ad32b18 remarks:completed pdf extraction surveyStatus:Processing surveyStatusAlert:There is a slight delay in generating the map for the location you selected.We will prepare it and provide it on this same page within 24 hours.Kindly wait for a short while. நீங்கள் தேர்வு செய்த இடத்தின் வரைபடத்தை உருவாக்கும் பணியில் சிறிது தாமதம் ஏற்பட்டுள்ளது. அதை 24 மணி நேரத்திற்குள் தயார் செய்து இதே பக்கத்தில் வழங்குகிறோம்.தயவுசெய்து சிறிது நேரம் காத்திருக்கவும். surveyStatusCode:1] 2025/10/04 15:03:11 Response status: 404 2025/10/04 15:03:11 Received non-200 response: 404 2025/10/04 15:03:11 Downloading PDF from: https://mypropertyproduction.s3.us-east-1.amazonaws.com/658446956-merged_fmb_map.pdf 2025/10/04 15:03:11 Downloading file from https://mypropertyproduction.s3.us-east-1.amazonaws.com/658446956-merged_fmb_map.pdf to /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/inputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf 2025/10/04 15:03:11 File does not exist, creating new file: /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/inputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf 2025/10/04 15:03:13 File downloaded successfully: /home/anand/MPQR/mypropertyqr-fmb-refixing-v2/inputs/0197fe76-2eb9-7398-a85f-0f8e2ad32b18-0197fe87-19d4-7a38-881d-412d96f48ea9-SALEMSankariGudalur114.pdf 2025/10/04 15:03:13 Uploading PDF to S3 mimeType application/pdf 2025/10/04 15:03:14 GET request completed successfully 2025/10/04 15:03:14 Raja data retrieved successfully 2025/10/04 15:03:15 PDF uploaded to S3 successfully 2025/10/04 15:03:15 Starting PDF processing with Pycess 2025/10/04 15:03:24 PDF extraction completed, unmarshaling response 2025/10/04 15:03:24 Processing extracted data 2025/10/04 15:03:24 Processing coordinates and labels 2025/10/04 15:03:24 Getting subdivision data 2025/10/04 15:03:24 Processing subdivision results 2025/10/04 15:03:24 Building coordinates and lines data 2025/10/04 15:03:24 Marshaling final data structure 2025/10/04 15:03:24 Running shrink_or_expand_points 2025/10/04 15:03:24 Waiting for Raja data 2025/10/04 15:03:24 Raja data received successfully 2025/10/04 15:03:24 Running rotate operation signal: terminated